A collection of awesome, useful, not-so-obvious applescripts.
Get bounds of application window
$ osascript scripts/app/get-bounds.applescript SafariHide application
$ osascript scripts/app/hide.applescript SafariCheck if application is hidden
$ osascript scripts/app/is-hidden.applescript SafariCheck if application is miniaturized (minimized)
$ osascript scripts/app/is-mini.applescript SafariCheck if application is running
$ osascript scripts/app/is-running.applescript SafariHelp wanted.
Open (or highlight tab if already open) a URL
$ osascript scripts/chrome/open-url.applescript https://news.ycombinator.com/Get reminders in list
$ osascript scripts/reminders/get-reminders-in-list.applescript "Today"Get all lists
$ osascript scripts/reminders/get-lists.applescriptHide the sidebar
$ osascript scripts/reminders/hide-sidebar.applescript SafariSwitch to a different list
$ osascript scripts/reminders/switch-list.applescript "Grocery List"Count a list
$ osascript scripts/reminders/count-list.applescript "Grocery List"MIT
