Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/briangonzalez/awesome-applescripts

A collection of awesome, useful, not-so-obvious applescripts.
https://github.com/briangonzalez/awesome-applescripts

List: awesome-applescripts

applescript awesome osascript reminders

Last synced: 2 months ago
JSON representation

A collection of awesome, useful, not-so-obvious applescripts.

Awesome Lists containing this project

README

        


sparkles


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