Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0
0 answers
69 views

Here is the problem: I have a mail rule that looks for certain email addresses or even domains and if triggered, invokes an AppleScript. The rule finds things just fine and invokes the AppleScript. It ...
Score of 0
0 answers
65 views

I have written a Shortcut that incorporates Applescript to navigate the UI of MacOS's System Settings. In a few places throughout where I need to wait for a UI element to load, I run a version of: ...
Score of 1
1 answer
71 views

Trying this approach: set counter to 1 repeat with each_message in mailbox "INBOX" of account "iCloud" set message_ref to (a reference to each_message) set ...
Advice
0 votes
5 replies
80 views

I just completed my SwiftUI and Swift tutorials and some more courses, in short I am whole ready to make a app for iOS but the issue is its for my portfolio but when I am asking AI or even googling ...
Advice
0 votes
2 replies
98 views

I normally use this simple autoclicker script with autolt in windows. It doesn't need coordinates. I simply put the mouse where it is needed and run the script. It's exactly like this: Main() Func ...
Score of -1
2 answers
83 views

The code below gets me the comments of a list of files: tell application "Finder" set targ to (path to desktop folder) as alias get comment of every item of targ end tell Now, I also ...
Score of 0
0 answers
50 views

I adding AppleScriptability to an existing application (Find Any File) and painted myself into a corner by using effectively overlapping enumerations for the same property. It's like this: The first ...
Score of 0
2 answers
67 views

I am making my ObjC app scriptable. I have a custom scriptable class A that is used as <element> by several other scriptable classes (B, C, …). And some of these classes share the same A class ...
Score of 0
3 answers
128 views

I need to get Finder comments from various files, using a shell script. Since both Spotlight and EAs are unreliable, e.g. when the file is on an external volume, I want to use an `osascript` command ...
Score of 0
2 answers
73 views

I have an AppleScript that opens a file in Preview for inspection, and I would like the script to wait for the document to be closed by the user before continuing. I'm struggling and couldn't find a ...
Score of 0
2 answers
328 views

I wrote an AppleScript that automates selection of my wireless soundbar (AirPlay) as the sound output: tell application "System Events" tell process "Control Center" ...
Score of 1
1 answer
61 views

I have been using the AppleScript module in Python for some time now, but its latest version is refusing to work on any but the most trivial code. This is the Python script: #!/opt/local/bin/python3 ...
Score of 1
1 answer
81 views

I record music at home and regularly need to add tracks created with GarageBand to Music. This requires me to manually set the artist, album, genre, year, & artwork so I'm trying to write an ...
Score of 0
0 answers
85 views

When running the application through apple scripts with administrator rights, the menu item "Paste" is disabled on any input fields. For example do shell script "/Applications/Safari....
Score of 1
0 answers
311 views

I have upgraded to macOS 26 and got this strange error with AppleScript: current track doesn't work any more for streaming content, it works only for downloaded songs in user's library. tell ...

15 30 50 per page
1
2 3 4 5
592