https://github.com/briangonzalez/awesome-applescripts
A collection of awesome, useful, not-so-obvious applescripts.
https://github.com/briangonzalez/awesome-applescripts
applescript awesome osascript reminders
Last synced: about 1 year ago
JSON representation
A collection of awesome, useful, not-so-obvious applescripts.
- Host: GitHub
- URL: https://github.com/briangonzalez/awesome-applescripts
- Owner: briangonzalez
- Created: 2017-12-02T16:33:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-11T02:46:56.000Z (about 8 years ago)
- Last Synced: 2024-05-22T05:00:39.961Z (almost 2 years ago)
- Topics: applescript, awesome, osascript, reminders
- Language: AppleScript
- Homepage:
- Size: 11.7 KB
- Stars: 70
- Watchers: 6
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred-test - briangonzalez/awesome-applescripts - A collection of awesome, useful, not-so-obvious applescripts. (AppleScript)
README
awesome-applescripts
A collection of awesome, useful, not-so-obvious applescripts.
### Table of Contents
- [Scripting Applications](#-scripting-applications)
- [Scripting macOS](#-scripting-macos)
- [Scripting Chrome](#-scripting-chrome)
- [Scripting Reminders](#-scripting-reminders)
### → Scripting Applications
**Get bounds of application window**
```sh
$ osascript scripts/app/get-bounds.applescript Safari
```
**Hide application**
```sh
$ osascript scripts/app/hide.applescript Safari
```
**Check if application is hidden**
```sh
$ osascript scripts/app/is-hidden.applescript Safari
```
**Check if application is miniaturized (minimized)**
```sh
$ osascript scripts/app/is-mini.applescript Safari
```
**Check if application is running**
```sh
$ osascript scripts/app/is-running.applescript Safari
```
### → Scripting MacOS
_Help wanted._
### → Scripting Chrome
**Open (or highlight tab if already open) a URL**
```sh
$ osascript scripts/chrome/open-url.applescript https://news.ycombinator.com/
```
### → Scripting Reminders
**Get reminders in list**
```sh
$ osascript scripts/reminders/get-reminders-in-list.applescript "Today"
```
**Get all lists**
```sh
$ osascript scripts/reminders/get-lists.applescript
```
**Hide the sidebar**
```sh
$ osascript scripts/reminders/hide-sidebar.applescript Safari
```
**Switch to a different list**
```sh
$ osascript scripts/reminders/switch-list.applescript "Grocery List"
```
**Count a list**
```sh
$ osascript scripts/reminders/count-list.applescript "Grocery List"
```
### License
MIT