Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 3664

AppleScript is a proprietary programming language in macOS to control and exchange data with applications.

0 votes
1 answer
34 views

Why is '(get …)' sometimes necessary in AppleScript?

tell front window -- front window resolved by application process 'Alacritty', tell resolved by AppleScript? … tell (get size) -- (get size) Resolved at run time by front window of application process Alacritty), tell resolved by AppleScript? …
Tim Visher's user avatar
1 vote
2 answers
743 views

Why does iterating over a list in applescript with `repeat with … in` fail with error code `...

I have this script for ensuring that every track in a given smart playlist is both shufflable and bookmarkable. The script is inteded to be launched via launchd. All of this is set up fine except th …
Tim Visher's user avatar
0 votes

Why does iterating over a list in applescript with `repeat with … in` fail with error code `...

As a complete hack, this seems to do the trick. Note that it's super unsatisfying so I'm still very interested in hearing a better response.
Tim Visher's user avatar
3 votes
2 answers
2k views

Quick Look a URL via a script (Applescript, Automator, Shell…)?

Lion added the ability to Quick Look a URL in an application (like Mail.app). I would like to use that functionality from a script. Is that possible?
Tim Visher's user avatar
4 votes
6 answers
13k views

Ejecting all network drives via Applescript/Automator/Shell?

Is there any way to get connected network shares in applescript? As a +1, ideally this would skip things like optical disks as well. …
Tim Visher's user avatar