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.

Sending commands and strings to Terminal.app with Applescript

I want to do something like this: tell application "Terminal" activate do script "ssh [email protected]" -- // write user's …

macos terminal applescript
How do I make a Mac Terminal pop-up/alert? Applescript?

I want to be able to have my program display an alert, notice, whatever that displays my custom text. How …

macos popup terminal applescript alert
Open an .html file with default browser using Bash on Mac

So, this is what I need : Let's say I have an index.html file. How do I tell the terminal …

html macos bash browser applescript
How to make the hardware beep sound in Mac OS X 10.6

I just want that Mac OS X 10.6 does a hardware beep sound like in open suse and other distributions. I …

bash macos applescript beep
Open URL in new Safari tab with AppleScript

Is it possible to use AppleScript to open a link in a new tab in Safari?

macos safari applescript
open programs with applescript

2 part question: I'm simply trying to run programs using applescript from the terminal, so I tried: $ osascript tell application "iTunes" …

applescript
AppleScript Editor, write message to the "Result" window

I am using the Mac OS X Apple Script Editor and (while debugging) instead of writing a lot of display …

macos logging applescript
How to log objects to a console with AppleScript

I am just trying to log the state of objects throughout the life of my applescript. In other languages, object's …

applescript
How to send an imessage text with applescript, only in provided service?

Can somebody show me how to send a message directly to the user of iMessage via Messages app? tell application "…

applescript send messages imessage
How to check in AppleScript if an app is running, without launching it - via osascript utility

Consider the following AppleScript: on is_running(appName) tell application "System Events" to (name of processes) contains appName end is_…

macos safari applescript osascript