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 do I debug AppleScript?

What tips and tricks do you have for debugging AppleScript? Is there a debugger? If not, what is the best …

debugging applescript
How to add launch parameter to Google Chrome on Mac?

I wanna run Chrome on Mac with the parameter --enable-speech-input. Can anyone tell me the steps to do this and …

macos google-chrome applescript
How to tell an Applescript to stop executing

Applescript's "choose from list" user interaction has a "cancel" button — I want this "cancel" to tell the script to immediately …

applescript
Applescript: Open a Folder in Finder

I m trying to open a folder in Finder using AppleScript. The following is my code. I want the folder …

applescript directory finder
How do I write to a text file using AppleScript?

So, that's it. How can I write to a text file using AppleScript? I've tried googling around, but answers seem …

io applescript
Open URL and Activate Google Chrome via Applescript

I have the following AppleScript that I wrote many years ago. I use this code to program buttons on my …

applescript
Programmatically launch Terminal.app with a specified command (and custom colors)

I can launch an xterm from the command line (or a program, via a system call) like so: /usr/X11/…

macos command-line terminal applescript
Get full directory contents with AppleScript

I need to get the entire (visible) contents of a folder and its subfolders as a list. Is this possible?

list applescript directory subdirectory
Where is the Run Script and Build Phase in Xcode?

To get Carthage set up, the documentation says that you need to add a Run Script. On your application targets’ “…

ios xcode applescript carthage
Is there a quick and easy way to dump the contents of a MacOS X keychain?

I'm looking for a way to dump (export) the contents of an OS X keychain into a file that I …

macos applescript keychain