Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChristoferK/cd8910540c0c0e9c0f2ca1ebbeaecace to your computer and use it in GitHub Desktop.
Save ChristoferK/cd8910540c0c0e9c0f2ca1ebbeaecace to your computer and use it in GitHub Desktop.
[Script Editor#Default Selected Tab] Sets Script Editor's `Replies` pane as the default selected tab #AppleScript #defaults #ScriptEditor #SystemEvents #propertylist
set fp to "~/Library/Preferences/com.apple.ScriptEditor2.plist"
tell application id "com.apple.SystemEvents" to tell the ¬
property list file fp to make new property list item ¬
with properties {name:"ScriptWindowState", value:¬
{selectedTab:"log"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment