Scripts and clippings for use when working in Script Debugger.
Although not needed, the shortcut keys I use to execute these via Keyboard Maestro or Alfred are included in case you're interested
-
- Duplicates the front tab, useful for making edits without breaking what is already written.
-
-
This creates a second script for unit testing handlers within a script.
-
Result looks something like this:
tell application "Script Debugger" tell document "Kevin's Library" waitForSafariToLoad() end tell end tell
-
-
Open Used Script Libraries ⌃⌥O
- Open the script libraries that are currently in use in the front script.
-
Run Front Script hyperkeyR 🌎
- Execute the frontmost script globally, I use this constantly for testing scripts in other applications.
-
Toggle Minimal View ⌘⌥⇧M
- Hides/Shows the toolbar, sidebar, and logging panel.
-
- Custom clippings I've made over the years. To use them save the
.txt
files into~/Library/Application Support/Script Debugger 7/Clippings
- Custom clippings I've made over the years. To use them save the
-
- This duplicates the front script in its current file location as a
.applescript
file with unix style line endings so it is readable on GitHub.
- This duplicates the front script in its current file location as a
-
- Prompts for a location to save a file as a text script with unix line endings for readability on GitHub.
-
Save a Copy of Front Script as Text ⌃S
- Same concept as the Save As Text Script and Duplicate for GitHub but uses the command line to make sure a copy of the front script is made. This is my favorite of the 3 for now because it works more consistently and makes saving
.applescript
files for these github posts way quicker
- Same concept as the Save As Text Script and Duplicate for GitHub but uses the command line to make sure a copy of the front script is made. This is my favorite of the 3 for now because it works more consistently and makes saving