Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/temochka/macos-automation
A collection of my macOS automation scripts (Alfred Workflows, AppleScript, and JXA)
https://github.com/temochka/macos-automation
Last synced: 12 days ago
JSON representation
A collection of my macOS automation scripts (Alfred Workflows, AppleScript, and JXA)
- Host: GitHub
- URL: https://github.com/temochka/macos-automation
- Owner: temochka
- Created: 2020-02-22T03:31:07.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-18T01:18:21.000Z (4 months ago)
- Last Synced: 2024-08-01T16:56:07.675Z (3 months ago)
- Language: Swift
- Homepage:
- Size: 5.16 MB
- Stars: 51
- Watchers: 6
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# macOS automation scripts
A collection of my macOS automation scripts (Alfred workflow, AppleScript and JXA). To compile, run:
``` bash
make all
```## AlfredProcess
A mega-workflow for [Alfred](https://www.alfredapp.com) that encompasses all of my custom automations. See its own [README](AlfredProcess/README.md) for details. To build just the workflow, run:
``` bash
make alfred-workflow
```Then install the workflow via:
``` bash
open target/Process.alfredworkflow
```## Hotkeys
I use an app I built called [Anykey](https://github.com/temochka/Anykey) to assign hotkeys to some of the automations. The Anykey configuration file is automatically built from individual launchers.
## Calendar
### Jump to upcoming event
Type `nowc` into Alfred to get a list of current and upcoming events on your calendar and quickly open them in Calendar app.
### Jump to relevant link
Type `nowl` into Alfred to get a list of links mentioned in current and upcoming events’ descriptions. Useful for quickly joining Zoom calls.
### Link to event
Insert a link to an event via Alfred search.
## Contacts
### Open in Alfred
Contacts app is awkward to navigate with the keyboard so this is convenient for quickly copying fields to clipboard.
### Link to Contact
Insert a link to another contact via Alfred search.
## Finder
### Add/edit tags
Trigger the "Add/Edit tags" toolbar action for the selected file(s). The only way to assign a keyboard shortcut to this action, AFAIK.
### Copy Mail message URL
Copies local URLs to messages in Apple Mail for quick referencing. URLs look like below and work both on macOS and iOS:
```
message://%[email protected]%3e
```## Safari
### Open Highlighted Link
Safari doesn’t automatically focus elements highlighted via search by page (like Chrome or Firefox). However, it can be done with a bit of AppleScript. [Read more](https://temochka.com/blog/posts/2018/12/18/navigating-the-web-safari.html) on my blog.
### Copy GitHub issue/PR link
GitHub allows linking to issues and PRs using the following short format: owner/repo#issue. I’m not aware of an easy way to quickly produce a link in this format. This script closes this gap for me.