Top "Applescript" questions

AppleScript is an end user scripting language that has been available in Mac computers since System 7 Pro (7.1.1). It allows for automation of system tasks, communication between processes, and creation of workflows, amongst other functions.

How to call Automator variable in Applescript ?

So I have a an Applescript that displays a dialogue box and then automator sets a variable as the entry …

macos variables arguments applescript automator
How to change directory with spaces in applescript terminal?

I'm new to applescripts and I'm trying to automate a process, but how do you change directory through the script …

terminal applescript iphoto
how to make text replacement in automator (regex)

I am making an Automator application and I need to replace some text based on a certain criteria. I am …

applescript automator replace
In Apple Numbers, how can I calculate a difference between two dates?

I have a spreadsheet with data in Apple Numbers. I have a column of dates, and I would like to …

automation applescript spreadsheet iwork
Tell AppleScript To Build XCode Project

The following are the steps I would like to have: launch xcode open a specific xcodeproj file build and debug …

xcode applescript
How do I create a Macintosh Finder Alias From the Command Line?

I am trying to create a Finder Alias from the command line or from a Python program. I have searched …

macos applescript
Get the URL of the frontmost tab from Chrome on OS X?

Is there a way to do this to Chrome? tell application "Google Chrome" return URL of front document as string …

google-chrome applescript
Launch Finder window with specific files selected

I'm trying to programmatically launch an OS X Finder window from an Xcode project. I need the window to open …

objective-c macos applescript finder
How to change the desktop folder from "Desktop - Local" to a different folder on mac?

The files that are displayed on the desktop come from the folder /Users/USER/Desktop I am wondering if there …

macos applescript
Create new outgoing message with applescript in Microsoft Outlook

I'm trying to create a new outgoing message with Microsoft Outlook 2011 for mac, using AppleScript. The following example worked in 10.6.8: …

outlook applescript osx-lion sendmail