├── TrelloAutomator.applescript └── README.md /TrelloAutomator.applescript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmhesse/Trello-Mail.app-Automator-Script/HEAD/TrelloAutomator.applescript -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Trello-Mail.app-Automator-Script 2 | ================================ 3 | 4 | An Apple Automator script that allows a hotkey to be used to create a card in Trello 5 | 6 | ### Create your automator script: 7 | * Run Automator 8 | * Choose Service 9 | * Service receives "no input" in "Mail" 10 | * Drag "Run Applescript" to the workflow 11 | * Replace (* Your script goes here *) with the contents of the Applescript file 12 | * Get an application key at https://trello.com/1/appKey/generate 13 | * Get a token at https://trello.com/1/authorize?key=**YOURKEY**&name=**YOURAPP**&expiration=never&response_type=token&scope=read,write) - note it is a never expiring token so be careful 14 | * Edit the Applescript accordingly with your application key and token. 15 | * Save the service (⌘S) and give it a name. 16 | 17 | ### Create your keyboard shortcut: 18 | * Run System Preferences -> Keyboard -> Keyboard Shortcuts 19 | * Choose Application Shortcuts, hit the + button: 20 | * * Application: Mail 21 | * * Menu Title: The name of your Automator Service as seen in the Mail->Services menu 22 | * * Keyboard Shortcut: Your choice, I use ⌘T 23 | * * Click Add 24 | 25 | All set! 26 | --------------------------------------------------------------------------------