├── .gitignore ├── AltTab Switch.app ├── Contents │ ├── Info.plist │ ├── MacOS │ │ └── applet │ ├── PkgInfo │ ├── Resources │ │ ├── applet.icns │ │ ├── applet.rsrc │ │ └── description.rtfd │ │ │ └── TXT.rtf │ └── _CodeSignature │ │ └── CodeResources └── Icon ├── BTT Settings ├── andSettings.bttpreset └── triggers.bttpreset ├── BTT-fn-MissionControlImmediately.applescript ├── BTT-runApplescriptShortcut.applescript ├── Connect Airpods.applescript ├── CornerLeftAway.applescript ├── CornerLeftTowards.applescript ├── CornerRightAway.applescript ├── CornerRightTowards.applescript ├── README.md ├── Spotlight Search.app ├── Contents │ ├── Info.plist │ ├── MacOS │ │ └── applet │ ├── PkgInfo │ ├── Resources │ │ ├── applet.icns │ │ ├── applet.rsrc │ │ └── description.rtfd │ │ │ └── TXT.rtf │ └── _CodeSignature │ │ └── CodeResources └── Icon ├── TaskSwitcher.app ├── Contents │ ├── Info.plist │ ├── MacOS │ │ └── applet │ ├── PkgInfo │ ├── Resources │ │ ├── applet.icns │ │ ├── applet.rsrc │ │ └── description.rtfd │ │ │ └── TXT.rtf │ └── _CodeSignature │ │ └── CodeResources └── Icon ├── TaskSwitcher.applescript ├── afterBTTLaunched.applescript ├── apollo-click-prev-arrow.applescript ├── autofocus-safari-history-search.applescript ├── automator workflows ├── New File Here.workflow │ └── Contents │ │ ├── Info.plist │ │ ├── QuickLook │ │ ├── Preview.png │ │ └── Thumbnail.png │ │ ├── Resources │ │ └── background.color │ │ └── document.wflow ├── New TSX File Here.workflow │ └── Contents │ │ ├── Info.plist │ │ ├── QuickLook │ │ ├── Preview.png │ │ └── Thumbnail.png │ │ ├── Resources │ │ └── background.color │ │ └── document.wflow ├── Open with Code.workflow │ └── Contents │ │ ├── Info.plist │ │ ├── QuickLook │ │ ├── Preview.png │ │ └── Thumbnail.png │ │ └── document.wflow ├── browsershortcut-example.workflow │ └── Contents │ │ ├── Info.plist │ │ ├── QuickLook │ │ └── Thumbnail.png │ │ └── document.wflow ├── open-remote.workflow │ └── Contents │ │ ├── Info.plist │ │ ├── QuickLook │ │ └── Thumbnail.png │ │ └── document.wflow └── Ω.app │ ├── Contents │ ├── Info.plist │ ├── MacOS │ │ └── Automator Application Stub │ ├── Resources │ │ ├── ApplicationStub.icns │ │ ├── Assets.car │ │ ├── ar.lproj │ │ │ └── InfoPlist.strings │ │ ├── ca.lproj │ │ │ └── InfoPlist.strings │ │ ├── cs.lproj │ │ │ └── InfoPlist.strings │ │ ├── da.lproj │ │ │ └── InfoPlist.strings │ │ ├── de.lproj │ │ │ └── InfoPlist.strings │ │ ├── el.lproj │ │ │ └── InfoPlist.strings │ │ ├── en.lproj │ │ │ └── InfoPlist.strings │ │ ├── en_AU.lproj │ │ │ └── InfoPlist.strings │ │ ├── en_GB.lproj │ │ │ └── InfoPlist.strings │ │ ├── es.lproj │ │ │ └── InfoPlist.strings │ │ ├── es_419.lproj │ │ │ └── InfoPlist.strings │ │ ├── fi.lproj │ │ │ └── InfoPlist.strings │ │ ├── fr.lproj │ │ │ └── InfoPlist.strings │ │ ├── fr_CA.lproj │ │ │ └── InfoPlist.strings │ │ ├── he.lproj │ │ │ └── InfoPlist.strings │ │ ├── hi.lproj │ │ │ └── InfoPlist.strings │ │ ├── hr.lproj │ │ │ └── InfoPlist.strings │ │ ├── hu.lproj │ │ │ └── InfoPlist.strings │ │ ├── id.lproj │ │ │ └── InfoPlist.strings │ │ ├── it.lproj │ │ │ └── InfoPlist.strings │ │ ├── ja.lproj │ │ │ └── InfoPlist.strings │ │ ├── ko.lproj │ │ │ └── InfoPlist.strings │ │ ├── ms.lproj │ │ │ └── InfoPlist.strings │ │ ├── nl.lproj │ │ │ └── InfoPlist.strings │ │ ├── no.lproj │ │ │ └── InfoPlist.strings │ │ ├── pl.lproj │ │ │ └── InfoPlist.strings │ │ ├── pt.lproj │ │ │ └── InfoPlist.strings │ │ ├── pt_PT.lproj │ │ │ └── InfoPlist.strings │ │ ├── ro.lproj │ │ │ └── InfoPlist.strings │ │ ├── ru.lproj │ │ │ └── InfoPlist.strings │ │ ├── sk.lproj │ │ │ └── InfoPlist.strings │ │ ├── sv.lproj │ │ │ └── InfoPlist.strings │ │ ├── th.lproj │ │ │ └── InfoPlist.strings │ │ ├── tr.lproj │ │ │ └── InfoPlist.strings │ │ ├── uk.lproj │ │ │ └── InfoPlist.strings │ │ ├── vi.lproj │ │ │ └── InfoPlist.strings │ │ ├── zh_CN.lproj │ │ │ └── InfoPlist.strings │ │ ├── zh_HK.lproj │ │ │ └── InfoPlist.strings │ │ └── zh_TW.lproj │ │ │ └── InfoPlist.strings │ ├── _CodeSignature │ │ └── CodeResources │ └── document.wflow │ └── Icon ├── cleanDesktop-command-opt-2.applescript ├── cleandesktop.applescript ├── click-cmd-cycle-windows.applescript ├── click-shift-file-new-window.applescript ├── close-all-permission-dialogs.applescript ├── close-window-with-cycle-if-applicable.applescript ├── cmd-e-finder-shortcut.applescript ├── cmd-m-minimize.applescript ├── cmd-shift-w-close.applescript ├── cmd-w-close.applescript ├── compile-all.sh ├── cornerBottomRightTowards.applescript ├── cornerClick.applescript ├── dblClickMainMenuBar.applescript ├── escapeKeyHook.applescript ├── firefox-cmd-shift-n.applescript ├── firefox-cmd-shift-t.applescript ├── firefox-dev-cmd-shift-n.applescript ├── firefox-dev-cmd-shift-t.applescript ├── firefox-dev-new-cmd-shift-m.applescript ├── firefox-dev-send-top-pip-to-bottom-right.applescript ├── firefox-dev-sidebar-toggle.applescript ├── firefox-dev-toggle-bookmarks-toolbar.applescript ├── firefox-new-cmd-shift-m.applescript ├── firefox-send-top-pip-to-bottom-right.applescript ├── firefox-toggle-bookmarks-toolbar.applescript ├── green-button-click.applescript ├── iTerm-new-window.applescript ├── iTerm-quad-profile.applescript ├── iTerm-trio-profile.applescript ├── karabiner-elements └── complex_modifications ├── menubarx-bookmark-cmd-d.applescript ├── menubarx-command-option-enter.applescript ├── menubarx-ctrl-opt-x.applescript ├── menubarx-new-and-focus.applescript ├── moveMouseLeftMonitor.applescript ├── moveMouseRightMonitor.applescript ├── onReleaseModifiersBTTTriggerMinimizeWindowUnderCursor.app ├── podcasts-decrease-playback-speed.applescript ├── podcasts-increase-playback-speed.applescript ├── quicktime-decrease-playback-speed.applescript ├── quicktime-increase-playback-speed.applescript ├── reclaimFocus ├── reclaimFocus.swift ├── safari-new-cmd-shift-m.applescript ├── screenhookClick.applescript ├── se2020-network-inspector.applescript ├── showAltTab.applescript ├── showAltTab2.applescript ├── threeClickSwipeDown.applescript ├── threeClickSwipeUp.applescript └── xcode-show-recent-projects.applescript /.gitignore: -------------------------------------------------------------------------------- 1 | desktop-extras-(nonsort)/ 2 | SystemFiles.OLD/ 3 | NewFileSourceFiles/ 4 | boop scripts/ 5 | iCloud Photos.app 6 | iCloud Drive.app 7 | 8 | *.scpt 9 | abc-test.applescript 10 | **/.DS_Store 11 | -------------------------------------------------------------------------------- /AltTab Switch.app/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleAllowMixedLocalizations 6 | 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | applet 11 | CFBundleIconFile 12 | applet 13 | CFBundleIdentifier 14 | com.apple.ScriptEditor.id.AltTab-Switch 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | AltTab Switch 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | 1.0 23 | CFBundleSignature 24 | aplt 25 | LSMinimumSystemVersionByArchitecture 26 | 27 | x86_64 28 | 10.6 29 | 30 | LSRequiresCarbon 31 | 32 | NSAppleEventsUsageDescription 33 | This script needs to control other applications to run. 34 | NSAppleMusicUsageDescription 35 | This script needs access to your music to run. 36 | NSCalendarsUsageDescription 37 | This script needs access to your calendars to run. 38 | NSCameraUsageDescription 39 | This script needs access to your camera to run. 40 | NSContactsUsageDescription 41 | This script needs access to your contacts to run. 42 | NSHomeKitUsageDescription 43 | This script needs access to your HomeKit Home to run. 44 | NSMicrophoneUsageDescription 45 | This script needs access to your microphone to run. 46 | NSPhotoLibraryUsageDescription 47 | This script needs access to your photos to run. 48 | NSRemindersUsageDescription 49 | This script needs access to your reminders to run. 50 | NSSiriUsageDescription 51 | This script needs access to Siri to run. 52 | NSSystemAdministrationUsageDescription 53 | This script needs access to administer this system to run. 54 | OSAAppletShowStartupScreen 55 | 56 | WindowState 57 | 58 | bundleDividerCollapsed 59 | 60 | bundlePositionOfDivider 61 | 0.0 62 | dividerCollapsed 63 | 64 | eventLogLevel 65 | 2 66 | name 67 | ScriptWindowState 68 | positionOfDivider 69 | 339 70 | savedFrame 71 | 48 162 700 678 0 0 1440 875 72 | selectedTab 73 | log 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /AltTab Switch.app/Contents/MacOS/applet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/AltTab Switch.app/Contents/MacOS/applet -------------------------------------------------------------------------------- /AltTab Switch.app/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | APPLaplt -------------------------------------------------------------------------------- /AltTab Switch.app/Contents/Resources/applet.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/AltTab Switch.app/Contents/Resources/applet.icns -------------------------------------------------------------------------------- /AltTab Switch.app/Contents/Resources/applet.rsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/AltTab Switch.app/Contents/Resources/applet.rsrc -------------------------------------------------------------------------------- /AltTab Switch.app/Contents/Resources/description.rtfd/TXT.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\cocoartf2709 2 | \cocoatextscaling0\cocoaplatform0{\fonttbl} 3 | {\colortbl;\red255\green255\blue255;} 4 | {\*\expandedcolortbl;;} 5 | } -------------------------------------------------------------------------------- /AltTab Switch.app/Contents/_CodeSignature/CodeResources: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | files 6 | 7 | Resources/Scripts/main.scpt 8 | 9 | BfZno9IF4a11vox7H1ngV9NPMSg= 10 | 11 | Resources/applet.icns 12 | 13 | sINd6lbiqHD5dL8c6u79cFvVXhw= 14 | 15 | Resources/applet.rsrc 16 | 17 | kbbwrerFfgSzNFMX/rBIk0ckNkU= 18 | 19 | Resources/description.rtfd/TXT.rtf 20 | 21 | Jvhk+4RRROsd9PAIOAXEtB8m77s= 22 | 23 | 24 | files2 25 | 26 | Resources/Scripts/main.scpt 27 | 28 | hash 29 | 30 | BfZno9IF4a11vox7H1ngV9NPMSg= 31 | 32 | hash2 33 | 34 | yxr45nWV+U/wrgc5GTXe518UMgrU/nHNopy3/axwsiI= 35 | 36 | 37 | Resources/applet.icns 38 | 39 | hash 40 | 41 | sINd6lbiqHD5dL8c6u79cFvVXhw= 42 | 43 | hash2 44 | 45 | J7weZ6vlnv9r32tS5HFcyuPXl2StdDnfepLxAixlryk= 46 | 47 | 48 | Resources/applet.rsrc 49 | 50 | hash 51 | 52 | kbbwrerFfgSzNFMX/rBIk0ckNkU= 53 | 54 | hash2 55 | 56 | TXwMwswbDqqXtKMKRIlcygbX3L4tRJ5+kECnIfY9LpM= 57 | 58 | 59 | Resources/description.rtfd/TXT.rtf 60 | 61 | hash 62 | 63 | Jvhk+4RRROsd9PAIOAXEtB8m77s= 64 | 65 | hash2 66 | 67 | aUFxFZFKw26LXDKFU40CJDk8MP8VBT7V1nMLnyBQ6Cg= 68 | 69 | 70 | 71 | rules 72 | 73 | ^Resources/ 74 | 75 | ^Resources/.*\.lproj/ 76 | 77 | optional 78 | 79 | weight 80 | 1000 81 | 82 | ^Resources/.*\.lproj/locversion.plist$ 83 | 84 | omit 85 | 86 | weight 87 | 1100 88 | 89 | ^Resources/Base\.lproj/ 90 | 91 | weight 92 | 1010 93 | 94 | ^version.plist$ 95 | 96 | 97 | rules2 98 | 99 | .*\.dSYM($|/) 100 | 101 | weight 102 | 11 103 | 104 | ^(.*/)?\.DS_Store$ 105 | 106 | omit 107 | 108 | weight 109 | 2000 110 | 111 | ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ 112 | 113 | nested 114 | 115 | weight 116 | 10 117 | 118 | ^.* 119 | 120 | ^Info\.plist$ 121 | 122 | omit 123 | 124 | weight 125 | 20 126 | 127 | ^PkgInfo$ 128 | 129 | omit 130 | 131 | weight 132 | 20 133 | 134 | ^Resources/ 135 | 136 | weight 137 | 20 138 | 139 | ^Resources/.*\.lproj/ 140 | 141 | optional 142 | 143 | weight 144 | 1000 145 | 146 | ^Resources/.*\.lproj/locversion.plist$ 147 | 148 | omit 149 | 150 | weight 151 | 1100 152 | 153 | ^Resources/Base\.lproj/ 154 | 155 | weight 156 | 1010 157 | 158 | ^[^/]+$ 159 | 160 | nested 161 | 162 | weight 163 | 10 164 | 165 | ^embedded\.provisionprofile$ 166 | 167 | weight 168 | 20 169 | 170 | ^version\.plist$ 171 | 172 | weight 173 | 20 174 | 175 | 176 | 177 | 178 | -------------------------------------------------------------------------------- /AltTab Switch.app/Icon : -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/AltTab Switch.app/Icon -------------------------------------------------------------------------------- /BTT-fn-MissionControlImmediately.applescript: -------------------------------------------------------------------------------- 1 | use framework "Foundation" 2 | 3 | # get oldLocation (ASOC - applescipt objective-c) 4 | set oldLoc to current application's NSEvent's mouseLocation() 5 | set screenSize to (current application's NSScreen's mainScreen's valueForKey:"frame") as list 6 | set H to item 2 of item 2 of screenSize 7 | set oldLoc's y to (H - (oldLoc's y)) 8 | 9 | 10 | # mouse to 0,0 11 | set cursorPoint to current application's NSMakePoint(0, 0) 12 | set runError to current application's CGDisplayMoveCursorToPoint(current application's CGMainDisplayID(), cursorPoint) 13 | 14 | # open mission control 15 | tell application "System Events" to key code 99 16 | 17 | delay 0.01 18 | 19 | # mouse to oldLocation 20 | set cursorPoint to current application's NSMakePoint(oldLoc's x, oldLoc's y) 21 | set runError to current application's CGDisplayMoveCursorToPoint(current application's CGMainDisplayID(), cursorPoint) 22 | -------------------------------------------------------------------------------- /BTT-runApplescriptShortcut.applescript: -------------------------------------------------------------------------------- 1 | tell application "System Events" 2 | tell process "BetterTouchTool" 3 | tell scroll area 3 of splitter group 1 of window 1 4 | perform action "AXPress" of button "Compile / Test" 5 | perform action "AXPress" of button "Run Script" 6 | end tell 7 | end tell 8 | keystroke "s" using {command down} 9 | end tell 10 | -------------------------------------------------------------------------------- /Connect Airpods.applescript: -------------------------------------------------------------------------------- 1 | use framework "IOBluetooth" 2 | use scripting additions 3 | 4 | set AirPodsName to "Steven's Airpods" 5 | 6 | on getFirstMatchingDevice(deviceName) 7 | repeat with device in (current application's IOBluetoothDevice's pairedDevices() as list) 8 | if (device's nameOrAddress as string) contains deviceName then return device 9 | end repeat 10 | end getFirstMatchingDevice 11 | 12 | on toggleDevice(device) 13 | if not (device's isConnected as boolean) then 14 | device's openConnection() 15 | return "Connecting " & (device's nameOrAddress as string) 16 | else 17 | device's closeConnection() 18 | return "Disconnecting " & (device's nameOrAddress as string) 19 | end if 20 | end toggleDevice 21 | 22 | return toggleDevice(getFirstMatchingDevice(AirPodsName)) 23 | -------------------------------------------------------------------------------- /CornerLeftAway.applescript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/CornerLeftAway.applescript -------------------------------------------------------------------------------- /CornerLeftTowards.applescript: -------------------------------------------------------------------------------- 1 | tell application "System Events" 2 | key code 99 3 | end tell 4 | -------------------------------------------------------------------------------- /CornerRightAway.applescript: -------------------------------------------------------------------------------- 1 | tell application "BetterTouchTool" 2 | set cornerRight to get_number_variable "cornerRight" 3 | if cornerRight is equal to 2.0 or cornerRight is equal to 1.0 or cornerRight is equal to 3.0 then return 4 | trigger_named "showDesktop" 5 | end tell 6 | -------------------------------------------------------------------------------- /CornerRightTowards.applescript: -------------------------------------------------------------------------------- 1 | tell application "BetterTouchTool" 2 | set cornerRight to get_number_variable "cornerRight" 3 | if cornerRight is equal to 3.0 then set cornerRight to 0.0 4 | if cornerRight is equal to 1.0 5 | set cornerRight to 2.0 6 | trigger_named "showDesktop" 7 | end if 8 | if cornerRight is equal to 2.0 9 | set_number_variable "cornerRight" to 3.0 10 | return 11 | end if 12 | set_number_variable "cornerRight" to 0.0 13 | trigger_named "showDesktop" 14 | end tell 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Install 2 | 3 | [Watch on YouTube](https://www.youtube.com/channel/UCBcY4PTKNWXDXTt6RsHGRjQ/videos) (video coming soon) 4 | 5 | 1. After cloning, in the "BTT Settings" folder, open "triggers.bttpreset", then replace all: 6 | 7 |      "\\/Users\\/super\\/Desktop\\/important\\/SystemFiles\\/"   --with the path you've placed the applescripts (and don't forget to add backslashes back in!) 8 | 9 | - Note: I put all my apps in /Applications/MyApps (barring apps that came with macOS and apps that can't be moved (eg: Karabiner, Lulu, etc.))     --apps won't show in BTT unless you do a replace all for "/MyApps" 10 | 11 | 2. Change APPLESCRIPTS_FOLDER in "afterBTTLaunched.applescript" to that same path (minus the blackslashes) 12 | 13 | 3. Compile all .applescript to .scpt by running   `bash ./compile-all.sh` 14 | 15 | 4. and finally, import the triggers (in "BTT Settings" folder) to BetterTouchTool in order to use the scripts 16 | 17 |   18 | 19 | # BetterTouchTool bindings 20 | 21 | ## Global Keyboard Shortcuts 22 | 23 | - Autofocus textinput of many apps (eg: app store/maps/notes etc.) (With "/" or Cmd+/) 24 | - Cmd+Shift+E (reveal in finder / open Finder path in iTerm2/terminal) 25 | - Cmd+9 = switch to last space, Cmd+8 = switch to 2nd to last, Cmd 7 = switch to 3rd last 26 | - Cmd+0 = zoom 100% 27 | - Cmd+Option+Delete = Activity Monitor 28 | - Cmd+Control+B = Connect Airpods 29 | - Cmd+Option+Control+N = HTML/Network Inspector for mobile devices (Safari) (Must rename device se2020->yourdevicename) 30 | - Cmd+Control+[ or ] = Move mouse left/right whole monitor in pixels 31 | - Cmd+Option+LeftArrow or RightArrow = move to next/previous tab 32 | - Cmd+Option+Enter = Duplicate Tab (Safari/iTerm2) 33 | 34 | ### Windows™ window management: (requires [AltTab mod](https://github.com/steventheworker/alt-tab-macos/releases/download/1.3/DockAltTab.AltTab.v6.51.0.zip)) 35 | 36 | 🟢 (green-button-click.applescript) clicking the green button will maximize the windows or restore the old window size & position like on Windows™ (w/ exceptions eg: Finder QuickLook Preview windows) 37 | 38 | The 🌕 cmd-m, 🔴 cmd-w, & cmd-shift-w scripts minimize/close tabs or windows WITHOUT cycling (just like on Windows™). 39 | 40 | 🖱️ "click-cmd-cycle-windows" & "click-shift-file-new"      --holding shift/cmd while clicking a dock icon creates a new window / cycles an apps windows 41 | 42 | **Troubleshoot**: if an apps tabs or popup windows aren't closing (unimplemented in the script), remap cmd+w/cmd+shift+w (for that specific app) on BTT to cmd+w w/ "prevent recursive triggers" checked (for default behavior). And [report it!](https://github.com/steventheworker/applescripts/issues)     --or disable BTT with [Fn + Ctrl + Opt + Cmd + D], close the window, and use the shortcut again to reenable BTT 43 | 44 |   45 | 46 |   47 | 48 | ## Trackpad Gestures 49 | 50 | - Tip tap to close window (middle, index, ring, and then pinky) 51 | - Corner click bottom left &&& 2 finger tap = right click 52 | - 5 finger swipe left/right = move to tab previous / next tab 53 | - 3 finger clickswipe up / down = Trigger (AltTab) Shortcut 1 & 2 54 | - 4 finger swipe up/down = Show/Hide (AltTab) without switching apps 55 | - pinch with thumb and fingers = (Rectangle) restore default window size/position 56 | - spread with thumb and fingers = (Rectangle) maximize window 57 | 58 | ## Miscellaneous / Caveats 59 | 60 | - always show spaces thumbnails in mission control 61 | - show desktop: (Fn+D) 62 | - Double click menu whitespace 63 | - Move mouse to Corner (right) (peak w/ delay using sceenhook) 64 | - Cmd+Shift+H = hide on some apps (VSCode/text editors) 65 | - Cmd+H = find/replace on these apps 66 | - Cmd+Shift+Q = quit on some apps (so I won't accidentally quit heavy apps) 67 | - Cmd+Q will trigger Cmd+W (Safari/Xcode/few others) 68 | - Multiple instances of VLC / Blender (line 1 (APP_PATH) in click-shift-file-new) 69 | - Alt+Drag to move window around 70 | 71 | Finder 72 | 73 | - Cmd+Opt+N = new file prompt 74 | - Cmd+Opt+T = new blank typescript file prompt 75 | - Windows navigation... Enter = Open file/app, Backspace = back arrow 76 | - Cmd+I => Cmd+Opt+I     &&     Cmd+Opt+I => Cmd+I     (prevents multiple info popups for selected items) 77 | 78 | Firefox 79 | 80 | - (global browser shortcut) firefox-new-cmd-shift-m.applescript opens new windows in 1st container 81 | - Command + T= new tab in 1st container (cmd+shift+1 = no container) 82 | - screenhook specific features are listed in its README (paraphrased below) 83 | 84 | Safari 85 | 86 | - Command+Option+Shift+M = 2nd global browser shortcut ("make" new window) 87 | 88 |   89 | 90 |   91 | 92 |   93 | 94 | ## "SteviaOS" -aka the almagamation of these files and these apps: 95 | 96 | - required: 97 | - **[BetterTouchTool](https://folivora.ai/)**     --most scripts don't rely much, if at all on BTT and can be rewritten to work with other automation apps (eg: [Karabiner Elements](https://github.com/pqrs-org/Karabiner-Elements) (for mouse & key bindings only)) 98 | - **[scriptable AltTab](https://github.com/steventheworker/alt-tab-macos/releases/)** 99 | - (global Keyboard Shortcuts) change the behavior of cmd-shift-w, cmd-w, cmd-m (cycle macOS windows like Windows™) 100 | - (BTT trackpad gestures) 4 swipe up/down    --displays AltTab (all/single app view) 101 | - (BTT trackpad gestures) 3 clickswipe up/down     --displays AltTab (all/single app view)      ... waits 250 milliseconds & triggers a switch (select 1st preview in list) 102 | - **[screenhook](https://github.com/steventheworker/screenhook)** (listen to clicks without modifers / on the corners of the screen & run applescripts when monitors are attached) 103 | - used in "cornerRightTowards" Desktop peak (BTT named triggers)     --keep Desktop Exposé showing even after "cornerRightAway" triggers 104 | - when monitor is attached: run applescript to clean/sort desktop icons 105 | - [Rectangle](https://rectangleapp.com/) (or whatever lets you map Cmd+Opt+Enter => maximize window & Cmd+Opt+Delete => restore window size)   --used in green-button-click.applescript 106 | - recommended: 107 | - [DockAltTab](https://dockalttab.netlify.app/)   /   [Dock Exposé](https://dockexpose.netlify.app/) 108 | - [safari-userscripts](https://github.com/steventheworker/safari-userscripts) 109 | 110 | ## ... and these System Settings 111 | 112 | - handled by BTT   --leaving these on messes with remapping "Mission Control Immediately" / all directions of 3 finger clickswipes 113 | 114 | - Trackpad -> More Gesture -> Mission Control Off 115 | - and disable 3 finger swiping between desktop 116 | 117 | Note: I don't use 3 finger drag, and don't yet know if it will interfere 118 | -------------------------------------------------------------------------------- /Spotlight Search.app/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleAllowMixedLocalizations 6 | 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | applet 11 | CFBundleIconFile 12 | applet 13 | CFBundleIdentifier 14 | com.apple.ScriptEditor.id.Spotlight-Search 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | Spotlight Search 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | 1.0 23 | CFBundleSignature 24 | aplt 25 | LSMinimumSystemVersionByArchitecture 26 | 27 | x86_64 28 | 10.6 29 | 30 | LSRequiresCarbon 31 | 32 | NSAppleEventsUsageDescription 33 | This script needs to control other applications to run. 34 | NSAppleMusicUsageDescription 35 | This script needs access to your music to run. 36 | NSCalendarsUsageDescription 37 | This script needs access to your calendars to run. 38 | NSCameraUsageDescription 39 | This script needs access to your camera to run. 40 | NSContactsUsageDescription 41 | This script needs access to your contacts to run. 42 | NSHomeKitUsageDescription 43 | This script needs access to your HomeKit Home to run. 44 | NSMicrophoneUsageDescription 45 | This script needs access to your microphone to run. 46 | NSPhotoLibraryUsageDescription 47 | This script needs access to your photos to run. 48 | NSRemindersUsageDescription 49 | This script needs access to your reminders to run. 50 | NSSiriUsageDescription 51 | This script needs access to Siri to run. 52 | NSSystemAdministrationUsageDescription 53 | This script needs access to administer this system to run. 54 | OSAAppletShowStartupScreen 55 | 56 | WindowState 57 | 58 | bundleDividerCollapsed 59 | 60 | bundlePositionOfDivider 61 | 0.0 62 | dividerCollapsed 63 | 64 | eventLogLevel 65 | 2 66 | name 67 | ScriptWindowState 68 | positionOfDivider 69 | 395 70 | savedFrame 71 | 50 190 700 678 0 0 1440 875 72 | selectedTab 73 | result 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /Spotlight Search.app/Contents/MacOS/applet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/Spotlight Search.app/Contents/MacOS/applet -------------------------------------------------------------------------------- /Spotlight Search.app/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | APPLaplt -------------------------------------------------------------------------------- /Spotlight Search.app/Contents/Resources/applet.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/Spotlight Search.app/Contents/Resources/applet.icns -------------------------------------------------------------------------------- /Spotlight Search.app/Contents/Resources/applet.rsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/Spotlight Search.app/Contents/Resources/applet.rsrc -------------------------------------------------------------------------------- /Spotlight Search.app/Contents/Resources/description.rtfd/TXT.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\cocoartf2709 2 | \cocoatextscaling0\cocoaplatform0{\fonttbl} 3 | {\colortbl;\red255\green255\blue255;} 4 | {\*\expandedcolortbl;;} 5 | } -------------------------------------------------------------------------------- /Spotlight Search.app/Contents/_CodeSignature/CodeResources: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | files 6 | 7 | Resources/Scripts/main.scpt 8 | 9 | ZY9S1MRYtnKVRUvVMoJpSwpPFeg= 10 | 11 | Resources/applet.icns 12 | 13 | sINd6lbiqHD5dL8c6u79cFvVXhw= 14 | 15 | Resources/applet.rsrc 16 | 17 | UJmUNeKnw+SdaewzLiA8VfLMIJg= 18 | 19 | Resources/description.rtfd/TXT.rtf 20 | 21 | Jvhk+4RRROsd9PAIOAXEtB8m77s= 22 | 23 | 24 | files2 25 | 26 | Resources/Scripts/main.scpt 27 | 28 | hash 29 | 30 | ZY9S1MRYtnKVRUvVMoJpSwpPFeg= 31 | 32 | hash2 33 | 34 | LXrrPjxNkP6PcorFx4cc838BFARv2T+e4cW8olrGL68= 35 | 36 | 37 | Resources/applet.icns 38 | 39 | hash 40 | 41 | sINd6lbiqHD5dL8c6u79cFvVXhw= 42 | 43 | hash2 44 | 45 | J7weZ6vlnv9r32tS5HFcyuPXl2StdDnfepLxAixlryk= 46 | 47 | 48 | Resources/applet.rsrc 49 | 50 | hash 51 | 52 | UJmUNeKnw+SdaewzLiA8VfLMIJg= 53 | 54 | hash2 55 | 56 | cnOOMhViDM4BEYjELvAs9lmkhpCl6vOQ/ZqOeZdCnGY= 57 | 58 | 59 | Resources/description.rtfd/TXT.rtf 60 | 61 | hash 62 | 63 | Jvhk+4RRROsd9PAIOAXEtB8m77s= 64 | 65 | hash2 66 | 67 | aUFxFZFKw26LXDKFU40CJDk8MP8VBT7V1nMLnyBQ6Cg= 68 | 69 | 70 | 71 | rules 72 | 73 | ^Resources/ 74 | 75 | ^Resources/.*\.lproj/ 76 | 77 | optional 78 | 79 | weight 80 | 1000 81 | 82 | ^Resources/.*\.lproj/locversion.plist$ 83 | 84 | omit 85 | 86 | weight 87 | 1100 88 | 89 | ^Resources/Base\.lproj/ 90 | 91 | weight 92 | 1010 93 | 94 | ^version.plist$ 95 | 96 | 97 | rules2 98 | 99 | .*\.dSYM($|/) 100 | 101 | weight 102 | 11 103 | 104 | ^(.*/)?\.DS_Store$ 105 | 106 | omit 107 | 108 | weight 109 | 2000 110 | 111 | ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ 112 | 113 | nested 114 | 115 | weight 116 | 10 117 | 118 | ^.* 119 | 120 | ^Info\.plist$ 121 | 122 | omit 123 | 124 | weight 125 | 20 126 | 127 | ^PkgInfo$ 128 | 129 | omit 130 | 131 | weight 132 | 20 133 | 134 | ^Resources/ 135 | 136 | weight 137 | 20 138 | 139 | ^Resources/.*\.lproj/ 140 | 141 | optional 142 | 143 | weight 144 | 1000 145 | 146 | ^Resources/.*\.lproj/locversion.plist$ 147 | 148 | omit 149 | 150 | weight 151 | 1100 152 | 153 | ^Resources/Base\.lproj/ 154 | 155 | weight 156 | 1010 157 | 158 | ^[^/]+$ 159 | 160 | nested 161 | 162 | weight 163 | 10 164 | 165 | ^embedded\.provisionprofile$ 166 | 167 | weight 168 | 20 169 | 170 | ^version\.plist$ 171 | 172 | weight 173 | 20 174 | 175 | 176 | 177 | 178 | -------------------------------------------------------------------------------- /Spotlight Search.app/Icon : -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/Spotlight Search.app/Icon -------------------------------------------------------------------------------- /TaskSwitcher.app/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleAllowMixedLocalizations 6 | 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | applet 11 | CFBundleIconFile 12 | applet 13 | CFBundleIdentifier 14 | com.apple.ScriptEditor.id.TaskSwitcher 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | TaskSwitcher 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | 1.0 23 | CFBundleSignature 24 | aplt 25 | LSMinimumSystemVersionByArchitecture 26 | 27 | x86_64 28 | 10.6 29 | 30 | LSRequiresCarbon 31 | 32 | NSAppleEventsUsageDescription 33 | This script needs to control other applications to run. 34 | NSAppleMusicUsageDescription 35 | This script needs access to your music to run. 36 | NSCalendarsUsageDescription 37 | This script needs access to your calendars to run. 38 | NSCameraUsageDescription 39 | This script needs access to your camera to run. 40 | NSContactsUsageDescription 41 | This script needs access to your contacts to run. 42 | NSHomeKitUsageDescription 43 | This script needs access to your HomeKit Home to run. 44 | NSMicrophoneUsageDescription 45 | This script needs access to your microphone to run. 46 | NSPhotoLibraryUsageDescription 47 | This script needs access to your photos to run. 48 | NSRemindersUsageDescription 49 | This script needs access to your reminders to run. 50 | NSSiriUsageDescription 51 | This script needs access to Siri to run. 52 | NSSystemAdministrationUsageDescription 53 | This script needs access to administer this system to run. 54 | OSAAppletShowStartupScreen 55 | 56 | WindowState 57 | 58 | bundleDividerCollapsed 59 | 60 | bundlePositionOfDivider 61 | 0.0 62 | dividerCollapsed 63 | 64 | eventLogLevel 65 | 2 66 | name 67 | ScriptWindowState 68 | positionOfDivider 69 | 395 70 | savedFrame 71 | 20 197 700 678 0 0 1440 875 72 | selectedTab 73 | description 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /TaskSwitcher.app/Contents/MacOS/applet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/TaskSwitcher.app/Contents/MacOS/applet -------------------------------------------------------------------------------- /TaskSwitcher.app/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | APPLaplt -------------------------------------------------------------------------------- /TaskSwitcher.app/Contents/Resources/applet.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/TaskSwitcher.app/Contents/Resources/applet.icns -------------------------------------------------------------------------------- /TaskSwitcher.app/Contents/Resources/applet.rsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/TaskSwitcher.app/Contents/Resources/applet.rsrc -------------------------------------------------------------------------------- /TaskSwitcher.app/Contents/Resources/description.rtfd/TXT.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\cocoartf2706 2 | \cocoatextscaling0\cocoaplatform0{\fonttbl} 3 | {\colortbl;\red255\green255\blue255;} 4 | {\*\expandedcolortbl;;} 5 | } -------------------------------------------------------------------------------- /TaskSwitcher.app/Contents/_CodeSignature/CodeResources: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | files 6 | 7 | Resources/Scripts/main.scpt 8 | 9 | WjiYN0dYaQR8aK4qhHsKhffCEXI= 10 | 11 | Resources/applet.icns 12 | 13 | sINd6lbiqHD5dL8c6u79cFvVXhw= 14 | 15 | Resources/applet.rsrc 16 | 17 | sA6Wv1Zh1TgayBZxDilU4lFhB1c= 18 | 19 | Resources/description.rtfd/TXT.rtf 20 | 21 | 8K6G+yMYssOJxEOet4LPnDO2hcI= 22 | 23 | 24 | files2 25 | 26 | Resources/Scripts/main.scpt 27 | 28 | hash 29 | 30 | WjiYN0dYaQR8aK4qhHsKhffCEXI= 31 | 32 | hash2 33 | 34 | QCmqkmlPGjhB8GTIB5kOdrRXoyqoHpzsyGq1hn2RS1g= 35 | 36 | 37 | Resources/applet.icns 38 | 39 | hash 40 | 41 | sINd6lbiqHD5dL8c6u79cFvVXhw= 42 | 43 | hash2 44 | 45 | J7weZ6vlnv9r32tS5HFcyuPXl2StdDnfepLxAixlryk= 46 | 47 | 48 | Resources/applet.rsrc 49 | 50 | hash 51 | 52 | sA6Wv1Zh1TgayBZxDilU4lFhB1c= 53 | 54 | hash2 55 | 56 | nQfAtn4DDYV6Hh0elNNVOJOvcx3VjHOz9EadaFzN7gc= 57 | 58 | 59 | Resources/description.rtfd/TXT.rtf 60 | 61 | hash 62 | 63 | 8K6G+yMYssOJxEOet4LPnDO2hcI= 64 | 65 | hash2 66 | 67 | OUX4n2jpaEXcF4fvY8R9rb0kLq7zfQhmNTYo/Ua/Vh8= 68 | 69 | 70 | 71 | rules 72 | 73 | ^Resources/ 74 | 75 | ^Resources/.*\.lproj/ 76 | 77 | optional 78 | 79 | weight 80 | 1000 81 | 82 | ^Resources/.*\.lproj/locversion.plist$ 83 | 84 | omit 85 | 86 | weight 87 | 1100 88 | 89 | ^Resources/Base\.lproj/ 90 | 91 | weight 92 | 1010 93 | 94 | ^version.plist$ 95 | 96 | 97 | rules2 98 | 99 | .*\.dSYM($|/) 100 | 101 | weight 102 | 11 103 | 104 | ^(.*/)?\.DS_Store$ 105 | 106 | omit 107 | 108 | weight 109 | 2000 110 | 111 | ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ 112 | 113 | nested 114 | 115 | weight 116 | 10 117 | 118 | ^.* 119 | 120 | ^Info\.plist$ 121 | 122 | omit 123 | 124 | weight 125 | 20 126 | 127 | ^PkgInfo$ 128 | 129 | omit 130 | 131 | weight 132 | 20 133 | 134 | ^Resources/ 135 | 136 | weight 137 | 20 138 | 139 | ^Resources/.*\.lproj/ 140 | 141 | optional 142 | 143 | weight 144 | 1000 145 | 146 | ^Resources/.*\.lproj/locversion.plist$ 147 | 148 | omit 149 | 150 | weight 151 | 1100 152 | 153 | ^Resources/Base\.lproj/ 154 | 155 | weight 156 | 1010 157 | 158 | ^[^/]+$ 159 | 160 | nested 161 | 162 | weight 163 | 10 164 | 165 | ^embedded\.provisionprofile$ 166 | 167 | weight 168 | 20 169 | 170 | ^version\.plist$ 171 | 172 | weight 173 | 20 174 | 175 | 176 | 177 | 178 | -------------------------------------------------------------------------------- /TaskSwitcher.app/Icon : -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/TaskSwitcher.app/Icon -------------------------------------------------------------------------------- /TaskSwitcher.applescript: -------------------------------------------------------------------------------- 1 | -- set Storage to do shell script "/opt/homebrew/bin/cliclick p" 2 | -- tell application "BetterTouchTool" 3 | -- set overlayState to get_number_variable "TaskSwitcherOpen" 4 | -- if overlayState is not equal to 0.0 then 5 | -- set_number_variable "TaskSwitcherOpen" to 0.0 6 | -- return 7 | -- end if 8 | -- set_number_variable "TaskSwitcherOpen" to 1.0 9 | -- end tell 10 | 11 | -- tell application "System Events" 12 | -- do shell script "/opt/homebrew/bin/cliclick m:0,0" 13 | -- key code 160 # trigger f3 14 | -- do shell script "/opt/homebrew/bin/cliclick m:" & Storage 15 | -- end tell 16 | 17 | use framework "Foundation" 18 | 19 | # get oldLocation (ASOC - applescipt objective-c) 20 | set oldLoc to current application's NSEvent's mouseLocation() 21 | set screenSize to (current application's NSScreen's mainScreen's valueForKey:"frame") as list 22 | set H to item 2 of item 2 of screenSize 23 | set oldLoc's y to (H - (oldLoc's y)) 24 | 25 | 26 | # mouse to 0,0 27 | set cursorPoint to current application's NSMakePoint(0, 0) 28 | set runError to current application's CGDisplayMoveCursorToPoint(current application's CGMainDisplayID(), cursorPoint) 29 | 30 | # open mission control 31 | tell application "System Events" to key code 99 32 | 33 | delay 0.01 34 | 35 | # mouse to oldLocation 36 | set cursorPoint to current application's NSMakePoint(oldLoc's x, oldLoc's y) 37 | set runError to current application's CGDisplayMoveCursorToPoint(current application's CGMainDisplayID(), cursorPoint) 38 | 39 | tell application "BetterTouchTool" 40 | set overlayState to get_number_variable "TaskSwitcherOpen" 41 | if overlayState is not equal to 0.0 then 42 | set_number_variable "TaskSwitcherOpen" to 0.0 43 | return 44 | end if 45 | set_number_variable "TaskSwitcherOpen" to 1.0 46 | end tell 47 | -------------------------------------------------------------------------------- /afterBTTLaunched.applescript: -------------------------------------------------------------------------------- 1 | # config 2 | set APPLESCRIPTS_FOLDER to "~/Desktop/important/SystemFiles" 3 | 4 | # set global variables 5 | tell application "BetterTouchTool" 6 | set_number_variable "steviaOS" to 1.0 # let apps (eg: DockAltTab) know you're using steventheworker's applescripts/BTT triggers 7 | set_string_variable "steviaOSSystemFiles" to APPLESCRIPTS_FOLDER 8 | set_number_variable "AltTabSwitcherOpen" to 0.0 9 | set_string_variable "ffCloseOrder" to "" # firefox-cmd-shift-t.applescript helper 10 | end tell 11 | -------------------------------------------------------------------------------- /apollo-click-prev-arrow.applescript: -------------------------------------------------------------------------------- 1 | tell application "Apollo" to activate 2 | tell application "System Events" 3 | tell process "Apollo" 4 | tell window 1 5 | tell group 1 6 | tell group 1 7 | click button 1 of group 1 of group 1 of group 1 of group 1 of group 1 of group 1 of group 1 8 | end tell 9 | end tell 10 | end tell 11 | end tell 12 | end tell 13 | -------------------------------------------------------------------------------- /autofocus-safari-history-search.applescript: -------------------------------------------------------------------------------- 1 | tell application "Safari" to activate 2 | tell application "System Events" 3 | tell process "Safari" 4 | tell window "History" 5 | tell splitter group 1 6 | tell group 1 of tab group 1 7 | set focused of text field 1 to true 8 | end tell 9 | end tell 10 | end tell 11 | end tell 12 | end tell 13 | -------------------------------------------------------------------------------- /automator workflows/New File Here.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSBackgroundColorName 9 | background 10 | NSBackgroundSystemColorName 11 | systemGreenColor 12 | NSIconName 13 | NSTouchBarCircleAdd 14 | NSMenuItem 15 | 16 | default 17 | New File Here 18 | 19 | NSMessage 20 | runWorkflowAsService 21 | NSRequiredContext 22 | 23 | NSApplicationIdentifier 24 | com.apple.finder 25 | 26 | NSSendFileTypes 27 | 28 | public.item 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /automator workflows/New File Here.workflow/Contents/QuickLook/Preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/New File Here.workflow/Contents/QuickLook/Preview.png -------------------------------------------------------------------------------- /automator workflows/New File Here.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/New File Here.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /automator workflows/New File Here.workflow/Contents/Resources/background.color: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/New File Here.workflow/Contents/Resources/background.color -------------------------------------------------------------------------------- /automator workflows/New File Here.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 520 7 | AMApplicationVersion 8 | 2.10 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | * 25 | 26 | 27 | AMActionVersion 28 | v.1.0.2 29 | AMApplication 30 | 31 | Automator 32 | 33 | AMParameterProperties 34 | 35 | variableUUID 36 | 37 | isPathPopUp 38 | 39 | selectedVariableUUID 40 | FA96BAEE-0398-492C-9D58-41110EA77BBE 41 | variableUUIDsInMenu 42 | 43 | 44 | 45 | AMProvides 46 | 47 | Container 48 | List 49 | Types 50 | 51 | * 52 | 53 | 54 | AMRequiredResources 55 | 56 | ActionBundlePath 57 | /System/Library/Automator/Set Value of Variable.action 58 | ActionName 59 | Set Value of Variable 60 | ActionParameters 61 | 62 | variableUUID 63 | FA96BAEE-0398-492C-9D58-41110EA77BBE 64 | 65 | BundleIdentifier 66 | com.apple.Automator.SetValueofVariable 67 | CFBundleVersion 68 | 1.0.2 69 | CanShowSelectedItemsWhenRun 70 | 71 | CanShowWhenRun 72 | 73 | Category 74 | 75 | AMCategoryUtilities 76 | 77 | Class Name 78 | Set_Value_of_Variable 79 | InputUUID 80 | 91DA5D00-A47F-4569-98C7-9D42244C5B7A 81 | Keywords 82 | 83 | variable 84 | binding 85 | input 86 | output 87 | storage 88 | 89 | OutputUUID 90 | 4EF3D115-4B43-4DCE-AE28-D7A3EA318843 91 | UUID 92 | A430B5F2-4640-464A-AE5E-6AE657399384 93 | UnlocalizedApplications 94 | 95 | Automator 96 | 97 | arguments 98 | 99 | 0 100 | 101 | default value 102 | 103 | name 104 | variableUUID 105 | required 106 | 0 107 | type 108 | 0 109 | uuid 110 | 0 111 | 112 | 113 | conversionLabel 114 | 0 115 | isViewVisible 116 | 1 117 | location 118 | 521.500000:226.000000 119 | nibPath 120 | /System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib 121 | 122 | isViewVisible 123 | 1 124 | 125 | 126 | action 127 | 128 | AMAccepts 129 | 130 | Container 131 | List 132 | Optional 133 | 134 | Types 135 | 136 | com.apple.applescript.object 137 | 138 | 139 | AMActionVersion 140 | 1.0.2 141 | AMApplication 142 | 143 | Automator 144 | 145 | AMParameterProperties 146 | 147 | source 148 | 149 | 150 | AMProvides 151 | 152 | Container 153 | List 154 | Types 155 | 156 | com.apple.applescript.object 157 | 158 | 159 | ActionBundlePath 160 | /System/Library/Automator/Run AppleScript.action 161 | ActionName 162 | Run AppleScript 163 | ActionParameters 164 | 165 | source 166 | try tell application "Finder" to set the currentFolder ¬ to (folder of the front window) as alias on error -- no open folder windows set the currentFolder to path to desktop folder as alias end try set fileName to text returned of (display dialog ¬ "Enter name for new file:" default answer "Untitled") set absolutePath to POSIX path of currentFolder & fileName do shell script "shopt -u xpg_echo; echo '' > \"" & absolutePath & "\"" 167 | 168 | BundleIdentifier 169 | com.apple.Automator.RunScript 170 | CFBundleVersion 171 | 1.0.2 172 | CanShowSelectedItemsWhenRun 173 | 174 | CanShowWhenRun 175 | 176 | Category 177 | 178 | AMCategoryUtilities 179 | 180 | Class Name 181 | RunScriptAction 182 | InputUUID 183 | 341C2325-709C-4F20-8C56-FFD0D3C5947D 184 | Keywords 185 | 186 | Run 187 | 188 | OutputUUID 189 | CDA70BA0-ACBC-48D6-B646-D70FFB33CB25 190 | UUID 191 | DA8B70E6-1040-4CB1-B98D-3990FC7EE265 192 | UnlocalizedApplications 193 | 194 | Automator 195 | 196 | arguments 197 | 198 | 0 199 | 200 | default value 201 | on run {input, parameters} 202 | 203 | (* Your script goes here *) 204 | 205 | return input 206 | end run 207 | name 208 | source 209 | required 210 | 0 211 | type 212 | 0 213 | uuid 214 | 0 215 | 216 | 217 | conversionLabel 218 | 0 219 | isViewVisible 220 | 1 221 | location 222 | 521.500000:651.000000 223 | nibPath 224 | /System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib 225 | 226 | isViewVisible 227 | 1 228 | 229 | 230 | connectors 231 | 232 | 123E0D55-3EA9-4AD3-8808-C151DB68B737 233 | 234 | from 235 | A430B5F2-4640-464A-AE5E-6AE657399384 - A430B5F2-4640-464A-AE5E-6AE657399384 236 | to 237 | DA8B70E6-1040-4CB1-B98D-3990FC7EE265 - DA8B70E6-1040-4CB1-B98D-3990FC7EE265 238 | 239 | 240 | variables 241 | 242 | 243 | UUID 244 | FA96BAEE-0398-492C-9D58-41110EA77BBE 245 | identifier 246 | com.apple.Automator.Variable.Storage 247 | name 248 | Path 249 | 250 | 251 | workflowMetaData 252 | 253 | applicationBundleID 254 | com.apple.finder 255 | applicationBundleIDsByPath 256 | 257 | /System/Library/CoreServices/Finder.app 258 | com.apple.finder 259 | 260 | applicationPath 261 | /System/Library/CoreServices/Finder.app 262 | applicationPaths 263 | 264 | /System/Library/CoreServices/Finder.app 265 | 266 | backgroundColor 267 | 268 | YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9i 269 | amVjdHMSAAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGpCwwXGBki 270 | KCkwVSRudWxs1Q0ODxAREhMUFRZWJGNsYXNzW05TQ29sb3JOYW1lXE5TQ29s 271 | b3JTcGFjZV1OU0NhdGFsb2dOYW1lV05TQ29sb3KACIADEAaAAoAEVlN5c3Rl 272 | bV8QEHN5c3RlbUdyZWVuQ29sb3LVGhsPHA0dHh8gElxOU0NvbXBvbmVudHNV 273 | TlNSR0JfEBJOU0N1c3RvbUNvbG9yU3BhY2VHMCAxIDAgMU8QHTAuMTM1MjUy 274 | Njk5MyAxIDAuMDI0ODg2ODUwMjcAEAGABYAI0yMkDSUmJ1ROU0lEVU5TSUND 275 | EAeABoAHTxEMSAAADEhMaW5vAhAAAG1udHJSR0IgWFlaIAfOAAIACQAGADEA 276 | AGFjc3BNU0ZUAAAAAElFQyBzUkdCAAAAAAAAAAAAAAAAAAD21gABAAAAANMt 277 | SFAgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 278 | AAAAAAAAEWNwcnQAAAFQAAAAM2Rlc2MAAAGEAAAAbHd0cHQAAAHwAAAAFGJr 279 | cHQAAAIEAAAAFHJYWVoAAAIYAAAAFGdYWVoAAAIsAAAAFGJYWVoAAAJAAAAA 280 | FGRtbmQAAAJUAAAAcGRtZGQAAALEAAAAiHZ1ZWQAAANMAAAAhnZpZXcAAAPU 281 | AAAAJGx1bWkAAAP4AAAAFG1lYXMAAAQMAAAAJHRlY2gAAAQwAAAADHJUUkMA 282 | AAQ8AAAIDGdUUkMAAAQ8AAAIDGJUUkMAAAQ8AAAIDHRleHQAAAAAQ29weXJp 283 | Z2h0IChjKSAxOTk4IEhld2xldHQtUGFja2FyZCBDb21wYW55AABkZXNjAAAA 284 | AAAAABJzUkdCIElFQzYxOTY2LTIuMQAAAAAAAAAAAAAAEnNSR0IgSUVDNjE5 285 | NjYtMi4xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 286 | AAAAAAAAAAAAAABYWVogAAAAAAAA81EAAQAAAAEWzFhZWiAAAAAAAAAAAAAA 287 | AAAAAAAAWFlaIAAAAAAAAG+iAAA49QAAA5BYWVogAAAAAAAAYpkAALeFAAAY 288 | 2lhZWiAAAAAAAAAkoAAAD4QAALbPZGVzYwAAAAAAAAAWSUVDIGh0dHA6Ly93 289 | d3cuaWVjLmNoAAAAAAAAAAAAAAAWSUVDIGh0dHA6Ly93d3cuaWVjLmNoAAAA 290 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGRl 291 | c2MAAAAAAAAALklFQyA2MTk2Ni0yLjEgRGVmYXVsdCBSR0IgY29sb3VyIHNw 292 | YWNlIC0gc1JHQgAAAAAAAAAAAAAALklFQyA2MTk2Ni0yLjEgRGVmYXVsdCBS 293 | R0IgY29sb3VyIHNwYWNlIC0gc1JHQgAAAAAAAAAAAAAAAAAAAAAAAAAAAABk 294 | ZXNjAAAAAAAAACxSZWZlcmVuY2UgVmlld2luZyBDb25kaXRpb24gaW4gSUVD 295 | NjE5NjYtMi4xAAAAAAAAAAAAAAAsUmVmZXJlbmNlIFZpZXdpbmcgQ29uZGl0 296 | aW9uIGluIElFQzYxOTY2LTIuMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 297 | dmlldwAAAAAAE6T+ABRfLgAQzxQAA+3MAAQTCwADXJ4AAAABWFlaIAAAAAAA 298 | TAlWAFAAAABXH+dtZWFzAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAACjwAA 299 | AAJzaWcgAAAAAENSVCBjdXJ2AAAAAAAABAAAAAAFAAoADwAUABkAHgAjACgA 300 | LQAyADcAOwBAAEUASgBPAFQAWQBeAGMAaABtAHIAdwB8AIEAhgCLAJAAlQCa 301 | AJ8ApACpAK4AsgC3ALwAwQDGAMsA0ADVANsA4ADlAOsA8AD2APsBAQEHAQ0B 302 | EwEZAR8BJQErATIBOAE+AUUBTAFSAVkBYAFnAW4BdQF8AYMBiwGSAZoBoQGp 303 | AbEBuQHBAckB0QHZAeEB6QHyAfoCAwIMAhQCHQImAi8COAJBAksCVAJdAmcC 304 | cQJ6AoQCjgKYAqICrAK2AsECywLVAuAC6wL1AwADCwMWAyEDLQM4A0MDTwNa 305 | A2YDcgN+A4oDlgOiA64DugPHA9MD4APsA/kEBgQTBCAELQQ7BEgEVQRjBHEE 306 | fgSMBJoEqAS2BMQE0wThBPAE/gUNBRwFKwU6BUkFWAVnBXcFhgWWBaYFtQXF 307 | BdUF5QX2BgYGFgYnBjcGSAZZBmoGewaMBp0GrwbABtEG4wb1BwcHGQcrBz0H 308 | TwdhB3QHhgeZB6wHvwfSB+UH+AgLCB8IMghGCFoIbgiCCJYIqgi+CNII5wj7 309 | CRAJJQk6CU8JZAl5CY8JpAm6Cc8J5Qn7ChEKJwo9ClQKagqBCpgKrgrFCtwK 310 | 8wsLCyILOQtRC2kLgAuYC7ALyAvhC/kMEgwqDEMMXAx1DI4MpwzADNkM8w0N 311 | DSYNQA1aDXQNjg2pDcMN3g34DhMOLg5JDmQOfw6bDrYO0g7uDwkPJQ9BD14P 312 | eg+WD7MPzw/sEAkQJhBDEGEQfhCbELkQ1xD1ERMRMRFPEW0RjBGqEckR6BIH 313 | EiYSRRJkEoQSoxLDEuMTAxMjE0MTYxODE6QTxRPlFAYUJxRJFGoUixStFM4U 314 | 8BUSFTQVVhV4FZsVvRXgFgMWJhZJFmwWjxayFtYW+hcdF0EXZReJF64X0hf3 315 | GBsYQBhlGIoYrxjVGPoZIBlFGWsZkRm3Gd0aBBoqGlEadxqeGsUa7BsUGzsb 316 | YxuKG7Ib2hwCHCocUhx7HKMczBz1HR4dRx1wHZkdwx3sHhYeQB5qHpQevh7p 317 | HxMfPh9pH5Qfvx/qIBUgQSBsIJggxCDwIRwhSCF1IaEhziH7IiciVSKCIq8i 318 | 3SMKIzgjZiOUI8Ij8CQfJE0kfCSrJNolCSU4JWgllyXHJfcmJyZXJocmtybo 319 | JxgnSSd6J6sn3CgNKD8ocSiiKNQpBik4KWspnSnQKgIqNSpoKpsqzysCKzYr 320 | aSudK9EsBSw5LG4soizXLQwtQS12Last4S4WLkwugi63Lu4vJC9aL5Evxy/+ 321 | MDUwbDCkMNsxEjFKMYIxujHyMioyYzKbMtQzDTNGM38zuDPxNCs0ZTSeNNg1 322 | EzVNNYc1wjX9Njc2cjauNuk3JDdgN5w31zgUOFA4jDjIOQU5Qjl/Obw5+To2 323 | OnQ6sjrvOy07azuqO+g8JzxlPKQ84z0iPWE9oT3gPiA+YD6gPuA/IT9hP6I/ 324 | 4kAjQGRApkDnQSlBakGsQe5CMEJyQrVC90M6Q31DwEQDREdEikTORRJFVUWa 325 | Rd5GIkZnRqtG8Ec1R3tHwEgFSEtIkUjXSR1JY0mpSfBKN0p9SsRLDEtTS5pL 326 | 4kwqTHJMuk0CTUpNk03cTiVObk63TwBPSU+TT91QJ1BxULtRBlFQUZtR5lIx 327 | UnxSx1MTU19TqlP2VEJUj1TbVShVdVXCVg9WXFapVvdXRFeSV+BYL1h9WMtZ 328 | GllpWbhaB1pWWqZa9VtFW5Vb5Vw1XIZc1l0nXXhdyV4aXmxevV8PX2Ffs2AF 329 | YFdgqmD8YU9homH1YklinGLwY0Njl2PrZEBklGTpZT1lkmXnZj1mkmboZz1n 330 | k2fpaD9olmjsaUNpmmnxakhqn2r3a09rp2v/bFdsr20IbWBtuW4SbmtuxG8e 331 | b3hv0XArcIZw4HE6cZVx8HJLcqZzAXNdc7h0FHRwdMx1KHWFdeF2Pnabdvh3 332 | VnezeBF4bnjMeSp5iXnnekZ6pXsEe2N7wnwhfIF84X1BfaF+AX5ifsJ/I3+E 333 | f+WAR4CogQqBa4HNgjCCkoL0g1eDuoQdhICE44VHhauGDoZyhteHO4efiASI 334 | aYjOiTOJmYn+imSKyoswi5aL/IxjjMqNMY2Yjf+OZo7OjzaPnpAGkG6Q1pE/ 335 | kaiSEZJ6kuOTTZO2lCCUipT0lV+VyZY0lp+XCpd1l+CYTJi4mSSZkJn8mmia 336 | 1ZtCm6+cHJyJnPedZJ3SnkCerp8dn4uf+qBpoNihR6G2oiailqMGo3aj5qRW 337 | pMelOKWpphqmi6b9p26n4KhSqMSpN6mpqhyqj6sCq3Wr6axcrNCtRK24ri2u 338 | oa8Wr4uwALB1sOqxYLHWskuywrM4s660JbSctRO1irYBtnm28Ldot+C4WbjR 339 | uUq5wro7urW7LrunvCG8m70VvY++Cr6Evv+/er/1wHDA7MFnwePCX8Lbw1jD 340 | 1MRRxM7FS8XIxkbGw8dBx7/IPci8yTrJuco4yrfLNsu2zDXMtc01zbXONs62 341 | zzfPuNA50LrRPNG+0j/SwdNE08bUSdTL1U7V0dZV1tjXXNfg2GTY6Nls2fHa 342 | dtr724DcBdyK3RDdlt4c3qLfKd+v4DbgveFE4cziU+Lb42Pj6+Rz5PzlhOYN 343 | 5pbnH+ep6DLovOlG6dDqW+rl63Dr++yG7RHtnO4o7rTvQO/M8Fjw5fFy8f/y 344 | jPMZ86f0NPTC9VD13vZt9vv3ivgZ+Kj5OPnH+lf65/t3/Af8mP0p/br+S/7c 345 | /23//9IqKywtWiRjbGFzc25hbWVYJGNsYXNzZXNcTlNDb2xvclNwYWNloi4v 346 | XE5TQ29sb3JTcGFjZVhOU09iamVjdNIqKzEyV05TQ29sb3KiMS8ACAARABoA 347 | JAApADIANwBJAEwAUQBTAF0AYwBuAHUAgQCOAJwApACmAKgAqgCsAK4AtQDI 348 | ANMA4ADmAPsBAwEjASUBJwEpATABNQE7AT0BPwFBDY0Nkg2dDaYNsw22DcMN 349 | zA3RDdkAAAAAAAACAQAAAAAAAAAzAAAAAAAAAAAAAAAAAAAN3A== 350 | 351 | backgroundColorName 352 | systemGreenColor 353 | inputTypeIdentifier 354 | com.apple.Automator.fileSystemObject 355 | outputTypeIdentifier 356 | com.apple.Automator.nothing 357 | presentationMode 358 | 15 359 | processesInput 360 | 361 | serviceApplicationBundleID 362 | com.apple.finder 363 | serviceApplicationPath 364 | /System/Library/CoreServices/Finder.app 365 | serviceInputTypeIdentifier 366 | com.apple.Automator.fileSystemObject 367 | serviceOutputTypeIdentifier 368 | com.apple.Automator.nothing 369 | serviceProcessesInput 370 | 371 | systemImageName 372 | NSTouchBarCircleAdd 373 | useAutomaticInputType 374 | 375 | workflowTypeIdentifier 376 | com.apple.Automator.servicesMenu 377 | 378 | 379 | 380 | -------------------------------------------------------------------------------- /automator workflows/New TSX File Here.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSBackgroundColorName 9 | background 10 | NSBackgroundSystemColorName 11 | systemBlueColor 12 | NSIconName 13 | NSTouchBarCircleAdd 14 | NSMenuItem 15 | 16 | default 17 | New TSX File Here 18 | 19 | NSMessage 20 | runWorkflowAsService 21 | NSRequiredContext 22 | 23 | NSApplicationIdentifier 24 | com.apple.finder 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /automator workflows/New TSX File Here.workflow/Contents/QuickLook/Preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/New TSX File Here.workflow/Contents/QuickLook/Preview.png -------------------------------------------------------------------------------- /automator workflows/New TSX File Here.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/New TSX File Here.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /automator workflows/New TSX File Here.workflow/Contents/Resources/background.color: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/New TSX File Here.workflow/Contents/Resources/background.color -------------------------------------------------------------------------------- /automator workflows/New TSX File Here.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 520 7 | AMApplicationVersion 8 | 2.10 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | * 25 | 26 | 27 | AMActionVersion 28 | v.1.0.2 29 | AMApplication 30 | 31 | Automator 32 | 33 | AMParameterProperties 34 | 35 | variableUUID 36 | 37 | isPathPopUp 38 | 39 | selectedVariableUUID 40 | 976FF224-EB54-44C3-A86D-F594EC75EEBC 41 | variableUUIDsInMenu 42 | 43 | 44 | 45 | AMProvides 46 | 47 | Container 48 | List 49 | Types 50 | 51 | * 52 | 53 | 54 | AMRequiredResources 55 | 56 | ActionBundlePath 57 | /System/Library/Automator/Set Value of Variable.action 58 | ActionName 59 | Set Value of Variable 60 | ActionParameters 61 | 62 | variableUUID 63 | 976FF224-EB54-44C3-A86D-F594EC75EEBC 64 | 65 | BundleIdentifier 66 | com.apple.Automator.SetValueofVariable 67 | CFBundleVersion 68 | 1.0.2 69 | CanShowSelectedItemsWhenRun 70 | 71 | CanShowWhenRun 72 | 73 | Category 74 | 75 | AMCategoryUtilities 76 | 77 | Class Name 78 | Set_Value_of_Variable 79 | InputUUID 80 | 7FECCACE-16E1-42D6-BBDC-6AF71253AFAB 81 | Keywords 82 | 83 | variable 84 | binding 85 | input 86 | output 87 | storage 88 | 89 | OutputUUID 90 | D38E489F-5934-470C-BE90-041B95949B37 91 | UUID 92 | EE41EAE5-4B9F-4486-A9A4-BC5AC6817B62 93 | UnlocalizedApplications 94 | 95 | Automator 96 | 97 | arguments 98 | 99 | 0 100 | 101 | default value 102 | 103 | name 104 | variableUUID 105 | required 106 | 0 107 | type 108 | 0 109 | uuid 110 | 0 111 | 112 | 113 | conversionLabel 114 | 0 115 | isViewVisible 116 | 1 117 | location 118 | 529.000000:226.000000 119 | nibPath 120 | /System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib 121 | 122 | isViewVisible 123 | 1 124 | 125 | 126 | action 127 | 128 | AMAccepts 129 | 130 | Container 131 | List 132 | Optional 133 | 134 | Types 135 | 136 | com.apple.applescript.object 137 | 138 | 139 | AMActionVersion 140 | 1.0.2 141 | AMApplication 142 | 143 | Automator 144 | 145 | AMParameterProperties 146 | 147 | source 148 | 149 | 150 | AMProvides 151 | 152 | Container 153 | List 154 | Types 155 | 156 | com.apple.applescript.object 157 | 158 | 159 | ActionBundlePath 160 | /System/Library/Automator/Run AppleScript.action 161 | ActionName 162 | Run AppleScript 163 | ActionParameters 164 | 165 | source 166 | try tell application "Finder" to set the currentFolder ¬ to (folder of the front window) as alias on error -- no open folder windows set the currentFolder to path to desktop folder as alias end try set fileName to text returned of (display dialog ¬ "Enter name for new file:" default answer "Untitled") set absolutePath to POSIX path of currentFolder & fileName do shell script "shopt -u xpg_echo; echo 'import React, { useState, useEffect } from \"react\"; import { Text, View } from \"react-native\"; export function LoremIpsum() { return ( <View> <Text>Lorem Ipsum</Text> </View> ); }' > \"" & absolutePath & "\"" 167 | 168 | BundleIdentifier 169 | com.apple.Automator.RunScript 170 | CFBundleVersion 171 | 1.0.2 172 | CanShowSelectedItemsWhenRun 173 | 174 | CanShowWhenRun 175 | 176 | Category 177 | 178 | AMCategoryUtilities 179 | 180 | Class Name 181 | RunScriptAction 182 | InputUUID 183 | 923A4B85-7971-4560-BC6C-136BD8D736D4 184 | Keywords 185 | 186 | Run 187 | 188 | OutputUUID 189 | EC4AFA37-DC9D-4079-A1D0-CA731B41A320 190 | UUID 191 | 5605D49D-2AB8-48BD-AD73-30F064BE6F28 192 | UnlocalizedApplications 193 | 194 | Automator 195 | 196 | arguments 197 | 198 | 0 199 | 200 | default value 201 | on run {input, parameters} 202 | 203 | (* Your script goes here *) 204 | 205 | return input 206 | end run 207 | name 208 | source 209 | required 210 | 0 211 | type 212 | 0 213 | uuid 214 | 0 215 | 216 | 217 | conversionLabel 218 | 0 219 | isViewVisible 220 | 1 221 | location 222 | 529.000000:471.000000 223 | nibPath 224 | /System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib 225 | 226 | isViewVisible 227 | 1 228 | 229 | 230 | connectors 231 | 232 | 7C7BD3F9-E9A8-4CF1-B230-258042F1CEC4 233 | 234 | from 235 | EE41EAE5-4B9F-4486-A9A4-BC5AC6817B62 - EE41EAE5-4B9F-4486-A9A4-BC5AC6817B62 236 | to 237 | 5605D49D-2AB8-48BD-AD73-30F064BE6F28 - 5605D49D-2AB8-48BD-AD73-30F064BE6F28 238 | 239 | 240 | variables 241 | 242 | 243 | UUID 244 | 976FF224-EB54-44C3-A86D-F594EC75EEBC 245 | identifier 246 | com.apple.Automator.Variable.Storage 247 | name 248 | Path 249 | 250 | 251 | workflowMetaData 252 | 253 | applicationBundleID 254 | com.apple.finder 255 | applicationBundleIDsByPath 256 | 257 | /System/Library/CoreServices/Finder.app 258 | com.apple.finder 259 | 260 | applicationPath 261 | /System/Library/CoreServices/Finder.app 262 | applicationPaths 263 | 264 | /System/Library/CoreServices/Finder.app 265 | 266 | backgroundColor 267 | 268 | YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9i 269 | amVjdHMSAAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGpCwwXGBki 270 | KCkwVSRudWxs1Q0ODxAREhMUFRZWJGNsYXNzW05TQ29sb3JOYW1lXE5TQ29s 271 | b3JTcGFjZV1OU0NhdGFsb2dOYW1lV05TQ29sb3KACIADEAaAAoAEVlN5c3Rl 272 | bV8QD3N5c3RlbUJsdWVDb2xvctUaGw8cDR0eHyASXE5TQ29tcG9uZW50c1VO 273 | U1JHQl8QEk5TQ3VzdG9tQ29sb3JTcGFjZUcwIDAgMSAxTxARMCAwIDAuOTk4 274 | MTk5MjI0NQAQAYAFgAjTIyQNJSYnVE5TSURVTlNJQ0MQB4AGgAdPEQxIAAAM 275 | SExpbm8CEAAAbW50clJHQiBYWVogB84AAgAJAAYAMQAAYWNzcE1TRlQAAAAA 276 | SUVDIHNSR0IAAAAAAAAAAAAAAAAAAPbWAAEAAAAA0y1IUCAgAAAAAAAAAAAA 277 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARY3BydAAA 278 | AVAAAAAzZGVzYwAAAYQAAABsd3RwdAAAAfAAAAAUYmtwdAAAAgQAAAAUclhZ 279 | WgAAAhgAAAAUZ1hZWgAAAiwAAAAUYlhZWgAAAkAAAAAUZG1uZAAAAlQAAABw 280 | ZG1kZAAAAsQAAACIdnVlZAAAA0wAAACGdmlldwAAA9QAAAAkbHVtaQAAA/gA 281 | AAAUbWVhcwAABAwAAAAkdGVjaAAABDAAAAAMclRSQwAABDwAAAgMZ1RSQwAA 282 | BDwAAAgMYlRSQwAABDwAAAgMdGV4dAAAAABDb3B5cmlnaHQgKGMpIDE5OTgg 283 | SGV3bGV0dC1QYWNrYXJkIENvbXBhbnkAAGRlc2MAAAAAAAAAEnNSR0IgSUVD 284 | NjE5NjYtMi4xAAAAAAAAAAAAAAASc1JHQiBJRUM2MTk2Ni0yLjEAAAAAAAAA 285 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhZ 286 | WiAAAAAAAADzUQABAAAAARbMWFlaIAAAAAAAAAAAAAAAAAAAAABYWVogAAAA 287 | AAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSg 288 | AAAPhAAAts9kZXNjAAAAAAAAABZJRUMgaHR0cDovL3d3dy5pZWMuY2gAAAAA 289 | AAAAAAAAABZJRUMgaHR0cDovL3d3dy5pZWMuY2gAAAAAAAAAAAAAAAAAAAAA 290 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZGVzYwAAAAAAAAAuSUVD 291 | IDYxOTY2LTIuMSBEZWZhdWx0IFJHQiBjb2xvdXIgc3BhY2UgLSBzUkdCAAAA 292 | AAAAAAAAAAAuSUVDIDYxOTY2LTIuMSBEZWZhdWx0IFJHQiBjb2xvdXIgc3Bh 293 | Y2UgLSBzUkdCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGRlc2MAAAAAAAAALFJl 294 | ZmVyZW5jZSBWaWV3aW5nIENvbmRpdGlvbiBpbiBJRUM2MTk2Ni0yLjEAAAAA 295 | AAAAAAAAACxSZWZlcmVuY2UgVmlld2luZyBDb25kaXRpb24gaW4gSUVDNjE5 296 | NjYtMi4xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB2aWV3AAAAAAATpP4A 297 | FF8uABDPFAAD7cwABBMLAANcngAAAAFYWVogAAAAAABMCVYAUAAAAFcf521l 298 | YXMAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAKPAAAAAnNpZyAAAAAAQ1JU 299 | IGN1cnYAAAAAAAAEAAAAAAUACgAPABQAGQAeACMAKAAtADIANwA7AEAARQBK 300 | AE8AVABZAF4AYwBoAG0AcgB3AHwAgQCGAIsAkACVAJoAnwCkAKkArgCyALcA 301 | vADBAMYAywDQANUA2wDgAOUA6wDwAPYA+wEBAQcBDQETARkBHwElASsBMgE4 302 | AT4BRQFMAVIBWQFgAWcBbgF1AXwBgwGLAZIBmgGhAakBsQG5AcEByQHRAdkB 303 | 4QHpAfIB+gIDAgwCFAIdAiYCLwI4AkECSwJUAl0CZwJxAnoChAKOApgCogKs 304 | ArYCwQLLAtUC4ALrAvUDAAMLAxYDIQMtAzgDQwNPA1oDZgNyA34DigOWA6ID 305 | rgO6A8cD0wPgA+wD+QQGBBMEIAQtBDsESARVBGMEcQR+BIwEmgSoBLYExATT 306 | BOEE8AT+BQ0FHAUrBToFSQVYBWcFdwWGBZYFpgW1BcUF1QXlBfYGBgYWBicG 307 | NwZIBlkGagZ7BowGnQavBsAG0QbjBvUHBwcZBysHPQdPB2EHdAeGB5kHrAe/ 308 | B9IH5Qf4CAsIHwgyCEYIWghuCIIIlgiqCL4I0gjnCPsJEAklCToJTwlkCXkJ 309 | jwmkCboJzwnlCfsKEQonCj0KVApqCoEKmAquCsUK3ArzCwsLIgs5C1ELaQuA 310 | C5gLsAvIC+EL+QwSDCoMQwxcDHUMjgynDMAM2QzzDQ0NJg1ADVoNdA2ODakN 311 | ww3eDfgOEw4uDkkOZA5/DpsOtg7SDu4PCQ8lD0EPXg96D5YPsw/PD+wQCRAm 312 | EEMQYRB+EJsQuRDXEPURExExEU8RbRGMEaoRyRHoEgcSJhJFEmQShBKjEsMS 313 | 4xMDEyMTQxNjE4MTpBPFE+UUBhQnFEkUahSLFK0UzhTwFRIVNBVWFXgVmxW9 314 | FeAWAxYmFkkWbBaPFrIW1hb6Fx0XQRdlF4kXrhfSF/cYGxhAGGUYihivGNUY 315 | +hkgGUUZaxmRGbcZ3RoEGioaURp3Gp4axRrsGxQbOxtjG4obshvaHAIcKhxS 316 | HHscoxzMHPUdHh1HHXAdmR3DHeweFh5AHmoelB6+HukfEx8+H2kflB+/H+og 317 | FSBBIGwgmCDEIPAhHCFIIXUhoSHOIfsiJyJVIoIiryLdIwojOCNmI5QjwiPw 318 | JB8kTSR8JKsk2iUJJTglaCWXJccl9yYnJlcmhya3JugnGCdJJ3onqyfcKA0o 319 | PyhxKKIo1CkGKTgpaymdKdAqAio1KmgqmyrPKwIrNitpK50r0SwFLDksbiyi 320 | LNctDC1BLXYtqy3hLhYuTC6CLrcu7i8kL1ovkS/HL/4wNTBsMKQw2zESMUox 321 | gjG6MfIyKjJjMpsy1DMNM0YzfzO4M/E0KzRlNJ402DUTNU01hzXCNf02NzZy 322 | Nq426TckN2A3nDfXOBQ4UDiMOMg5BTlCOX85vDn5OjY6dDqyOu87LTtrO6o7 323 | 6DwnPGU8pDzjPSI9YT2hPeA+ID5gPqA+4D8hP2E/oj/iQCNAZECmQOdBKUFq 324 | QaxB7kIwQnJCtUL3QzpDfUPARANER0SKRM5FEkVVRZpF3kYiRmdGq0bwRzVH 325 | e0fASAVIS0iRSNdJHUljSalJ8Eo3Sn1KxEsMS1NLmkviTCpMcky6TQJNSk2T 326 | TdxOJU5uTrdPAE9JT5NP3VAnUHFQu1EGUVBRm1HmUjFSfFLHUxNTX1OqU/ZU 327 | QlSPVNtVKFV1VcJWD1ZcVqlW91dEV5JX4FgvWH1Yy1kaWWlZuFoHWlZaplr1 328 | W0VblVvlXDVchlzWXSddeF3JXhpebF69Xw9fYV+zYAVgV2CqYPxhT2GiYfVi 329 | SWKcYvBjQ2OXY+tkQGSUZOllPWWSZedmPWaSZuhnPWeTZ+loP2iWaOxpQ2ma 330 | afFqSGqfavdrT2una/9sV2yvbQhtYG25bhJua27Ebx5veG/RcCtwhnDgcTpx 331 | lXHwcktypnMBc11zuHQUdHB0zHUodYV14XY+dpt2+HdWd7N4EXhueMx5KnmJ 332 | eed6RnqlewR7Y3vCfCF8gXzhfUF9oX4BfmJ+wn8jf4R/5YBHgKiBCoFrgc2C 333 | MIKSgvSDV4O6hB2EgITjhUeFq4YOhnKG14c7h5+IBIhpiM6JM4mZif6KZIrK 334 | izCLlov8jGOMyo0xjZiN/45mjs6PNo+ekAaQbpDWkT+RqJIRknqS45NNk7aU 335 | IJSKlPSVX5XJljSWn5cKl3WX4JhMmLiZJJmQmfyaaJrVm0Kbr5wcnImc951k 336 | ndKeQJ6unx2fi5/6oGmg2KFHobaiJqKWowajdqPmpFakx6U4pammGqaLpv2n 337 | bqfgqFKoxKk3qamqHKqPqwKrdavprFys0K1ErbiuLa6hrxavi7AAsHWw6rFg 338 | sdayS7LCszizrrQltJy1E7WKtgG2ebbwt2i34LhZuNG5SrnCuju6tbsuu6e8 339 | IbybvRW9j74KvoS+/796v/XAcMDswWfB48JfwtvDWMPUxFHEzsVLxcjGRsbD 340 | x0HHv8g9yLzJOsm5yjjKt8s2y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7S 341 | P9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp22vvbgNwF3IrdEN2W 342 | 3hzeot8p36/gNuC94UThzOJT4tvjY+Pr5HPk/OWE5g3mlucf56noMui86Ubp 343 | 0Opb6uXrcOv77IbtEe2c7ijutO9A78zwWPDl8XLx//KM8xnzp/Q09ML1UPXe 344 | 9m32+/eK+Bn4qPk4+cf6V/rn+3f8B/yY/Sn9uv5L/tz/bf//0iorLC1aJGNs 345 | YXNzbmFtZVgkY2xhc3Nlc1xOU0NvbG9yU3BhY2WiLi9cTlNDb2xvclNwYWNl 346 | WE5TT2JqZWN00iorMTJXTlNDb2xvcqIxLwAIABEAGgAkACkAMgA3AEkATABR 347 | AFMAXQBjAG4AdQCBAI4AnACkAKYAqACqAKwArgC1AMcA0gDfAOUA+gECARYB 348 | GAEaARwBIwEoAS4BMAEyATQNgA2FDZANmQ2mDakNtg2/DcQNzAAAAAAAAAIB 349 | AAAAAAAAADMAAAAAAAAAAAAAAAAAAA3P 350 | 351 | backgroundColorName 352 | systemBlueColor 353 | inputTypeIdentifier 354 | com.apple.Automator.nothing 355 | outputTypeIdentifier 356 | com.apple.Automator.nothing 357 | presentationMode 358 | 11 359 | processesInput 360 | 361 | serviceApplicationBundleID 362 | com.apple.finder 363 | serviceApplicationPath 364 | /System/Library/CoreServices/Finder.app 365 | serviceInputTypeIdentifier 366 | com.apple.Automator.nothing 367 | serviceOutputTypeIdentifier 368 | com.apple.Automator.nothing 369 | serviceProcessesInput 370 | 371 | systemImageName 372 | NSTouchBarCircleAdd 373 | useAutomaticInputType 374 | 375 | workflowTypeIdentifier 376 | com.apple.Automator.servicesMenu 377 | 378 | 379 | 380 | -------------------------------------------------------------------------------- /automator workflows/Open with Code.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSBackgroundColorName 9 | background 10 | NSIconName 11 | NSActionTemplate 12 | NSMenuItem 13 | 14 | default 15 | Open with Code 16 | 17 | NSMessage 18 | runWorkflowAsService 19 | NSSendFileTypes 20 | 21 | public.item 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /automator workflows/Open with Code.workflow/Contents/QuickLook/Preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Open with Code.workflow/Contents/QuickLook/Preview.png -------------------------------------------------------------------------------- /automator workflows/Open with Code.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Open with Code.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /automator workflows/Open with Code.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 509 7 | AMApplicationVersion 8 | 2.10 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.cocoa.path 25 | 26 | 27 | AMActionVersion 28 | 1.1.2 29 | AMApplication 30 | 31 | Finder 32 | 33 | AMParameterProperties 34 | 35 | fileNames 36 | 37 | 38 | AMProvides 39 | 40 | Container 41 | List 42 | Types 43 | 44 | com.apple.cocoa.path 45 | 46 | 47 | ActionBundlePath 48 | /System/Library/Automator/Get Specified Finder Items.action 49 | ActionName 50 | Get Specified Finder Items 51 | ActionParameters 52 | 53 | fileNames 54 | 55 | 56 | BundleIdentifier 57 | com.apple.Automator.SpecifiedFiles 58 | CFBundleVersion 59 | 1.1.2 60 | CanShowSelectedItemsWhenRun 61 | 62 | CanShowWhenRun 63 | 64 | Category 65 | 66 | AMCategoryFilesAndFolders 67 | 68 | Class Name 69 | SpecifiedFilesAction 70 | InputUUID 71 | 75092DCD-E4D4-43C1-9984-DA4CFE5745B2 72 | Keywords 73 | 74 | File 75 | Choose 76 | Find 77 | Get 78 | 79 | OutputUUID 80 | 98215376-FCC6-4D71-AA20-6A3779DC81FD 81 | UUID 82 | F75E64C5-3F3E-4E78-84B0-398FC4981305 83 | UnlocalizedApplications 84 | 85 | Finder 86 | 87 | arguments 88 | 89 | 0 90 | 91 | default value 92 | 93 | name 94 | fileNames 95 | required 96 | 0 97 | type 98 | 0 99 | uuid 100 | 0 101 | 102 | 103 | isViewVisible 104 | 1 105 | location 106 | 529.000000:360.000000 107 | nibPath 108 | /System/Library/Automator/Get Specified Finder Items.action/Contents/Resources/Base.lproj/main.nib 109 | 110 | isViewVisible 111 | 1 112 | 113 | 114 | action 115 | 116 | AMAccepts 117 | 118 | Container 119 | List 120 | Optional 121 | 122 | Types 123 | 124 | com.apple.cocoa.path 125 | 126 | 127 | AMActionVersion 128 | 1.1.1 129 | AMApplication 130 | 131 | Finder 132 | 133 | AMParameterProperties 134 | 135 | appPath 136 | 137 | isPathPopUp 138 | 139 | variableUUIDsInMenu 140 | 141 | 142 | 143 | AMProvides 144 | 145 | Container 146 | List 147 | Types 148 | 149 | com.apple.cocoa.path 150 | 151 | 152 | ActionBundlePath 153 | /System/Library/Automator/Open Finder Items.action 154 | ActionName 155 | Open Finder Items 156 | ActionParameters 157 | 158 | appPath 159 | /Applications/MyApps/Visual Studio Code.app 160 | 161 | BundleIdentifier 162 | com.apple.Automator.OpenFinderItems 163 | CFBundleVersion 164 | 1.1.1 165 | CanShowSelectedItemsWhenRun 166 | 167 | CanShowWhenRun 168 | 169 | Category 170 | 171 | AMCategoryFilesAndFolders 172 | 173 | Class Name 174 | AMOpenFinderItems 175 | InputUUID 176 | 0606CB10-D515-4818-922D-CB91B57A8283 177 | Keywords 178 | 179 | Open 180 | Document 181 | File 182 | 183 | OutputUUID 184 | 044461EC-C2F7-4DA4-B3FC-5C88E85DE7ED 185 | UUID 186 | DBE1194B-C2D3-4E5C-B69B-F0D5663BD766 187 | UnlocalizedApplications 188 | 189 | Finder 190 | 191 | arguments 192 | 193 | 0 194 | 195 | default value 196 | 197 | name 198 | appPath 199 | required 200 | 0 201 | type 202 | 0 203 | uuid 204 | 0 205 | 206 | 207 | isViewVisible 208 | 1 209 | location 210 | 529.000000:461.000000 211 | nibPath 212 | /System/Library/Automator/Open Finder Items.action/Contents/Resources/Base.lproj/main.nib 213 | 214 | isViewVisible 215 | 1 216 | 217 | 218 | connectors 219 | 220 | D5A2BDA7-6356-4646-98A4-AF418AD5CE38 221 | 222 | from 223 | F75E64C5-3F3E-4E78-84B0-398FC4981305 - F75E64C5-3F3E-4E78-84B0-398FC4981305 224 | to 225 | DBE1194B-C2D3-4E5C-B69B-F0D5663BD766 - DBE1194B-C2D3-4E5C-B69B-F0D5663BD766 226 | 227 | 228 | workflowMetaData 229 | 230 | applicationBundleIDsByPath 231 | 232 | applicationPaths 233 | 234 | inputTypeIdentifier 235 | com.apple.Automator.fileSystemObject 236 | outputTypeIdentifier 237 | com.apple.Automator.nothing 238 | presentationMode 239 | 15 240 | processesInput 241 | 242 | serviceInputTypeIdentifier 243 | com.apple.Automator.fileSystemObject 244 | serviceOutputTypeIdentifier 245 | com.apple.Automator.nothing 246 | serviceProcessesInput 247 | 248 | systemImageName 249 | NSActionTemplate 250 | useAutomaticInputType 251 | 252 | workflowTypeIdentifier 253 | com.apple.Automator.servicesMenu 254 | 255 | 256 | 257 | -------------------------------------------------------------------------------- /automator workflows/browsershortcut-example.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSBackgroundColorName 9 | background 10 | NSIconName 11 | NSActionTemplate 12 | NSMenuItem 13 | 14 | default 15 | browsershortcut 16 | 17 | NSMessage 18 | runWorkflowAsService 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /automator workflows/browsershortcut-example.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/browsershortcut-example.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /automator workflows/browsershortcut-example.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 509 7 | AMApplicationVersion 8 | 2.10 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | 25 | AMActionVersion 26 | 1.1.1 27 | AMApplication 28 | 29 | Finder 30 | 31 | AMParameterProperties 32 | 33 | appPath 34 | 35 | isPathPopUp 36 | 37 | variableUUIDsInMenu 38 | 39 | 40 | 41 | AMProvides 42 | 43 | Container 44 | List 45 | Types 46 | 47 | 48 | ActionBundlePath 49 | /System/Library/Automator/Launch Application.action 50 | ActionName 51 | Launch Application 52 | ActionParameters 53 | 54 | appPath 55 | /Applications/Safari.app 56 | 57 | BundleIdentifier 58 | com.apple.Automator.OpenApplication 59 | CFBundleVersion 60 | 1.1.1 61 | CanShowSelectedItemsWhenRun 62 | 63 | CanShowWhenRun 64 | 65 | Category 66 | 67 | AMCategoryUtilities 68 | 69 | Class Name 70 | AMLaunchApplicationAction 71 | IgnoresInput 72 | 73 | InputUUID 74 | 175FD639-A197-4AF7-BD0A-2E0F8A4EA987 75 | Keywords 76 | 77 | File 78 | Open 79 | 80 | OutputUUID 81 | 4F1343B0-7784-41F9-B601-982AA1560F5E 82 | UUID 83 | FCD8E1CD-90B7-4E2D-AB24-29795F7F4CC9 84 | UnlocalizedApplications 85 | 86 | Finder 87 | 88 | arguments 89 | 90 | 0 91 | 92 | default value 93 | /System/Applications/Contacts.app 94 | name 95 | appPath 96 | required 97 | 0 98 | type 99 | 0 100 | uuid 101 | 0 102 | 103 | 104 | isViewVisible 105 | 1 106 | location 107 | 529.000000:279.000000 108 | nibPath 109 | /System/Library/Automator/Launch Application.action/Contents/Resources/Base.lproj/main.nib 110 | 111 | isViewVisible 112 | 1 113 | 114 | 115 | connectors 116 | 117 | workflowMetaData 118 | 119 | applicationBundleIDsByPath 120 | 121 | applicationPaths 122 | 123 | inputTypeIdentifier 124 | com.apple.Automator.nothing 125 | outputTypeIdentifier 126 | com.apple.Automator.nothing 127 | presentationMode 128 | 11 129 | processesInput 130 | 131 | serviceInputTypeIdentifier 132 | com.apple.Automator.nothing 133 | serviceOutputTypeIdentifier 134 | com.apple.Automator.nothing 135 | serviceProcessesInput 136 | 137 | systemImageName 138 | NSActionTemplate 139 | useAutomaticInputType 140 | 141 | workflowTypeIdentifier 142 | com.apple.Automator.servicesMenu 143 | 144 | 145 | 146 | -------------------------------------------------------------------------------- /automator workflows/open-remote.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleName 6 | open-remote 7 | 8 | 9 | -------------------------------------------------------------------------------- /automator workflows/open-remote.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/open-remote.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /automator workflows/open-remote.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 520 7 | AMApplicationVersion 8 | 2.10 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.cocoa.url 25 | 26 | 27 | AMActionVersion 28 | 2.0.1 29 | AMApplication 30 | 31 | Safari 32 | 33 | AMParameterProperties 34 | 35 | URLlist 36 | 37 | 38 | AMProvides 39 | 40 | Container 41 | List 42 | Types 43 | 44 | com.apple.cocoa.url 45 | 46 | 47 | ActionBundlePath 48 | /System/Library/Automator/Get Specified URLs.action 49 | ActionName 50 | Get Specified URLs 51 | ActionParameters 52 | 53 | URLlist 54 | 55 | 56 | 57 | 58 | http://192.168.0.150:8000 59 | 60 | 61 | 62 | BundleIdentifier 63 | com.apple.Automator.URLList 64 | CFBundleVersion 65 | 2.0.1 66 | CanShowSelectedItemsWhenRun 67 | 68 | CanShowWhenRun 69 | 70 | Category 71 | 72 | AMCategoryInternet 73 | 74 | Class Name 75 | AMURLListAction 76 | InputUUID 77 | 76DDCA3A-F4C3-42D3-BD0D-49C530C3D0D9 78 | Keywords 79 | 80 | Web 81 | URL 82 | Library 83 | 84 | OutputUUID 85 | 49E7CD15-0F66-477C-864C-A67BE38E44C8 86 | UUID 87 | BB0C1221-A16E-4146-BC35-BF79B1D9584A 88 | UnlocalizedApplications 89 | 90 | Safari 91 | 92 | arguments 93 | 94 | 0 95 | 96 | default value 97 | 98 | name 99 | URLlist 100 | required 101 | 0 102 | type 103 | 0 104 | uuid 105 | 0 106 | 107 | 108 | isViewVisible 109 | 1 110 | location 111 | 529.000000:227.000000 112 | nibPath 113 | /System/Library/Automator/Get Specified URLs.action/Contents/Resources/Base.lproj/main.nib 114 | 115 | isViewVisible 116 | 1 117 | 118 | 119 | action 120 | 121 | AMAccepts 122 | 123 | Container 124 | List 125 | Optional 126 | 127 | Types 128 | 129 | com.apple.cocoa.url 130 | 131 | 132 | AMActionVersion 133 | 2.0.1 134 | AMApplication 135 | 136 | Safari 137 | 138 | AMParameterProperties 139 | 140 | outputTypeTag 141 | 142 | positionTag 143 | 144 | sizeFormatTag 145 | 146 | targetSizeX 147 | 148 | targetSizeY 149 | 150 | userAgentTag 151 | 152 | 153 | AMProvides 154 | 155 | Container 156 | List 157 | Types 158 | 159 | com.apple.cocoa.string 160 | 161 | 162 | ActionBundlePath 163 | /System/Library/Automator/Website Popup.action 164 | ActionName 165 | Website Popup 166 | ActionParameters 167 | 168 | outputTypeTag 169 | 0 170 | positionTag 171 | 1 172 | sizeFormatTag 173 | 99 174 | targetSizeX 175 | 500 176 | targetSizeY 177 | 311 178 | userAgentTag 179 | 0 180 | 181 | BundleIdentifier 182 | com.apple.Automator.WebsitePopup 183 | CFBundleVersion 184 | 2.0.1 185 | CanShowSelectedItemsWhenRun 186 | 187 | CanShowWhenRun 188 | 189 | Category 190 | 191 | AMCategoryInternet 192 | 193 | Class Name 194 | AMWebsitePoppupAction 195 | InputUUID 196 | DBFFD5D5-F086-4EE1-8076-B79F98232D59 197 | Keywords 198 | 199 | OutputUUID 200 | 45642D40-A019-4D47-9EB4-426E5034EEE3 201 | UUID 202 | 4EE0EB09-9C58-4DEE-8DF2-4CD31EF466BA 203 | UnlocalizedApplications 204 | 205 | Safari 206 | 207 | arguments 208 | 209 | 0 210 | 211 | default value 212 | 0 213 | name 214 | userAgentTag 215 | required 216 | 0 217 | type 218 | 0 219 | uuid 220 | 0 221 | 222 | 1 223 | 224 | default value 225 | 0 226 | name 227 | positionTag 228 | required 229 | 0 230 | type 231 | 0 232 | uuid 233 | 1 234 | 235 | 2 236 | 237 | default value 238 | 0 239 | name 240 | sizeFormatTag 241 | required 242 | 0 243 | type 244 | 0 245 | uuid 246 | 2 247 | 248 | 3 249 | 250 | default value 251 | 0.0 252 | name 253 | targetSizeY 254 | required 255 | 0 256 | type 257 | 0 258 | uuid 259 | 3 260 | 261 | 4 262 | 263 | default value 264 | 0 265 | name 266 | outputTypeTag 267 | required 268 | 0 269 | type 270 | 0 271 | uuid 272 | 4 273 | 274 | 5 275 | 276 | default value 277 | 0.0 278 | name 279 | targetSizeX 280 | required 281 | 0 282 | type 283 | 0 284 | uuid 285 | 5 286 | 287 | 288 | isViewVisible 289 | 1 290 | location 291 | 529.000000:374.000000 292 | nibPath 293 | /System/Library/Automator/Website Popup.action/Contents/Resources/Base.lproj/main.nib 294 | 295 | isViewVisible 296 | 1 297 | 298 | 299 | connectors 300 | 301 | 1A833F73-69B1-4114-850D-68BBA692F57C 302 | 303 | from 304 | BB0C1221-A16E-4146-BC35-BF79B1D9584A - BB0C1221-A16E-4146-BC35-BF79B1D9584A 305 | to 306 | 4EE0EB09-9C58-4DEE-8DF2-4CD31EF466BA - 4EE0EB09-9C58-4DEE-8DF2-4CD31EF466BA 307 | 308 | 309 | workflowMetaData 310 | 311 | workflowTypeIdentifier 312 | com.apple.Automator.workflow 313 | 314 | 315 | 316 | -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMIsApplet 6 | 7 | AMStayOpen 8 | 9 | BuildMachineOSBuild 10 | 20A241123 11 | CFBundleAllowMixedLocalizations 12 | 13 | CFBundleDevelopmentRegion 14 | English 15 | CFBundleDocumentTypes 16 | 17 | 18 | CFBundleTypeExtensions 19 | 20 | * 21 | 22 | CFBundleTypeName 23 | Automator workflow file 24 | CFBundleTypeOSTypes 25 | 26 | **** 27 | 28 | CFBundleTypeRole 29 | Viewer 30 | 31 | 32 | CFBundleExecutable 33 | Automator Application Stub 34 | CFBundleIconFile 35 | ApplicationStub 36 | CFBundleIdentifier 37 | com.apple.automator.- 38 | CFBundleInfoDictionaryVersion 39 | 6.0 40 | CFBundleName 41 | Ω 42 | CFBundlePackageType 43 | APPL 44 | CFBundleShortVersionString 45 | 1.3 46 | CFBundleSignature 47 | ???? 48 | CFBundleSupportedPlatforms 49 | 50 | MacOSX 51 | 52 | CFBundleURLTypes 53 | 54 | CFBundleVersion 55 | 512 56 | DTCompiler 57 | com.apple.compilers.llvm.clang.1_0 58 | DTPlatformBuild 59 | 13A191 60 | DTPlatformName 61 | macosx 62 | DTPlatformVersion 63 | 12.1 64 | DTSDKBuild 65 | 21C40 66 | DTSDKName 67 | macosx12.1.internal 68 | DTXcode 69 | 1300 70 | DTXcodeBuild 71 | 13A191 72 | LSMinimumSystemVersion 73 | 10.9 74 | LSUIElement 75 | 76 | NSAppleEventsUsageDescription 77 | This workflow needs to control other applications to run. 78 | NSAppleMusicUsageDescription 79 | This workflow needs access to your music to run. 80 | NSAppleScriptEnabled 81 | YES 82 | NSCalendarsUsageDescription 83 | This workflow needs access to your calendars to run. 84 | NSCameraUsageDescription 85 | This workflow needs access to your camera to run. 86 | NSContactsUsageDescription 87 | This workflow needs access to your contacts to run. 88 | NSHomeKitUsageDescription 89 | This workflow needs access to your HomeKit Home to run. 90 | NSMicrophoneUsageDescription 91 | This workflow needs access to your microphone to run. 92 | NSPhotoLibraryUsageDescription 93 | This workflow needs access to your photos to run. 94 | NSPrincipalClass 95 | NSApplication 96 | NSRemindersUsageDescription 97 | This workflow needs access to your reminders to run. 98 | NSServices 99 | 100 | NSSiriUsageDescription 101 | This workflow needs access to Siri to run. 102 | NSSystemAdministrationUsageDescription 103 | This workflow needs access to administer this system in order to run. 104 | UTExportedTypeDeclarations 105 | 106 | UTImportedTypeDeclarations 107 | 108 | 109 | 110 | -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/MacOS/Automator Application Stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/MacOS/Automator Application Stub -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/ApplicationStub.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/ApplicationStub.icns -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/Assets.car: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/Assets.car -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/ar.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/ar.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/ca.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/ca.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/cs.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/cs.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/da.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/da.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/de.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/de.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/el.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/el.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/en.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/en_AU.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/en_AU.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/en_GB.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/en_GB.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/es.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/es.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/es_419.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/es_419.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/fi.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/fi.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/fr.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/fr.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/fr_CA.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/fr_CA.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/he.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/he.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/hi.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/hi.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/hr.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/hr.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/hu.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/hu.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/id.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/id.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/it.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/it.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/ja.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/ja.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/ko.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/ko.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/ms.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/ms.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/nl.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/nl.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/no.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/no.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/pl.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/pl.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/pt.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/pt.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/pt_PT.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/pt_PT.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/ro.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/ro.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/ru.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/ru.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/sk.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/sk.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/sv.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/sv.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/th.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/th.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/tr.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/tr.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/uk.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/uk.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/vi.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/vi.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/zh_CN.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/zh_CN.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/zh_HK.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/zh_HK.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/Resources/zh_TW.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Contents/Resources/zh_TW.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/_CodeSignature/CodeResources: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | files 6 | 7 | Resources/ApplicationStub.icns 8 | 9 | RYTqh+7iocnEIV8iTs9EgJjEkO4= 10 | 11 | Resources/Assets.car 12 | 13 | KrItyuwOUlACygpxJabqBV6rQlA= 14 | 15 | Resources/ar.lproj/InfoPlist.strings 16 | 17 | hash 18 | 19 | F0SO9OTtWzX9tkUWFsnFVjMe7q0= 20 | 21 | optional 22 | 23 | 24 | Resources/ca.lproj/InfoPlist.strings 25 | 26 | hash 27 | 28 | aCtA/QSkIT2odBrugwV6aUflNhw= 29 | 30 | optional 31 | 32 | 33 | Resources/cs.lproj/InfoPlist.strings 34 | 35 | hash 36 | 37 | IpTmpCTe8s3YGR69SeSTLghW+f4= 38 | 39 | optional 40 | 41 | 42 | Resources/da.lproj/InfoPlist.strings 43 | 44 | hash 45 | 46 | Mqxn+NsmktPVk+D3yL127h7pe9Q= 47 | 48 | optional 49 | 50 | 51 | Resources/de.lproj/InfoPlist.strings 52 | 53 | hash 54 | 55 | D1HP9cZahNzR/hyhjEO7uRI0NDk= 56 | 57 | optional 58 | 59 | 60 | Resources/el.lproj/InfoPlist.strings 61 | 62 | hash 63 | 64 | z5hkKU2BRrl346aw+ykaLC+rdrg= 65 | 66 | optional 67 | 68 | 69 | Resources/en.lproj/InfoPlist.strings 70 | 71 | hash 72 | 73 | 1b2wydwl2VFJjkXy23BqsZ3UwdU= 74 | 75 | optional 76 | 77 | 78 | Resources/en_AU.lproj/InfoPlist.strings 79 | 80 | hash 81 | 82 | 1b2wydwl2VFJjkXy23BqsZ3UwdU= 83 | 84 | optional 85 | 86 | 87 | Resources/en_GB.lproj/InfoPlist.strings 88 | 89 | hash 90 | 91 | 1b2wydwl2VFJjkXy23BqsZ3UwdU= 92 | 93 | optional 94 | 95 | 96 | Resources/es.lproj/InfoPlist.strings 97 | 98 | hash 99 | 100 | 4bPdk6Cmykkiza0KhgQRQ+ctKAk= 101 | 102 | optional 103 | 104 | 105 | Resources/es_419.lproj/InfoPlist.strings 106 | 107 | hash 108 | 109 | TToe2/RaSKKZ4YtjWFmDnXc85dw= 110 | 111 | optional 112 | 113 | 114 | Resources/fi.lproj/InfoPlist.strings 115 | 116 | hash 117 | 118 | F8Jq2QJINPzlRuUqgcd4gxgYzj0= 119 | 120 | optional 121 | 122 | 123 | Resources/fr.lproj/InfoPlist.strings 124 | 125 | hash 126 | 127 | AWfOnx1Fdo8vzKauHyhfOP9zrX0= 128 | 129 | optional 130 | 131 | 132 | Resources/fr_CA.lproj/InfoPlist.strings 133 | 134 | hash 135 | 136 | 0uVoUpzEhuf1LbpGayXU4pYOS1s= 137 | 138 | optional 139 | 140 | 141 | Resources/he.lproj/InfoPlist.strings 142 | 143 | hash 144 | 145 | /GDq46esx5l7GBn7N4WcQyNNRhM= 146 | 147 | optional 148 | 149 | 150 | Resources/hi.lproj/InfoPlist.strings 151 | 152 | hash 153 | 154 | 5QlCQjr6SFn9w55YR8QgTPRIW+A= 155 | 156 | optional 157 | 158 | 159 | Resources/hr.lproj/InfoPlist.strings 160 | 161 | hash 162 | 163 | Y0sjGS1cHhRauNq1juOjklizYPg= 164 | 165 | optional 166 | 167 | 168 | Resources/hu.lproj/InfoPlist.strings 169 | 170 | hash 171 | 172 | LFWiiI59Qeythn1OwlDSxUgQiuk= 173 | 174 | optional 175 | 176 | 177 | Resources/id.lproj/InfoPlist.strings 178 | 179 | hash 180 | 181 | JEz9Xg2RlyBz4Vi0WPJH1FqYiT8= 182 | 183 | optional 184 | 185 | 186 | Resources/it.lproj/InfoPlist.strings 187 | 188 | hash 189 | 190 | qgbcIi5FqkUnSisaPOjZDPuHoKg= 191 | 192 | optional 193 | 194 | 195 | Resources/ja.lproj/InfoPlist.strings 196 | 197 | hash 198 | 199 | e2kbJiTbTVJRA1yqAphnKnWqO6s= 200 | 201 | optional 202 | 203 | 204 | Resources/ko.lproj/InfoPlist.strings 205 | 206 | hash 207 | 208 | NN2seNjiCdTKGEzgLCLoBUd7UJs= 209 | 210 | optional 211 | 212 | 213 | Resources/ms.lproj/InfoPlist.strings 214 | 215 | hash 216 | 217 | GNbOBJ2e6bLamY6JwuoUdGYpCSw= 218 | 219 | optional 220 | 221 | 222 | Resources/nl.lproj/InfoPlist.strings 223 | 224 | hash 225 | 226 | I7h98RTkfuZIFDyEhsYc+3O3jLQ= 227 | 228 | optional 229 | 230 | 231 | Resources/no.lproj/InfoPlist.strings 232 | 233 | hash 234 | 235 | fQtyUOstFQa4DSlj405RZgndyCo= 236 | 237 | optional 238 | 239 | 240 | Resources/pl.lproj/InfoPlist.strings 241 | 242 | hash 243 | 244 | G6YJqEgURfBMbepNyi0jhR+A6KE= 245 | 246 | optional 247 | 248 | 249 | Resources/pt.lproj/InfoPlist.strings 250 | 251 | hash 252 | 253 | /AVcpVtBGCpkYTLJ1+ztF/e6yZ4= 254 | 255 | optional 256 | 257 | 258 | Resources/pt_PT.lproj/InfoPlist.strings 259 | 260 | hash 261 | 262 | ptG9r+cl0MQk7zsOffI5DBdcfGs= 263 | 264 | optional 265 | 266 | 267 | Resources/ro.lproj/InfoPlist.strings 268 | 269 | hash 270 | 271 | P6PMQDRySb7DxZFHaeubv5+Nwbs= 272 | 273 | optional 274 | 275 | 276 | Resources/ru.lproj/InfoPlist.strings 277 | 278 | hash 279 | 280 | 4z+uV8QNHd+5krrtA/R+xu0DETA= 281 | 282 | optional 283 | 284 | 285 | Resources/sk.lproj/InfoPlist.strings 286 | 287 | hash 288 | 289 | i3pE5+MKHrEnLOfAT0vEHOpHaGI= 290 | 291 | optional 292 | 293 | 294 | Resources/sv.lproj/InfoPlist.strings 295 | 296 | hash 297 | 298 | B9cPueEWWBNn0Kc32oXcM6lvmO8= 299 | 300 | optional 301 | 302 | 303 | Resources/th.lproj/InfoPlist.strings 304 | 305 | hash 306 | 307 | ywMI3qt6ElFQhqC/qQ1ODkLVwr0= 308 | 309 | optional 310 | 311 | 312 | Resources/tr.lproj/InfoPlist.strings 313 | 314 | hash 315 | 316 | WNu5v5thwCw1wMpYMVQ2LJa5n1Y= 317 | 318 | optional 319 | 320 | 321 | Resources/uk.lproj/InfoPlist.strings 322 | 323 | hash 324 | 325 | jNwtLiX6ZppLZGBT2AduuHGcdmE= 326 | 327 | optional 328 | 329 | 330 | Resources/vi.lproj/InfoPlist.strings 331 | 332 | hash 333 | 334 | uqOH5qBwvrURhmTjwrj17e/Q/OA= 335 | 336 | optional 337 | 338 | 339 | Resources/zh_CN.lproj/InfoPlist.strings 340 | 341 | hash 342 | 343 | zWQq7Cs/duV+X9oGtocw4eBe0ZI= 344 | 345 | optional 346 | 347 | 348 | Resources/zh_HK.lproj/InfoPlist.strings 349 | 350 | hash 351 | 352 | cHW9oL6O2njSMA6S7/aK7SQAMfw= 353 | 354 | optional 355 | 356 | 357 | Resources/zh_TW.lproj/InfoPlist.strings 358 | 359 | hash 360 | 361 | eFrot6B9EZ+pJlUHTqvldd/g3iQ= 362 | 363 | optional 364 | 365 | 366 | 367 | files2 368 | 369 | Resources/ApplicationStub.icns 370 | 371 | hash 372 | 373 | RYTqh+7iocnEIV8iTs9EgJjEkO4= 374 | 375 | hash2 376 | 377 | odOqeBevxysHIbR5V5qgZz11qTuV9cL5jKaIcUw3R0I= 378 | 379 | 380 | Resources/Assets.car 381 | 382 | hash 383 | 384 | KrItyuwOUlACygpxJabqBV6rQlA= 385 | 386 | hash2 387 | 388 | oSPo1eYsnqCUNYtKLDWeZn4vf++cqS7dQ6kPmtAN9Do= 389 | 390 | 391 | Resources/ar.lproj/InfoPlist.strings 392 | 393 | hash 394 | 395 | F0SO9OTtWzX9tkUWFsnFVjMe7q0= 396 | 397 | hash2 398 | 399 | UYtY+K0barF3vXIr1vet4buHYl5sqMjYXrNourFGUVY= 400 | 401 | optional 402 | 403 | 404 | Resources/ca.lproj/InfoPlist.strings 405 | 406 | hash 407 | 408 | aCtA/QSkIT2odBrugwV6aUflNhw= 409 | 410 | hash2 411 | 412 | CT4V/4iWzWUPPtNeUJ4fzEj0U0ISBDj8OZXtuq6SBR4= 413 | 414 | optional 415 | 416 | 417 | Resources/cs.lproj/InfoPlist.strings 418 | 419 | hash 420 | 421 | IpTmpCTe8s3YGR69SeSTLghW+f4= 422 | 423 | hash2 424 | 425 | qyeHkeXUHT0MLJXFM2OrbvJAbpsh3bEtk+fIUy7uuF8= 426 | 427 | optional 428 | 429 | 430 | Resources/da.lproj/InfoPlist.strings 431 | 432 | hash 433 | 434 | Mqxn+NsmktPVk+D3yL127h7pe9Q= 435 | 436 | hash2 437 | 438 | BPdq2q/UfXTWRauODtejqFlmKXWkI2zLVngWaE5BN+A= 439 | 440 | optional 441 | 442 | 443 | Resources/de.lproj/InfoPlist.strings 444 | 445 | hash 446 | 447 | D1HP9cZahNzR/hyhjEO7uRI0NDk= 448 | 449 | hash2 450 | 451 | Mo8tjiHJHTrCJdsi1/IqnDGvy69apXBktOwMAs71kv4= 452 | 453 | optional 454 | 455 | 456 | Resources/el.lproj/InfoPlist.strings 457 | 458 | hash 459 | 460 | z5hkKU2BRrl346aw+ykaLC+rdrg= 461 | 462 | hash2 463 | 464 | cehrlyBa05oMg4BgIBUmeHKTXkUPjgncaDWp7jg26uk= 465 | 466 | optional 467 | 468 | 469 | Resources/en.lproj/InfoPlist.strings 470 | 471 | hash 472 | 473 | 1b2wydwl2VFJjkXy23BqsZ3UwdU= 474 | 475 | hash2 476 | 477 | hFx+B4kTwFrl4GWPbeiqWtlmQN65f8k7b6KEJ6uucSA= 478 | 479 | optional 480 | 481 | 482 | Resources/en_AU.lproj/InfoPlist.strings 483 | 484 | hash 485 | 486 | 1b2wydwl2VFJjkXy23BqsZ3UwdU= 487 | 488 | hash2 489 | 490 | hFx+B4kTwFrl4GWPbeiqWtlmQN65f8k7b6KEJ6uucSA= 491 | 492 | optional 493 | 494 | 495 | Resources/en_GB.lproj/InfoPlist.strings 496 | 497 | hash 498 | 499 | 1b2wydwl2VFJjkXy23BqsZ3UwdU= 500 | 501 | hash2 502 | 503 | hFx+B4kTwFrl4GWPbeiqWtlmQN65f8k7b6KEJ6uucSA= 504 | 505 | optional 506 | 507 | 508 | Resources/es.lproj/InfoPlist.strings 509 | 510 | hash 511 | 512 | 4bPdk6Cmykkiza0KhgQRQ+ctKAk= 513 | 514 | hash2 515 | 516 | GfqxeH3Np8JwPYked11cE60eOtZ84y46d2KY2EAluLw= 517 | 518 | optional 519 | 520 | 521 | Resources/es_419.lproj/InfoPlist.strings 522 | 523 | hash 524 | 525 | TToe2/RaSKKZ4YtjWFmDnXc85dw= 526 | 527 | hash2 528 | 529 | 2sFW8/Q0/xm528/xWMB/CkjTxoReevQ711oiSJphV6M= 530 | 531 | optional 532 | 533 | 534 | Resources/fi.lproj/InfoPlist.strings 535 | 536 | hash 537 | 538 | F8Jq2QJINPzlRuUqgcd4gxgYzj0= 539 | 540 | hash2 541 | 542 | mChHUCiVAWBtM9DbWT/5AcpcofTC/uz7zUdEO6nauUw= 543 | 544 | optional 545 | 546 | 547 | Resources/fr.lproj/InfoPlist.strings 548 | 549 | hash 550 | 551 | AWfOnx1Fdo8vzKauHyhfOP9zrX0= 552 | 553 | hash2 554 | 555 | lQJ9UHcbKPuebvCLFv6KP8OV7H9eoUqhnYN8WQ7MeXo= 556 | 557 | optional 558 | 559 | 560 | Resources/fr_CA.lproj/InfoPlist.strings 561 | 562 | hash 563 | 564 | 0uVoUpzEhuf1LbpGayXU4pYOS1s= 565 | 566 | hash2 567 | 568 | T3IPXVGEKscNVbzZXk4sx1WeykeL8SiSTlCUw2YcPt0= 569 | 570 | optional 571 | 572 | 573 | Resources/he.lproj/InfoPlist.strings 574 | 575 | hash 576 | 577 | /GDq46esx5l7GBn7N4WcQyNNRhM= 578 | 579 | hash2 580 | 581 | BpFFXq82vQ7DCQy075WqOj7XAc+DQe0uIZ/SwYz3LBA= 582 | 583 | optional 584 | 585 | 586 | Resources/hi.lproj/InfoPlist.strings 587 | 588 | hash 589 | 590 | 5QlCQjr6SFn9w55YR8QgTPRIW+A= 591 | 592 | hash2 593 | 594 | 6a0WzHJO/ez44UbfVyiZcCQ/Vby5fn86uVeIFU87Tmc= 595 | 596 | optional 597 | 598 | 599 | Resources/hr.lproj/InfoPlist.strings 600 | 601 | hash 602 | 603 | Y0sjGS1cHhRauNq1juOjklizYPg= 604 | 605 | hash2 606 | 607 | 2ZtubRowLf799ApGXIP/Z5QZ4fj81mCQt3QPR859KoM= 608 | 609 | optional 610 | 611 | 612 | Resources/hu.lproj/InfoPlist.strings 613 | 614 | hash 615 | 616 | LFWiiI59Qeythn1OwlDSxUgQiuk= 617 | 618 | hash2 619 | 620 | U3nG/YkO0+gdWGO8Tr9CAqp1+k5sgRMY1wo+ksiS/LI= 621 | 622 | optional 623 | 624 | 625 | Resources/id.lproj/InfoPlist.strings 626 | 627 | hash 628 | 629 | JEz9Xg2RlyBz4Vi0WPJH1FqYiT8= 630 | 631 | hash2 632 | 633 | v0DmqpVv+M0CnM4wyBT8oBb0znDBOc9hckzQvoXRqSE= 634 | 635 | optional 636 | 637 | 638 | Resources/it.lproj/InfoPlist.strings 639 | 640 | hash 641 | 642 | qgbcIi5FqkUnSisaPOjZDPuHoKg= 643 | 644 | hash2 645 | 646 | 9TeTOjxvV0oaQs5DnO/TOseWv8Tq1mojGPOPr2HTD2U= 647 | 648 | optional 649 | 650 | 651 | Resources/ja.lproj/InfoPlist.strings 652 | 653 | hash 654 | 655 | e2kbJiTbTVJRA1yqAphnKnWqO6s= 656 | 657 | hash2 658 | 659 | Vrvn8onyuUvZCodiqToI0IvIHzNcCIiewKYaCIG8vh4= 660 | 661 | optional 662 | 663 | 664 | Resources/ko.lproj/InfoPlist.strings 665 | 666 | hash 667 | 668 | NN2seNjiCdTKGEzgLCLoBUd7UJs= 669 | 670 | hash2 671 | 672 | gH97aOpJ0251LsRgXxK8qnjANPyCuNqQpqzXBj11pMI= 673 | 674 | optional 675 | 676 | 677 | Resources/ms.lproj/InfoPlist.strings 678 | 679 | hash 680 | 681 | GNbOBJ2e6bLamY6JwuoUdGYpCSw= 682 | 683 | hash2 684 | 685 | 1plZn/TgaCO7Vvst1GEcEs7z1tl0YoXPAw6VDTKETcg= 686 | 687 | optional 688 | 689 | 690 | Resources/nl.lproj/InfoPlist.strings 691 | 692 | hash 693 | 694 | I7h98RTkfuZIFDyEhsYc+3O3jLQ= 695 | 696 | hash2 697 | 698 | dDrgMogQ3i0WvXIafOKgSClaH0XMbVY/rNvnUi0SPnY= 699 | 700 | optional 701 | 702 | 703 | Resources/no.lproj/InfoPlist.strings 704 | 705 | hash 706 | 707 | fQtyUOstFQa4DSlj405RZgndyCo= 708 | 709 | hash2 710 | 711 | hcrQCwcTx2QdMiecUz4XlkSdQkdAbZMTBat8MODSUR4= 712 | 713 | optional 714 | 715 | 716 | Resources/pl.lproj/InfoPlist.strings 717 | 718 | hash 719 | 720 | G6YJqEgURfBMbepNyi0jhR+A6KE= 721 | 722 | hash2 723 | 724 | Eg7JfDNvq1QBpwIaIWPsAX41iw2KeuCmhAAy6Kx/BeI= 725 | 726 | optional 727 | 728 | 729 | Resources/pt.lproj/InfoPlist.strings 730 | 731 | hash 732 | 733 | /AVcpVtBGCpkYTLJ1+ztF/e6yZ4= 734 | 735 | hash2 736 | 737 | ImB+m8USO1aXEDH9Qi1e8iMfur1ULssAgbU5CPtwml4= 738 | 739 | optional 740 | 741 | 742 | Resources/pt_PT.lproj/InfoPlist.strings 743 | 744 | hash 745 | 746 | ptG9r+cl0MQk7zsOffI5DBdcfGs= 747 | 748 | hash2 749 | 750 | pwScaTFoxiCmOSAaglYCRItucpHfCxn8rDlIxKMsEcA= 751 | 752 | optional 753 | 754 | 755 | Resources/ro.lproj/InfoPlist.strings 756 | 757 | hash 758 | 759 | P6PMQDRySb7DxZFHaeubv5+Nwbs= 760 | 761 | hash2 762 | 763 | bEc/b1SXK6CgoVXVKTUxjNoQHu46AusBWsgZzJSR0vU= 764 | 765 | optional 766 | 767 | 768 | Resources/ru.lproj/InfoPlist.strings 769 | 770 | hash 771 | 772 | 4z+uV8QNHd+5krrtA/R+xu0DETA= 773 | 774 | hash2 775 | 776 | YZGozYMbyk3oh/xdErbMkmFU432m59bDY8rcESQ/CzY= 777 | 778 | optional 779 | 780 | 781 | Resources/sk.lproj/InfoPlist.strings 782 | 783 | hash 784 | 785 | i3pE5+MKHrEnLOfAT0vEHOpHaGI= 786 | 787 | hash2 788 | 789 | tlsoVqUqGkFLzBOFvRReHuK3aBTBYCYnzm74Nd52c+0= 790 | 791 | optional 792 | 793 | 794 | Resources/sv.lproj/InfoPlist.strings 795 | 796 | hash 797 | 798 | B9cPueEWWBNn0Kc32oXcM6lvmO8= 799 | 800 | hash2 801 | 802 | 30IziHiRcywnCrLJacSIsy0VS4XfRnSKlBIPTpBVbBg= 803 | 804 | optional 805 | 806 | 807 | Resources/th.lproj/InfoPlist.strings 808 | 809 | hash 810 | 811 | ywMI3qt6ElFQhqC/qQ1ODkLVwr0= 812 | 813 | hash2 814 | 815 | Dd29Zz2zQziIIMlyLCYR1ZSsc5xvLjYS7Z13cfCZWYU= 816 | 817 | optional 818 | 819 | 820 | Resources/tr.lproj/InfoPlist.strings 821 | 822 | hash 823 | 824 | WNu5v5thwCw1wMpYMVQ2LJa5n1Y= 825 | 826 | hash2 827 | 828 | Ke6eFRECOjAz2ghzYhc+PFjHABp0YAUfVZET6mXJAz0= 829 | 830 | optional 831 | 832 | 833 | Resources/uk.lproj/InfoPlist.strings 834 | 835 | hash 836 | 837 | jNwtLiX6ZppLZGBT2AduuHGcdmE= 838 | 839 | hash2 840 | 841 | t4dWkDY6B0lGC8+jvgpisFfDuDs9xvAvpdF4wP5qDm4= 842 | 843 | optional 844 | 845 | 846 | Resources/vi.lproj/InfoPlist.strings 847 | 848 | hash 849 | 850 | uqOH5qBwvrURhmTjwrj17e/Q/OA= 851 | 852 | hash2 853 | 854 | 7abgjplfjNbOer9I7gCS+rWphilToacAStN3WsPoMJE= 855 | 856 | optional 857 | 858 | 859 | Resources/zh_CN.lproj/InfoPlist.strings 860 | 861 | hash 862 | 863 | zWQq7Cs/duV+X9oGtocw4eBe0ZI= 864 | 865 | hash2 866 | 867 | +uJpl8cAmlEG1VKEW8XaXb2WftwpgDQc5RW/PKYMw3g= 868 | 869 | optional 870 | 871 | 872 | Resources/zh_HK.lproj/InfoPlist.strings 873 | 874 | hash 875 | 876 | cHW9oL6O2njSMA6S7/aK7SQAMfw= 877 | 878 | hash2 879 | 880 | EZzoy3pe9XgRvRPcndIgtLoohQAW0ELmXgnzEn/dr3Q= 881 | 882 | optional 883 | 884 | 885 | Resources/zh_TW.lproj/InfoPlist.strings 886 | 887 | hash 888 | 889 | eFrot6B9EZ+pJlUHTqvldd/g3iQ= 890 | 891 | hash2 892 | 893 | WI5/PxLUfGiBtRa7ubTCLnCoYZoHGI4TN11epsVlWcw= 894 | 895 | optional 896 | 897 | 898 | document.wflow 899 | 900 | cdhash 901 | 902 | WW84e5LLp+YugHBTw2ugA0SdlcE= 903 | 904 | requirement 905 | cdhash H"b1c5ab2b971c708e713e458d2121fea75e86e889" or cdhash H"596f387b92cba7e62e807053c36ba003449d95c1" 906 | 907 | 908 | rules 909 | 910 | ^Resources/ 911 | 912 | ^Resources/.*\.lproj/ 913 | 914 | optional 915 | 916 | weight 917 | 1000 918 | 919 | ^Resources/.*\.lproj/locversion.plist$ 920 | 921 | omit 922 | 923 | weight 924 | 1100 925 | 926 | ^Resources/Base\.lproj/ 927 | 928 | weight 929 | 1010 930 | 931 | ^version.plist$ 932 | 933 | 934 | rules2 935 | 936 | .*\.dSYM($|/) 937 | 938 | weight 939 | 11 940 | 941 | ^(.*/)?\.DS_Store$ 942 | 943 | omit 944 | 945 | weight 946 | 2000 947 | 948 | ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ 949 | 950 | nested 951 | 952 | weight 953 | 10 954 | 955 | ^.* 956 | 957 | ^Info\.plist$ 958 | 959 | omit 960 | 961 | weight 962 | 20 963 | 964 | ^PkgInfo$ 965 | 966 | omit 967 | 968 | weight 969 | 20 970 | 971 | ^Resources/ 972 | 973 | weight 974 | 20 975 | 976 | ^Resources/.*\.lproj/ 977 | 978 | optional 979 | 980 | weight 981 | 1000 982 | 983 | ^Resources/.*\.lproj/locversion.plist$ 984 | 985 | omit 986 | 987 | weight 988 | 1100 989 | 990 | ^Resources/Base\.lproj/ 991 | 992 | weight 993 | 1010 994 | 995 | ^[^/]+$ 996 | 997 | nested 998 | 999 | weight 1000 | 10 1001 | 1002 | ^embedded\.provisionprofile$ 1003 | 1004 | weight 1005 | 20 1006 | 1007 | ^version\.plist$ 1008 | 1009 | weight 1010 | 20 1011 | 1012 | 1013 | 1014 | 1015 | -------------------------------------------------------------------------------- /automator workflows/Ω.app/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 512 7 | AMApplicationVersion 8 | 2.10 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.applescript.object 25 | 26 | 27 | AMActionVersion 28 | 1.0.2 29 | AMApplication 30 | 31 | Automator 32 | 33 | AMParameterProperties 34 | 35 | source 36 | 37 | 38 | AMProvides 39 | 40 | Container 41 | List 42 | Types 43 | 44 | com.apple.applescript.object 45 | 46 | 47 | ActionBundlePath 48 | /System/Library/Automator/Run AppleScript.action 49 | ActionName 50 | Run AppleScript 51 | ActionParameters 52 | 53 | source 54 | on run {input, parameters} if not input is equal to {} then else set deskFolder to path to desktop tell application "Finder" reopen activate set folderPath to folder "desktop-extras-(nonsort)" of folder "SystemFiles" of folder "important" of deskFolder set target of Finder window 1 to folderPath end tell end if return input end run 55 | 56 | BundleIdentifier 57 | com.apple.Automator.RunScript 58 | CFBundleVersion 59 | 1.0.2 60 | CanShowSelectedItemsWhenRun 61 | 62 | CanShowWhenRun 63 | 64 | Category 65 | 66 | AMCategoryUtilities 67 | 68 | Class Name 69 | RunScriptAction 70 | InputUUID 71 | 6E407FB9-48EC-4493-80DC-9BB8AA9D4D4A 72 | Keywords 73 | 74 | Run 75 | 76 | OutputUUID 77 | 0CD7ACA4-AADA-4739-9EB5-EF1B35E42C1A 78 | UUID 79 | 64010DDD-E229-4B2C-BF04-422972FD7AA6 80 | UnlocalizedApplications 81 | 82 | Automator 83 | 84 | arguments 85 | 86 | 0 87 | 88 | default value 89 | on run {input, parameters} 90 | 91 | (* Your script goes here *) 92 | 93 | return input 94 | end run 95 | name 96 | source 97 | required 98 | 0 99 | type 100 | 0 101 | uuid 102 | 0 103 | 104 | 105 | isViewVisible 106 | 1 107 | location 108 | 529.000000:315.000000 109 | nibPath 110 | /System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib 111 | 112 | isViewVisible 113 | 1 114 | 115 | 116 | action 117 | 118 | AMAccepts 119 | 120 | Container 121 | List 122 | Optional 123 | 124 | Types 125 | 126 | com.apple.cocoa.path 127 | 128 | 129 | AMActionVersion 130 | 1.1.2 131 | AMApplication 132 | 133 | Finder 134 | 135 | AMParameterProperties 136 | 137 | replaceExisting 138 | 139 | toDirectory 140 | 141 | isPathPopUp 142 | 143 | variableUUIDsInMenu 144 | 145 | 146 | 147 | AMProvides 148 | 149 | Container 150 | List 151 | Types 152 | 153 | com.apple.cocoa.path 154 | 155 | 156 | ActionBundlePath 157 | /System/Library/Automator/Move Finder Items.action 158 | ActionName 159 | Move Finder Items 160 | ActionParameters 161 | 162 | replaceExisting 163 | 164 | toDirectory 165 | ~/Desktop/important/SystemFiles/desktop-extras-(nonsort) 166 | 167 | BundleIdentifier 168 | com.apple.Automator.MoveFiles 169 | CFBundleVersion 170 | 1.1.2 171 | CanShowSelectedItemsWhenRun 172 | 173 | CanShowWhenRun 174 | 175 | Category 176 | 177 | AMCategoryFilesAndFolders 178 | 179 | Class Name 180 | MoveFilesAction 181 | InputUUID 182 | 13E5D418-4266-4F20-B9E5-FFF5D13C4F4E 183 | Keywords 184 | 185 | File 186 | Move 187 | 188 | OutputUUID 189 | 912BC46F-1A06-4F72-ACF8-A0651E00208D 190 | UUID 191 | 9A500AC0-910D-410A-A0D6-6D146539D3D6 192 | UnlocalizedApplications 193 | 194 | Finder 195 | 196 | arguments 197 | 198 | 0 199 | 200 | default value 201 | ~/Desktop 202 | name 203 | toDirectory 204 | required 205 | 0 206 | type 207 | 0 208 | uuid 209 | 0 210 | 211 | 1 212 | 213 | default value 214 | 215 | name 216 | replaceExisting 217 | required 218 | 0 219 | type 220 | 0 221 | uuid 222 | 1 223 | 224 | 225 | isViewVisible 226 | 1 227 | location 228 | 529.000000:415.000000 229 | nibPath 230 | /System/Library/Automator/Move Finder Items.action/Contents/Resources/Base.lproj/main.nib 231 | 232 | isViewVisible 233 | 1 234 | 235 | 236 | connectors 237 | 238 | 9A6D9695-43D9-4A13-B6ED-1872A1AE5E39 239 | 240 | from 241 | 64010DDD-E229-4B2C-BF04-422972FD7AA6 - 64010DDD-E229-4B2C-BF04-422972FD7AA6 242 | to 243 | 9A500AC0-910D-410A-A0D6-6D146539D3D6 - 9A500AC0-910D-410A-A0D6-6D146539D3D6 244 | 245 | 246 | workflowMetaData 247 | 248 | workflowTypeIdentifier 249 | com.apple.Automator.application 250 | 251 | 252 | 253 | -------------------------------------------------------------------------------- /automator workflows/Ω.app/Icon : -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/automator workflows/Ω.app/Icon -------------------------------------------------------------------------------- /cleanDesktop-command-opt-2.applescript: -------------------------------------------------------------------------------- 1 | # gives an extra dock icon row (if have autohide off) 2 | tell application "System Events" 3 | set autohide_status to autohide of dock preferences 4 | tell process "Finder" to set isDesktopFocused to (focused of scroll area 1) # scroll area 1 === desktop "window" 5 | if (not(isDesktopFocused)) 6 | tell process "Finder" 7 | # sort by (kind) --the only folder that runs "clean up" is the desktop, otherwise: sort by => kind 8 | tell menu 1 of menu item "Sort By" of menu 1 of menu bar item "View" of menu bar 1 9 | click menu item "Kind" 10 | end tell 11 | end tell 12 | end if 13 | 14 | # autohide dock + delays (if main desktop window is in focus) 15 | if isDesktopFocused is equal to true and autohide_status is equal to false 16 | set autohide of dock preferences to true 17 | delay 1.2 #give time for hide to be noticed by clean fn 18 | end if 19 | tell process "Finder" 20 | # clean up (by kind) 21 | tell menu 1 of menu item "Clean Up By" of menu 1 of menu bar item "View" of menu bar 1 22 | click menu item "Kind" 23 | end tell 24 | 25 | # undo autohide (if necessary) 26 | end tell 27 | if isDesktopFocused is equal to true and autohide_status is equal to false then set autohide of dock preferences to false 28 | end tell 29 | 30 | 31 | -------------------------------------------------------------------------------- /cleandesktop.applescript: -------------------------------------------------------------------------------- 1 | # screenhook - EXCLUSIVE script 2 | tell application "System Events" 3 | delay 6 4 | key code 103 5 | delay 0.1 6 | activate application "Finder" 7 | set autohide_status to autohide of dock preferences 8 | if autohide_status is equal to false then 9 | set autohide of dock preferences to true 10 | delay 1.2 #give time for hide to be noticed by clean fn 11 | else 12 | delay 0.1 #give time for clean fn to work (after showing desktop & activating finder) 13 | end if 14 | key code 19 using {command down, option down} 15 | if autohide_status is equal to false then set autohide of dock preferences to false 16 | key code 103 17 | end tell 18 | -------------------------------------------------------------------------------- /click-cmd-cycle-windows.applescript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/click-cmd-cycle-windows.applescript -------------------------------------------------------------------------------- /click-shift-file-new-window.applescript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/click-shift-file-new-window.applescript -------------------------------------------------------------------------------- /close-all-permission-dialogs.applescript: -------------------------------------------------------------------------------- 1 | # sometimes apps popup too many permission dialogs, this will close 100 of them quickly 2 | set numDialogs to 100 3 | delay 0.5 4 | repeat numDialogs times 5 | delay 0.07 6 | tell application id "com.apple.accessibility.universalAccessAuthWarn" 7 | 8 | activate 9 | 10 | end tell 11 | 12 | keystroke " " 13 | 14 | end repeat 15 | -------------------------------------------------------------------------------- /close-window-with-cycle-if-applicable.applescript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/close-window-with-cycle-if-applicable.applescript -------------------------------------------------------------------------------- /cmd-e-finder-shortcut.applescript: -------------------------------------------------------------------------------- 1 | tell application "System Events" to set uname to name of current user 2 | tell application "Finder" 3 | make new Finder window to folder "Desktop" of folder uname of folder "Users" of startup disk 4 | activate 5 | -- make new Finder window 6 | -- set target of window 1 to folder "Desktop" of folder "super" of folder "Users" of startup disk 7 | end tell 8 | -------------------------------------------------------------------------------- /cmd-m-minimize.applescript: -------------------------------------------------------------------------------- 1 | # get active app 2 | tell application "BetterTouchTool" to set tarAppID to get_string_variable "BTTActiveAppBundleIdentifier" 3 | set tarApp to name of application id tarAppID 4 | set tarAppPName to getPName(tarApp) 5 | 6 | set focusedWIndex to 1 7 | tell application "System Events" 8 | tell process tarAppPName 9 | try # get the active window (helps w/ Firefox (Picture-in-Picture) 10 | set x to 1 11 | repeat with w in windows 12 | if value of attribute "AXMain" of w is equal to true or focused of w is equal to true 13 | set focusedWIndex to x 14 | exit repeat 15 | end if 16 | set x to (x + 1) 17 | end repeat 18 | end try 19 | set OGWindow to window focusedWIndex 20 | end tell 21 | end tell 22 | 23 | # get new active app 24 | tell application "AltTab" to trigger 25 | delay 0.05 # let app fully activate 26 | tell application "BetterTouchTool" to set nextAppID to get_string_variable "BTTActiveAppBundleIdentifier" 27 | set nextApp to name of application id nextAppID 28 | 29 | 30 | # minimize (by process) 31 | set wIndex to focusedWIndex # reset --in case it was incremented (by app) 32 | set newFocusedWIndex to 1 33 | tell application "System Events" 34 | tell process tarAppPName 35 | try # get new active window (helps w/ Firefox (Picture-in-Picture) 36 | set x to 1 37 | repeat with w in windows 38 | if value of attribute "AXMain" of w is equal to true or focused of w is equal to true 39 | set newFocusedWIndex to x 40 | exit repeat 41 | end if 42 | set x to (x + 1) 43 | end repeat 44 | end try 45 | 46 | set winCount to (count of windows) - (count of (windows whose value of attribute "AXMinimized" is true)) - (count of (windows whose title is "Picture-in-Picture")) 47 | if winCount is equal to 0 then return "0 windows" 48 | if tarApp is equal to "KeyCastr" then set wIndex to wIndex + 1 # apps where window 1 === uncloseable overlay 49 | 50 | # get wIndex, handle floating windows 51 | set isFloatingWindow to (focusedWIndex is equal to 1 and newFocusedWIndex > 1) or (focusedWIndex is equal to 1 and newFocusedWIndex is equal to 1 and nextApp is equal to tarApp and winCount > 1) 52 | set floatingWinExists to isFloatingWindow or (focusedWIndex > 1 or newFocusedWIndex > 1) 53 | set isOGWindow to OGWindow is equal to window 1 54 | if nextApp is equal to tarApp and winCount > 1 and not(isOGWindow) 55 | if floatingWinExists 56 | if isFloatingWindow 57 | set wIndex to newFocusedWIndex + 1 58 | else 59 | set wIndex to wIndex + 1 60 | end if 61 | else 62 | set wIndex to 2 63 | end if 64 | end if 65 | 66 | # perform minimize 67 | set tarWin to window wIndex 68 | try 69 | set value of attribute "AXMinimized" of tarWin to true 70 | return {tarApp, nextApp, "process1"} 71 | end try 72 | click (tarWin's buttons whose subrole is "AXMinimizeButton") 73 | return {tarApp, nextApp, "process2"} 74 | end tell 75 | end tell 76 | 77 | 78 | # minimize (by application) 79 | set wIndex to focusedWIndex # tarWin window index (floating/frontmost window) 80 | tell application tarApp 81 | try 82 | set winCount to (count of windows) 83 | if winCount is equal to 0 then return "0 windows" 84 | if nextApp is equal to tarApp and winCount > 1 and not(isOGWindow) then set wIndex to wIndex + 1 85 | set tarWin to window wIndex 86 | set collapsed of tarWin to true 87 | return {tarApp, nextApp, "application1"} 88 | end try 89 | try 90 | -- if tarApp is equal to "Emacs" 91 | -- tell application "Emacs" to set miniaturized of tarWin to true 92 | -- else 93 | set miniaturized of tarWin to true 94 | -- end if 95 | return {tarApp, nextApp, "application2"} 96 | end try 97 | end tell 98 | 99 | 100 | 101 | 102 | 103 | # helper fn's 104 | on getPName(axTitle) # process name from axTitle (eg: tell process getPName("Visual Studio Code") => tell process "Code") 105 | #todo: find all exceptions: (apps whose app name !== process name (examples below)) 106 | if axTitle is equal to "Parallels Mac VM" then return "Parallels Desktop" 107 | if axTitle is equal to "Alfred 4" or axTitle is equal to "Alfred 5" then return "Alfred" 108 | if axTitle is equal to "Visual Studio Code" then return "Code" 109 | if axTitle is equal to "iTerm" then return "iTerm2" 110 | if axTitle is equal to "PyCharm CE" then return "PyCharm" 111 | if axTitle is equal to "Adobe Illustrator 2021" then return "Adobe Illustrator" 112 | if axTitle is equal to "Adobe Photoshop 2021" then return "Photoshop" 113 | if axTitle is equal to "Adobe Premiere Pro 2021" then return "Premiere Pro" 114 | return axTitle 115 | end getPName 116 | -------------------------------------------------------------------------------- /cmd-shift-w-close.applescript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/cmd-shift-w-close.applescript -------------------------------------------------------------------------------- /cmd-w-close.applescript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/cmd-w-close.applescript -------------------------------------------------------------------------------- /compile-all.sh: -------------------------------------------------------------------------------- 1 | for filePath in ./*.applescript; do 2 | # do some stuff here with "$f" 3 | # remember to quote it or spaces may misbehave 4 | name=${filePath%????????????}.scpt # name w/o extension 5 | echo "file ${name} successfully created" 6 | osacompile -o "${name}" "${filePath}" 7 | done 8 | -------------------------------------------------------------------------------- /cornerBottomRightTowards.applescript: -------------------------------------------------------------------------------- 1 | set hkWin to null 2 | tell application "iTerm" 3 | -- set a to create hotkey window with profile "Hotkey Window" 4 | repeat with win in windows 5 | if is hotkey window of win 6 | set hkWin to win 7 | exit repeat 8 | end if 9 | end repeat 10 | if (hkWin is equal to null) 11 | create hotkey window with profile "Hotkey Window" 12 | else 13 | toggle hotkey window hkWin 14 | end if 15 | end tell 16 | -------------------------------------------------------------------------------- /cornerClick.applescript: -------------------------------------------------------------------------------- 1 | # screenhook - EXCLUSIVE script 2 | tell application "BetterTouchTool" 3 | set_number_variable "cornerRight" to 1.0 4 | delay 0.1 5 | tell application "System Events" 6 | key down 63 7 | key code 45 8 | key up 63 9 | end tell 10 | end tell 11 | -------------------------------------------------------------------------------- /dblClickMainMenuBar.applescript: -------------------------------------------------------------------------------- 1 | tell application "BetterTouchTool" 2 | set cornerRight to get_number_variable "cornerRight" 3 | if not (cornerRight is equal to 0.0) 4 | set_number_variable "cornerRight" to 0.0 5 | else 6 | set_number_variable "cornerRight" to 1.0 7 | end if 8 | trigger_named "showDesktop" 9 | end tell 10 | -------------------------------------------------------------------------------- /escapeKeyHook.applescript: -------------------------------------------------------------------------------- 1 | tell application "System Events" 2 | key code 53 3 | end tell 4 | 5 | tell application "BetterTouchTool" 6 | set_number_variable "TaskSwitcherOpen" to 0.0 7 | set_number_variable "AltTabSwitcherOpen" to 0.0 8 | end tell 9 | -------------------------------------------------------------------------------- /firefox-cmd-shift-n.applescript: -------------------------------------------------------------------------------- 1 | tell application "System Events" # block prevents unecessary ffCloseOrder change on PIP 2 | tell process "Firefox" 3 | set x to 1 4 | set focusedWIndex to 0 5 | repeat with w in windows 6 | if value of attribute "AXMain" of w is equal to true -- if focused of w is equal to true 7 | set focusedWIndex to x 8 | exit repeat 9 | end if 10 | set x to (x + 1) 11 | end repeat 12 | if count of windows > 0 and title of window focusedWIndex is equal to "Picture-In-Picture" then return "won't work on PIP" 13 | end tell 14 | end tell 15 | 16 | tell application "BetterTouchTool" 17 | trigger_named "ffReopenWindow" 18 | set ffCloseOrder to get_string_variable "ffCloseOrder" 19 | # pop last restore (w)indow 20 | set_string_variable "ffCloseOrder" to my replaceLastInstanceOfChar(ffCloseOrder, "w", "") 21 | end tell 22 | 23 | to lastIndexOfChar(haystack, needle) # case insensitive 24 | set ray to text items of haystack 25 | set charCount to count of ray 26 | set i to charCount 27 | repeat charCount times 28 | set cur_char to text item i of ray 29 | if (cur_char is equal to needle) then exit repeat 30 | set i to i - 1 31 | end repeat 32 | return i 33 | end lastIndexOfChar 34 | 35 | to replaceLastInstanceOfChar(haystack, needle, replaceWith) 36 | set i to lastIndexOfChar(haystack, needle) 37 | set charCount to count of haystack 38 | if (i is equal to 0) then return haystack 39 | if (i is equal to 1 and charCount is equal to 1) then return replaceWith 40 | if (i is equal to 1) then return replaceWith & text (text item (i + 1)) thru (text item (-1)) of haystack # last instance = char 0 41 | if (i is equal to charCount) then return text (text item 1) thru (text item (i - 1)) of haystack & replaceWith # last instance = last char 42 | return text (text item 1) thru (text item (i - 1)) of haystack & replaceWith & text (text item (i + 1)) thru (text item (-1)) of haystack # last instance in the middle 43 | end replaceLastInstanceOfChar 44 | 45 | # replace first instance of needle 46 | -- to str_replace(haystack, needle, replaceWith) 47 | -- set AppleScript's text item delimiters to needle 48 | -- return text item 1 of haystack & replaceWith & text (text item 2) thru (text item -1) of haystack 49 | -- end str_replace 50 | -------------------------------------------------------------------------------- /firefox-cmd-shift-t.applescript: -------------------------------------------------------------------------------- 1 | # todo: ffCloseOrder max length? 1000. 2 | 3 | tell application "System Events" # block prevents unecessary ffCloseOrder change on PIP 4 | tell process "Firefox" 5 | set x to 1 6 | set focusedWIndex to 0 7 | repeat with w in windows 8 | if value of attribute "AXMain" of w is equal to true -- if focused of w is equal to true 9 | set focusedWIndex to x 10 | exit repeat 11 | end if 12 | set x to (x + 1) 13 | end repeat 14 | if count of windows > 0 and title of window focusedWIndex is equal to "Picture-In-Picture" then return "won't work on PIP" 15 | end tell 16 | end tell 17 | 18 | tell application "BetterTouchTool" 19 | set ffCloseOrder to get_string_variable "ffCloseOrder" 20 | if count of ffCloseOrder < 2 21 | set_string_variable "ffCloseOrder" to "" 22 | set reopenType to ffCloseOrder 23 | else 24 | set_string_variable "ffCloseOrder" to text 1 thru -2 of ffCloseOrder # string slice last char 25 | set reopenType to text -1 thru -1 of ffCloseOrder # string last char 26 | end if 27 | if (reopenType is equal to "w") 28 | trigger_named "ffReopenWindow" 29 | else 30 | trigger_named "ffReopenTab" 31 | end if 32 | end tell 33 | -------------------------------------------------------------------------------- /firefox-dev-cmd-shift-n.applescript: -------------------------------------------------------------------------------- 1 | tell application "System Events" # block prevents unecessary ffCloseOrder change on PIP 2 | tell process "Firefox" 3 | set x to 1 4 | set focusedWIndex to 0 5 | repeat with w in windows 6 | if value of attribute "AXMain" of w is equal to true -- if focused of w is equal to true 7 | set focusedWIndex to x 8 | exit repeat 9 | end if 10 | set x to (x + 1) 11 | end repeat 12 | if count of windows > 0 and title of window focusedWIndex is equal to "Picture-In-Picture" then return "won't work on PIP" 13 | end tell 14 | end tell 15 | 16 | tell application "BetterTouchTool" 17 | trigger_named "ffReopenWindow" 18 | set ffCloseOrder to get_string_variable "ffCloseOrder" 19 | # pop last restore (w)indow 20 | set_string_variable "ffCloseOrder" to my replaceLastInstanceOfChar(ffCloseOrder, "w", "") 21 | end tell 22 | 23 | to lastIndexOfChar(haystack, needle) # case insensitive 24 | set ray to text items of haystack 25 | set charCount to count of ray 26 | set i to charCount 27 | repeat charCount times 28 | set cur_char to text item i of ray 29 | if (cur_char is equal to needle) then exit repeat 30 | set i to i - 1 31 | end repeat 32 | return i 33 | end lastIndexOfChar 34 | 35 | to replaceLastInstanceOfChar(haystack, needle, replaceWith) 36 | set i to lastIndexOfChar(haystack, needle) 37 | set charCount to count of haystack 38 | if (i is equal to 0) then return haystack 39 | if (i is equal to 1 and charCount is equal to 1) then return replaceWith 40 | if (i is equal to 1) then return replaceWith & text (text item (i + 1)) thru (text item (-1)) of haystack # last instance = char 0 41 | if (i is equal to charCount) then return text (text item 1) thru (text item (i - 1)) of haystack & replaceWith # last instance = last char 42 | return text (text item 1) thru (text item (i - 1)) of haystack & replaceWith & text (text item (i + 1)) thru (text item (-1)) of haystack # last instance in the middle 43 | end replaceLastInstanceOfChar 44 | 45 | # replace first instance of needle 46 | -- to str_replace(haystack, needle, replaceWith) 47 | -- set AppleScript's text item delimiters to needle 48 | -- return text item 1 of haystack & replaceWith & text (text item 2) thru (text item -1) of haystack 49 | -- end str_replace 50 | -------------------------------------------------------------------------------- /firefox-dev-cmd-shift-t.applescript: -------------------------------------------------------------------------------- 1 | # todo: ffCloseOrder max length? 1000. 2 | 3 | tell application "System Events" # block prevents unecessary ffCloseOrder change on PIP 4 | tell process "Firefox Developer Edition" 5 | set x to 1 6 | set focusedWIndex to 0 7 | repeat with w in windows 8 | if value of attribute "AXMain" of w is equal to true -- if focused of w is equal to true 9 | set focusedWIndex to x 10 | exit repeat 11 | end if 12 | set x to (x + 1) 13 | end repeat 14 | if count of windows > 0 and title of window focusedWIndex is equal to "Picture-In-Picture" then return "won't work on PIP" 15 | end tell 16 | end tell 17 | 18 | tell application "BetterTouchTool" 19 | set ffCloseOrder to get_string_variable "ffCloseOrder" 20 | if count of ffCloseOrder < 2 21 | set_string_variable "ffCloseOrder" to "" 22 | set reopenType to ffCloseOrder 23 | else 24 | set_string_variable "ffCloseOrder" to text 1 thru -2 of ffCloseOrder # string slice last char 25 | set reopenType to text -1 thru -1 of ffCloseOrder # string last char 26 | end if 27 | if (reopenType is equal to "w") 28 | trigger_named "ffReopenWindow" 29 | else 30 | trigger_named "ffReopenTab" 31 | end if 32 | end tell 33 | -------------------------------------------------------------------------------- /firefox-dev-new-cmd-shift-m.applescript: -------------------------------------------------------------------------------- 1 | tell application "Firefox Developer Edition" 2 | open ":" 3 | activate 4 | end tell 5 | tell application "System Events" 6 | tell process "Firefox Developer Edition" 7 | tell menu 1 of menu item "New Container Tab" of menu 1 of menu bar item "File" of menu bar 1 8 | click menu item 1 9 | end tell 10 | end tell 11 | end tell 12 | 13 | tell application "Firefox Developer Edition" 14 | -- activate 15 | end tell 16 | 17 | tell application "System Events" 18 | tell process "Firefox Developer Edition" 19 | key code 48 using {control down} 20 | keystroke "w" using {command down} 21 | end tell 22 | end tell 23 | -------------------------------------------------------------------------------- /firefox-dev-send-top-pip-to-bottom-right.applescript: -------------------------------------------------------------------------------- 1 | # bound to cmd+shift+p 2 | 3 | # get mouse position w/ objC (aka: use framework "AppKit") 4 | set X to 0 5 | set Y to 0 6 | use framework "AppKit" 7 | tell the current application 8 | set W to NSWidth(its NSScreen's mainScreen's frame) 9 | set H to NSHeight(its NSScreen's mainScreen's frame) 10 | end tell 11 | 12 | tell application "System Events" 13 | tell process "Firefox Developer Edition" 14 | if not(title of window 1 is equal to "Picture-in-Picture") then return 15 | set _ws to size of window 1 16 | set winWidth to item 1 of _ws 17 | set winHeight to item 2 of _ws 18 | set position of window 1 to {W - winWidth, H - winHeight} 19 | end tell 20 | end tell 21 | -------------------------------------------------------------------------------- /firefox-dev-sidebar-toggle.applescript: -------------------------------------------------------------------------------- 1 | # command + s (toggles sidebar & lets screenhook know open/closed) 2 | tell application "System Events" 3 | tell process "Firefox Developer Edition" 4 | set win to first window whose value of attribute "AXMain" is equal to true 5 | if (title of win is equal to "Picture-in-Picture") then return "pip stop" 6 | tell menu 1 of menu item "Sidebar" of menu 1 of menu bar item "View" of menu bar 1 7 | tell last menu item 8 | perform action "AXPress" 9 | set sidebarOpen to not(value of attribute "AXMenuItemMarkChar" is equal to missing value) 10 | tell application "screenhook" to updateFFSidebarShowing sidebarOpen 11 | end tell 12 | end tell 13 | end tell 14 | end tell 15 | -------------------------------------------------------------------------------- /firefox-dev-toggle-bookmarks-toolbar.applescript: -------------------------------------------------------------------------------- 1 | tell application "Firefox Developer Edition" to activate 2 | tell application "System Events" 3 | tell process "Firefox Developer Edition" 4 | set view_toolbars_bookmarks to menu 1 of menu item "Bookmarks Toolbar" of menu 1 of menu item "Toolbars" of menu 1 of menu bar item "View" of menu bar 1 5 | tell application "Firefox Developer Edition" to set winTitle to name of first window whose miniaturizable is equal to true # first non-pip window 6 | if not(winTitle is equal to "Mozilla Firefox") 7 | set checked_1 to not((value of attribute "AXMenuItemMarkChar" of menu item 1 of view_toolbars_bookmarks) is equal to missing value) 8 | if checked_1 9 | click menu item 2 of view_toolbars_bookmarks 10 | else 11 | click menu item 1 of view_toolbars_bookmarks 12 | end if 13 | else 14 | set checked_2 to not((value of attribute "AXMenuItemMarkChar" of menu item 2 of view_toolbars_bookmarks) is equal to missing value) 15 | if checked_2 then 16 | click menu item 3 of view_toolbars_bookmarks 17 | else 18 | click menu item 2 of view_toolbars_bookmarks 19 | end if 20 | end if 21 | end tell 22 | end tell 23 | -------------------------------------------------------------------------------- /firefox-new-cmd-shift-m.applescript: -------------------------------------------------------------------------------- 1 | tell application "Firefox" 2 | open ":" 3 | activate 4 | end tell 5 | tell application "System Events" 6 | tell process "Firefox" 7 | tell menu 1 of menu item "New Container Tab" of menu 1 of menu bar item "File" of menu bar 1 8 | click menu item 1 9 | end tell 10 | end tell 11 | end tell 12 | 13 | tell application "Firefox" 14 | -- activate 15 | end tell 16 | 17 | tell application "System Events" 18 | tell process "Firefox" 19 | key code 48 using {control down} 20 | keystroke "w" using {command down} 21 | end tell 22 | end tell 23 | -------------------------------------------------------------------------------- /firefox-send-top-pip-to-bottom-right.applescript: -------------------------------------------------------------------------------- 1 | # bound to cmd+shift+p 2 | 3 | # get mouse position w/ objC (aka: use framework "AppKit") 4 | set X to 0 5 | set Y to 0 6 | use framework "AppKit" 7 | tell the current application 8 | set W to NSWidth(its NSScreen's mainScreen's frame) 9 | set H to NSHeight(its NSScreen's mainScreen's frame) 10 | end tell 11 | 12 | tell application "System Events" 13 | tell process "Firefox" 14 | if not(title of window 1 is equal to "Picture-in-Picture") then return 15 | set _ws to size of window 1 16 | set winWidth to item 1 of _ws 17 | set winHeight to item 2 of _ws 18 | set position of window 1 to {W - winWidth, H - winHeight} 19 | end tell 20 | end tell 21 | -------------------------------------------------------------------------------- /firefox-toggle-bookmarks-toolbar.applescript: -------------------------------------------------------------------------------- 1 | tell application "Firefox" to activate 2 | tell application "System Events" 3 | tell process "Firefox" 4 | set view_toolbars_bookmarks to menu 1 of menu item "Bookmarks Toolbar" of menu 1 of menu item "Toolbars" of menu 1 of menu bar item "View" of menu bar 1 5 | tell application "Firefox" to set winTitle to name of first window whose miniaturizable is equal to true # first non-pip window 6 | if not(winTitle is equal to "Mozilla Firefox") 7 | set checked_1 to not((value of attribute "AXMenuItemMarkChar" of menu item 1 of view_toolbars_bookmarks) is equal to missing value) 8 | if checked_1 9 | click menu item 2 of view_toolbars_bookmarks 10 | else 11 | click menu item 1 of view_toolbars_bookmarks 12 | end if 13 | else 14 | set checked_2 to not((value of attribute "AXMenuItemMarkChar" of menu item 2 of view_toolbars_bookmarks) is equal to missing value) 15 | if checked_2 then 16 | click menu item 3 of view_toolbars_bookmarks 17 | else 18 | click menu item 2 of view_toolbars_bookmarks 19 | end if 20 | end if 21 | end tell 22 | end tell 23 | -------------------------------------------------------------------------------- /green-button-click.applescript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/green-button-click.applescript -------------------------------------------------------------------------------- /iTerm-new-window.applescript: -------------------------------------------------------------------------------- 1 | tell application "iTerm" 2 | set newWindow to (create window with default profile) 3 | -- tell current session of newWindow 4 | -- write text "echo it works!" 5 | -- end tell 6 | end tell 7 | -------------------------------------------------------------------------------- /iTerm-quad-profile.applescript: -------------------------------------------------------------------------------- 1 | set STEPSFINISHED to 4 # "config" (the only difference between trio & quad) 2 | 3 | # read & update counter 4 | tell application "BetterTouchTool" 5 | set runCounter to get_number_variable "iTerm-profile-runCounter" 6 | if runCounter is equal to missing value then set runCounter to 1 7 | set newVal to runCounter + 1 8 | if (runCounter equals STEPSFINISHED) then set newVal to 1 # reset runCounter (finished) 9 | set_number_variable "iTerm-profile-runCounter" to newVal 10 | end tell 11 | 12 | set kcodes to {18, 19, 20, 21} # 1 (18) 2 (19) 3 (20) 4 (21) ... 0 (29) 13 | tell application "iTerm" 14 | set T to (current tab) of (current window) 15 | 16 | # if finished, cmd+k all panels (then refocus 1st panel) 17 | if (runCounter equals STEPSFINISHED) then 18 | set i to 0 19 | repeat with sesh in sessions of T 20 | tell application "System Events" 21 | set i to (i + 1) 22 | key code (item i) of kcodes using {option down} # opt i (go to panel i) 23 | keystroke "K" using {command down} # clear (cmd + k) 24 | end tell 25 | end repeat 26 | # refocus 1st panel 27 | tell application "System Events" to key code ((item 1) of kcodes) using {option down} # opt 1 28 | return 29 | end if 30 | 31 | # split a new panel / session 32 | if (runCounter equals 1) then 33 | tell (current session) of T to split vertically with same profile # right pane 34 | else if (runCounter equals 2) then 35 | tell (session 2) of T to split horizontally with same profile # bottom right pane 36 | else if (runCounter equals 3) then 37 | tell (current session) of T to split horizontally with same profile # bottom left pane 38 | end if 39 | end tell 40 | 41 | return # prevent log @ top of terminal 42 | 43 | # sessions = panes 44 | -- tell application "System Events" 45 | -- tell application "iTerm" 46 | -- activate 47 | -- sessions of tab 1 of (current window) 48 | -- end tell 49 | -- end tell 50 | -------------------------------------------------------------------------------- /iTerm-trio-profile.applescript: -------------------------------------------------------------------------------- 1 | set STEPSFINISHED to 3 # "config" (the only difference between trio & quad) 2 | 3 | # read & update counter 4 | tell application "BetterTouchTool" 5 | set runCounter to get_number_variable "iTerm-profile-runCounter" 6 | if runCounter is equal to missing value then set runCounter to 1 7 | set newVal to runCounter + 1 8 | if (runCounter equals STEPSFINISHED) then set newVal to 1 # reset runCounter (finished) 9 | set_number_variable "iTerm-profile-runCounter" to newVal 10 | end tell 11 | 12 | set kcodes to {18, 19, 20, 21} # 1 (18) 2 (19) 3 (20) 4 (21) ... 0 (29) 13 | tell application "iTerm" 14 | set T to (current tab) of (current window) 15 | 16 | # if finished, cmd+k all panels (then refocus 1st panel) 17 | if (runCounter equals STEPSFINISHED) then 18 | set i to 0 19 | repeat with sesh in sessions of T 20 | tell application "System Events" 21 | set i to (i + 1) 22 | key code (item i) of kcodes using {option down} # opt i (go to panel i) 23 | keystroke "K" using {command down} # clear (cmd + k) 24 | end tell 25 | end repeat 26 | # refocus 1st panel 27 | tell application "System Events" to key code ((item 1) of kcodes) using {option down} # opt 1 28 | return 29 | end if 30 | 31 | # split a new panel / session 32 | if (runCounter equals 1) then 33 | tell (current session) of T to split horizontally with same profile # right pane 34 | else if (runCounter equals 2) then 35 | tell (current session) of T to split vertically with same profile # bottom right pane 36 | end if 37 | end tell 38 | 39 | return # prevent log @ top of terminal 40 | 41 | # sessions = panes 42 | -- tell application "System Events" 43 | -- tell application "iTerm" 44 | -- activate 45 | -- sessions of tab 1 of (current window) 46 | -- end tell 47 | -- end tell 48 | -------------------------------------------------------------------------------- /karabiner-elements/complex_modifications: -------------------------------------------------------------------------------- 1 | /Users/super/.config/karabiner/assets/complex_modifications -------------------------------------------------------------------------------- /menubarx-bookmark-cmd-d.applescript: -------------------------------------------------------------------------------- 1 | 2 | delay 2 3 | set cliclick to "/opt/homebrew/bin/cliclick" 4 | set Storage to do shell script "/opt/homebrew/bin/cliclick p" 5 | 6 | set iconIndex to 1 7 | tell application "System Events" 8 | tell process "MenubarX" 9 | keystroke "x" using {option down} 10 | delay 0.333 11 | set focusedWindow to value of attribute "AXFocusedWindow" 12 | set m to value of attribute "AXParent" of focusedWindow # menu holding "pop over"s and "menu bar item" 13 | -- perform action "AXPress" of (menu bar item (iconIndex) of m) 14 | set p to position of menu bar item (iconIndex) of m 15 | set x to item 1 of p 16 | set y to item 2 of p 17 | do shell script cliclick & " rc:" & x & "," & y & " m:" & Storage # AXShowMenu workaround (right click then move mouse to OG location) 18 | end tell 19 | end tell 20 | # figure out how to tell what "menu bar icon" is linked to what "pop over" -------------------------------------------------------------------------------- /menubarx-command-option-enter.applescript: -------------------------------------------------------------------------------- 1 | # duplicate open tab 2 | 3 | # config #todo: use BTT to add systemfiles folder to path 4 | set pathStr to "Macintosh HD:users:super:Desktop:important:SystemFiles:menubarx-new-and-focus.scpt" 5 | set p to POSIX path of pathStr 6 | 7 | delay 0.666 # wait to get hands off modifier keys 8 | tell application "MenubarX" to activate 9 | tell application "System Events" 10 | tell process "MenubarX" 11 | set focusedWindow to value of attribute "AXFocusedWindow" 12 | set address to value of every text field of focusedWindow 13 | end tell 14 | log run script p # equivalent to: do shell script "osascript -e 'run script \"'/Users/super/Desktop/important/SystemFiles/menubarx-new-and-focus.applescript'\"'" 15 | delay 4.2 16 | # open newest (automatically opened by menubarx now) 17 | keystroke "l" using {command down} 18 | keystroke address 19 | key code 36 # enter 20 | end tell 21 | -------------------------------------------------------------------------------- /menubarx-ctrl-opt-x.applescript: -------------------------------------------------------------------------------- 1 | -- delay 2 2 | set cliclick to "/opt/homebrew/bin/cliclick" 3 | set Storage to do shell script "/opt/homebrew/bin/cliclick p" 4 | 5 | set iconIndex to 1 6 | tell application "System Events" 7 | tell process "MenubarX" 8 | keystroke "x" using {option down} 9 | delay 0.333 10 | set focusedWindow to value of attribute "AXFocusedWindow" 11 | set m to value of attribute "AXParent" of focusedWindow # menu holding "pop over"s and "menu bar item" 12 | -- perform action "AXPress" of (menu bar item (iconIndex) of m) 13 | set p to position of menu bar item (iconIndex) of m 14 | set x to item 1 of p 15 | set y to item 2 of p 16 | do shell script cliclick & " rc:" & x & "," & y & " m:" & Storage # AXShowMenu workaround (right click then move mouse to OG location) 17 | end tell 18 | end tell 19 | -------------------------------------------------------------------------------- /menubarx-new-and-focus.applescript: -------------------------------------------------------------------------------- 1 | # open a new window (cmd+n or cmd+t) and attaches it (cmd+shift+d) it (detached by default) 2 | set max to 3 3 | set i to 0 4 | 5 | tell application "MenubarX" to activate 6 | tell application "System Events" 7 | tell process "MenubarX" 8 | tell menu bar 2 9 | set iconCount to (count of menu bar items) 10 | keystroke "n" using {command down} 11 | delay 2 12 | repeat while i < max 13 | set i to i + 1 14 | if (i is equal to max) then return 15 | log "..." 16 | delay 2 17 | if (count of menu bar items) > iconCount 18 | keystroke "d" using {command down, shift down} 19 | -- perform action "AXPress" of menu bar item (count of menu bar items) 20 | exit repeat 21 | else 22 | log "nope" 23 | end if 24 | end repeat 25 | end tell 26 | end tell 27 | end tell 28 | 29 | 30 | 31 | -- tell application "MenubarX" to activate 32 | -- tell application "System Events" 33 | -- tell process "MenubarX" 34 | -- tell menu bar 2 35 | -- set iconCount to (count of menu bar items) 36 | -- set popupCount to (count of pop overs) 37 | -- keystroke "n" using {command down} 38 | -- end tell 39 | -- end tell 40 | -- end tell 41 | -- return 42 | -- delay 2 43 | -- set max to 3 44 | -- set i to 0 45 | -- repeat while i < max 46 | -- set i to i + 1 47 | -- if (i is equal to max) then return 48 | -- delay 2 49 | -- tell application "System Events" 50 | -- tell process "MenubarX" 51 | -- tell menu bar 2 52 | -- if (count of menu bar items) > iconCount then 53 | -- perform action "AXPress" of menu bar item (count of menu bar items) # if (i < max) then perform action "AXPress" of menu bar item (count of menu bar items) 54 | -- if not ((count of pop overs) > popupCount) then 55 | -- keystroke "x" using {option down} 56 | -- set i to 0 57 | -- else 58 | -- exit repeat 59 | -- end if 60 | -- end if 61 | -- end tell 62 | -- end tell 63 | -- end tell 64 | -- end repeat 65 | 66 | -------------------------------------------------------------------------------- /moveMouseLeftMonitor.applescript: -------------------------------------------------------------------------------- 1 | set dimensions to (do shell script "system_profiler SPDisplaysDataType | grep Resolution") 2 | set primWidth to (word 2 of dimensions) + 0 # str -> number 3 | set primHeight to (word 4 of dimensions) + 0 # str -> number 4 | 5 | on split(theString, theDelimiter) 6 | -- save delimiters to restore old settings 7 | set oldDelimiters to AppleScript's text item delimiters 8 | -- set delimiters to delimiter to be used 9 | set AppleScript's text item delimiters to theDelimiter 10 | -- create the array 11 | set theArray to every text item of theString 12 | -- restore the old setting 13 | set AppleScript's text item delimiters to oldDelimiters 14 | -- return the result 15 | return theArray 16 | end split 17 | 18 | tell application "System Events" 19 | set posStr to do shell script "/opt/homebrew/bin/cliclick p" 20 | set posRay to my split(posStr, ",") 21 | set x to ((item 1 of posRay) - primWidth) # the difference between the two scripts (- vs +) 22 | set y to ((item 2 of posRay) + 0) 23 | 24 | set cliclick_path to "/opt/homebrew/bin/cliclick" 25 | do shell script cliclick_path & " m:" & x & "," & y 26 | return {x, y} 27 | end tell 28 | -------------------------------------------------------------------------------- /moveMouseRightMonitor.applescript: -------------------------------------------------------------------------------- 1 | set dimensions to (do shell script "system_profiler SPDisplaysDataType | grep Resolution") 2 | set primWidth to (word 2 of dimensions) + 0 # str -> number 3 | set primHeight to (word 4 of dimensions) + 0 # str -> number 4 | 5 | on split(theString, theDelimiter) 6 | -- save delimiters to restore old settings 7 | set oldDelimiters to AppleScript's text item delimiters 8 | -- set delimiters to delimiter to be used 9 | set AppleScript's text item delimiters to theDelimiter 10 | -- create the array 11 | set theArray to every text item of theString 12 | -- restore the old setting 13 | set AppleScript's text item delimiters to oldDelimiters 14 | -- return the result 15 | return theArray 16 | end split 17 | 18 | tell application "System Events" 19 | set posStr to do shell script "/opt/homebrew/bin/cliclick p" 20 | set posRay to my split(posStr, ",") 21 | set x to ((item 1 of posRay) + primWidth) # the difference between the two scripts (- vs +) 22 | set y to ((item 2 of posRay) + 0) 23 | 24 | set cliclick_path to "/opt/homebrew/bin/cliclick" 25 | do shell script cliclick_path & " m:" & x & "," & y 26 | return {x, y} 27 | end tell 28 | -------------------------------------------------------------------------------- /onReleaseModifiersBTTTriggerMinimizeWindowUnderCursor.app: -------------------------------------------------------------------------------- 1 | /Users/super/Library/Developer/Xcode/DerivedData/onReleaseModifiersBTTTriggerMinimizeWindowUnderCursor-fjkalmasdsblqgbbjtddoaunfvet/Build/Products/Debug/onReleaseModifiersBTTTriggerMinimizeWindowUnderCursor.app -------------------------------------------------------------------------------- /podcasts-decrease-playback-speed.applescript: -------------------------------------------------------------------------------- 1 | -- tell application "Podcasts" to activate 2 | tell application "System Events" 3 | tell process "Podcasts" 4 | set els to UI elements of menu 1 of menu item "Playback Speed" of menu 1 of menu bar item "Controls" of menu bar 1 5 | set i to 1 # item i of els 6 | set elIndex to -1 7 | repeat with el in els 8 | set checked to (value of attribute "AXMenuItemMarkChar" of el) 9 | if not (checked is equal to missing value) then set elIndex to i 10 | set i to (i + 1) 11 | end repeat 12 | if elIndex is equal to -1 13 | set elIndex to 5 # weird Ventura bug, 1.75x speed checkbox (5) is uncheckable 14 | else 15 | if elIndex is equal to 1 then return # can't go lower 16 | end if 17 | click item (elIndex - 1) of els 18 | end tell 19 | end tell 20 | -------------------------------------------------------------------------------- /podcasts-increase-playback-speed.applescript: -------------------------------------------------------------------------------- 1 | -- tell application "Podcasts" to activate 2 | tell application "System Events" 3 | tell process "Podcasts" 4 | set els to UI elements of menu 1 of menu item "Playback Speed" of menu 1 of menu bar item "Controls" of menu bar 1 5 | set i to 1 # item i of els 6 | set elIndex to -1 7 | repeat with el in els 8 | set checked to (value of attribute "AXMenuItemMarkChar" of el) 9 | if not (checked is equal to missing value) then set elIndex to i 10 | set i to (i + 1) 11 | end repeat 12 | if elIndex is equal to -1 then set elIndex to 5 # weird Ventura bug, 1.75x speed checkbox (5) is uncheckable 13 | if elIndex >= (count of els) then return 14 | -- return elIndex 15 | click item (elIndex + 1) of els 16 | end tell 17 | end tell 18 | -------------------------------------------------------------------------------- /quicktime-decrease-playback-speed.applescript: -------------------------------------------------------------------------------- 1 | -- tell application "Podcasts" to activate 2 | tell application "System Events" 3 | tell process "QuickTime Player" 4 | set els to UI elements of menu 1 of menu item "Playback Speed" of menu 1 of menu bar item "View" of menu bar 1 5 | set i to 1 # item i of els 6 | set elIndex to -1 7 | repeat with el in els 8 | set checked to (value of attribute "AXMenuItemMarkChar" of el) 9 | if not (checked is equal to missing value) then set elIndex to i 10 | set i to (i + 1) 11 | end repeat 12 | if elIndex is equal to -1 13 | set elIndex to 5 # weird Ventura bug, 1.75x speed checkbox (5) is uncheckable 14 | else 15 | if elIndex is equal to 1 then return # can't go lower 16 | end if 17 | click item (elIndex - 1) of els 18 | end tell 19 | end tell 20 | -------------------------------------------------------------------------------- /quicktime-increase-playback-speed.applescript: -------------------------------------------------------------------------------- 1 | -- tell application "Podcasts" to activate 2 | tell application "System Events" 3 | tell process "QuickTime Player" 4 | set els to UI elements of menu 1 of menu item "Playback Speed" of menu 1 of menu bar item "View" of menu bar 1 5 | set i to 1 # item i of els 6 | set elIndex to -1 7 | repeat with el in els 8 | set checked to (value of attribute "AXMenuItemMarkChar" of el) 9 | if not (checked is equal to missing value) then set elIndex to i 10 | set i to (i + 1) 11 | end repeat 12 | if elIndex is equal to -1 then set elIndex to 5 # weird Ventura bug, 1.75x speed checkbox (5) is uncheckable 13 | if elIndex >= (count of els) then return 14 | -- return elIndex 15 | click item (elIndex + 1) of els 16 | end tell 17 | end tell 18 | -------------------------------------------------------------------------------- /reclaimFocus: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/reclaimFocus -------------------------------------------------------------------------------- /reclaimFocus.swift: -------------------------------------------------------------------------------- 1 | // compile it with swiftc in terminal and then run output binary as shell script within BetterTouchTool. 2 | import Cocoa 3 | 4 | func reclaimFocus() { 5 | let options = CGWindowListOption(arrayLiteral: CGWindowListOption.excludeDesktopElements, CGWindowListOption.optionOnScreenOnly) 6 | let windowListInfo = CGWindowListCopyWindowInfo(options, CGWindowID(0)) 7 | guard 8 | let infoList = windowListInfo as NSArray? as? [[String: AnyObject]] else { 9 | return 10 | } 11 | if let window = infoList.first(where: { ($0["kCGWindowLayer"] as? Int32) == 0 }), let pid = window["kCGWindowOwnerPID"] as? Int32 { 12 | let app = NSRunningApplication(processIdentifier: pid) 13 | app?.activate(options: .activateIgnoringOtherApps) 14 | } else { 15 | let finder = NSRunningApplication.runningApplications(withBundleIdentifier: "com.apple.finder") 16 | finder[0].activate(options: .activateIgnoringOtherApps) 17 | } 18 | } 19 | 20 | reclaimFocus() 21 | -------------------------------------------------------------------------------- /safari-new-cmd-shift-m.applescript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/safari-new-cmd-shift-m.applescript -------------------------------------------------------------------------------- /screenhookClick.applescript: -------------------------------------------------------------------------------- 1 | -- Screenhook script (runs on click) 2 | tell application "BetterTouchTool" 3 | set_number_variable "TaskSwitcherOpen" to 0.0 4 | set_number_variable "AltTabSwitcherOpen" to 0.0 5 | end tell 6 | -------------------------------------------------------------------------------- /se2020-network-inspector.applescript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steventheworker/applescripts/0483c3d862e17ff76e469e0221abc57063b25198/se2020-network-inspector.applescript -------------------------------------------------------------------------------- /showAltTab.applescript: -------------------------------------------------------------------------------- 1 | # toggle shortcut1 2 | -- tell application "BetterTouchTool" 3 | -- set overlayState to get_number_variable "AltTabSwitcherOpen" 4 | -- if overlayState is equal to 0.0 then set_number_variable "AltTabSwitcherOpen" to 1.0 5 | -- if overlayState is equal to 1.0 then set_number_variable "AltTabSwitcherOpen" to 0.0 6 | -- end tell 7 | 8 | -- tell application "System Events" 9 | -- #hide 10 | -- if overlayState is equal to 1.0 then 11 | -- key code 53 12 | -- return 13 | -- end if 14 | 15 | -- #show 16 | -- key code 48 using {command down} 17 | -- # move back a preview 18 | -- delay 0.02 19 | -- key code 123 20 | -- end tell 21 | tell application "BetterTouchTool" 22 | set overlayState to get_number_variable "AltTabSwitcherOpen" 23 | if overlayState is equal to 0.0 then set_number_variable "AltTabSwitcherOpen" to 1.0 24 | if overlayState is equal to 1.0 then set_number_variable "AltTabSwitcherOpen" to 0.0 25 | end tell 26 | 27 | tell application "AltTab" 28 | if overlayState is equal to 1.0 29 | hide 30 | else 31 | show 32 | end if 33 | end tell -------------------------------------------------------------------------------- /showAltTab2.applescript: -------------------------------------------------------------------------------- 1 | # toggle shortcut2 2 | tell application "BetterTouchTool" 3 | set overlayState to get_number_variable "AltTabSwitcherOpen" 4 | if overlayState is equal to 0.0 then set_number_variable "AltTabSwitcherOpen" to 1.0 5 | if overlayState is equal to 1.0 then set_number_variable "AltTabSwitcherOpen" to 0.0 6 | set tarAppID to get_string_variable "BTTActiveAppBundleIdentifier" 7 | end tell 8 | 9 | tell application "AltTab" 10 | if overlayState is equal to 1.0 11 | hide 12 | else 13 | showApp appBID tarAppID 14 | end if 15 | end tell -------------------------------------------------------------------------------- /threeClickSwipeDown.applescript: -------------------------------------------------------------------------------- 1 | tell application "BetterTouchTool" to set tarAppID to get_string_variable "BTTActiveAppBundleIdentifier" 2 | tell application "AltTab" to showApp appBID tarAppID 3 | tell application "System Events" 4 | delay 0.134 5 | key code 124 # right 6 | delay 0.2 7 | -- key code 49 # space 8 | key code 36 # enter 9 | end tell 10 | -------------------------------------------------------------------------------- /threeClickSwipeUp.applescript: -------------------------------------------------------------------------------- 1 | -- tell application "System Events" 2 | -- key code 48 using {command down} 3 | -- delay 0.334 4 | -- key code 49 5 | -- end tell 6 | tell application "System Events" 7 | tell application "AltTab" to show 8 | delay 0.134 9 | key code 124 # right 10 | delay 0.2 11 | -- key code 49 # space 12 | key code 36 # enter 13 | end tell 14 | -------------------------------------------------------------------------------- /xcode-show-recent-projects.applescript: -------------------------------------------------------------------------------- 1 | #click File -> click "Open Recent" 2 | 3 | tell application "System Events" 4 | tell application "Xcode" to activate 5 | delay 0.333 # allow enough time to activate app 6 | key down 63 # fn down 7 | delay 0.333 8 | key code 100 using {control down} # Ctrl+F8 (reveal/navigate menu bar w/ keyboard) (or F2) 9 | key up 63 #fn up 10 | tell process "Xcode" 11 | click menu bar item "File" of menu bar 1 12 | click menu item "Open Recent" of menu 1 of menu bar item "File" of menu bar 1 13 | end tell 14 | end tell 15 | --------------------------------------------------------------------------------