#Type2phone applescript examples code#
Location Helper - Find your geo code location in a snap, and for free!.JSON Helper - Makes working with JSON so much simpler, incredibly useful and free!.UI scripting is brutal on its own, and slightly less brutal with the Accessibility Inspector, but UI Browser makes it so much simpler, I tried it once and knew I had to get it. With Script Debugger I learned 100 times faster and understood everything much easier. When I first started learning scripting with Script Editor, the process was slow and frustrating. Script Debugger - By far the most valuable scripting tool.Script is executed globally for a specific app Script has a screenshot in its section's README Script has a gif demo in its section's README Scripts for Script Development - These scripts are useful handlers that can be copied into scripts or into a script library that makes scripting much simpler.Ĭlicking the name of the script will show you the script directly, but make sure to view the README for each section by clicking the title of the section to see instructions/explanations/demos.Īlthough not needed, the shortcut keys I use to execute these via Keyboard Maestro or Alfred are included in case your're interested Application Scripts Application.NOTE: There are scripts here that are specific to an application but are meant to executed globally, so the scripts in the Application Scripts section with the globe icon ( ? ) next to them imply global scope for that specific application.
Global Scripts - Scripts that are meant to be executed in any application.Application Scripts - Scripts designed for use in a specific application.I've divided the scripts into 3 sections: Use kl : script "Kevin's Library " Contents Many of these scripts depend on this script library I developed, so if you see the following line at the top of the script, make sure you get that library and place it into ~/Library/Script Libraries otherwise the script is non-functional. So if you were wondering about the file type, this is the reason. applescript file (which is just a text file). scptd, but these file types are not readable on GitHub, so for readability's sake, all these scripts have been exported as a. However, I generally turn to third party automation apps to execute them, including Keyboard Maestro, Alfred, BetterTouchTool and Hazel.įor those who are unaware, the standard file format for AppleScripts is. With some exceptions, almost all these scripts are executable by themselves via the Script Menu. As a tool for AppleScript education by providing example scripts, tools, tips and AppleScript resources.Provide others with useful scripts for automating their workflow on macOS.This repo was created for two main reasons. This repo is in continuous development and will be updated as scripts are developed (and as I have time). Some are great as standalone scripts while others are great for incorporation with others.
Collection of AppleScripts I've developed or acquired over the years.