AMApplicationBuild 492 AMApplicationVersion 2.10 AMDocumentVersion 2 actions action AMAccepts Container List Optional Types com.apple.applescript.object AMActionVersion 1.0.2 AMApplication Automator AMParameterProperties source AMProvides Container List Types com.apple.applescript.object ActionBundlePath /System/Library/Automator/Run AppleScript.action ActionName Run AppleScript ActionNameComment kbs2 ActionParameters source -- NOTE: We grab the user's configured shell and run it in "login" mode -- below to ensure that $PATH has kbs2 + kbs2-choose-pass in it. set userShell to do shell script "perl -e " & quoted form of "@x=getpwuid($<); print $x[8]" -- NOTE: We do `|| true` here to stop macOS from complaining when -- kbs2 exits with a non-zero code (e.g., due to canceled input) do shell script userShell & " -lc " & quoted form of "kbs2 choose-pass" & " || true" BundleIdentifier com.apple.Automator.RunScript CFBundleVersion 1.0.2 CanShowSelectedItemsWhenRun CanShowWhenRun Category AMCategoryUtilities Class Name RunScriptAction InputUUID 582750B1-19DD-4083-AC9D-A75DED166022 Keywords Run OutputUUID 856300A4-7F57-43F0-B376-AD0B7E811752 UUID 169B0351-5D93-48A1-96DF-935668564E5B UnlocalizedApplications Automator arguments 0 default value on run {input, parameters} (* Your script goes here *) return input end run name source required 0 type 0 uuid 0 isViewVisible location 309.000000:368.000000 nibPath /System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib isViewVisible connectors workflowMetaData applicationBundleIDsByPath applicationPaths backgroundColorName blackColor inputTypeIdentifier com.apple.Automator.nothing outputTypeIdentifier com.apple.Automator.nothing presentationMode 11 processesInput 0 serviceInputTypeIdentifier com.apple.Automator.nothing serviceOutputTypeIdentifier com.apple.Automator.nothing serviceProcessesInput 0 systemImageName NSTouchBarDocuments useAutomaticInputType 0 workflowTypeIdentifier com.apple.Automator.servicesMenu