MacOS command line tool which executes OSA scripts (AppleScript, JavaScript, etc.
Consider the following AppleScript: on is_running(appName) tell application "System Events" to (name of processes) contains appName end is_…
macos safari applescript osascriptIs there any way to do this without any programs or scripts? (Maybe through osascript?)
macos terminal osascriptI'm running into problems with a shell script that utilizes a small portion of Applescript. When I compile it with …
syntax applescript syntax-error osascriptI am using osascript in Bash to display a message in Notification Center (Mac OS X) via Apple Script. I …
bash variables syntax applescript osascriptThe following works to open two tabs in iTerm 2. I can't seem to figure out how to get this to …
terminal applescript iterm osascriptI've got a shell script that I call that uses osascript, and that osascript calls a shell script and passes …
bash shell applescript osascriptI have an Applescript that is working on my computer, but not on my colleague's. I get two errors when …
path applescript error-code osascriptI want to list opened windows in the terminal to get x, y, width and height like xwininfo -root -tree …
macos applescript osascriptI have some apple script code: tell application "System Events" key code 97 end tell How do i write the code …
bash terminal applescript osascriptI'm using AppleScript to open PostgreSQL in a Terminal tab like this: #!/bin/bash function new_tab() { TAB_NAME=$1 COMMAND=$2 …
applescript osascript