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 168832

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

2 votes
Accepted

Speed up AppleScript

As I mentioned in my comment, what you're trying to do is a system wide event that you want activated by a keyboard shortcut. These factors combine to reduce the overall response time. To help reduc …
Monomeeth's user avatar
  • 65k
45 votes

How do I assign a keyboard shortcut to an AppleScript I wrote?

appears, ensure that "No input" is selected from the Service receives drop-down list Ensure the In drop-down list is showing "Any application" In the second column containing the long list, find "Run AppleScript … " and double-click on it This will add the Run AppleScript window on the right Now, replace the (* Your script goes here *) with the script you want Save the service using a meaningful name (e.g. …
Monomeeth's user avatar
  • 65k
1 vote

Why do some applications ignore resize requests from finder

Since you've referenced Adobe products (and Photoshop specifically) in your question/comments, I'll refer to those here. There is really nothing inherently wrong with the script - it's just that some …
Monomeeth's user avatar
  • 65k
3 votes

How to exclude locked files or folders In an AppleScript that selects all files in a particu...

My approach would be to put some of your code into a try block and also use on error to ignore that specific error message, but to still display a message if it encounters a different error instead. …
Monomeeth's user avatar
  • 65k
4 votes
Accepted

Setting the value of a Numbers cell using AppleScript

I'm in front of a Mac again and gave your code a go and also got the same error, so it's probably somewhat misleading in terms of what it actually means. However, I did play around with your script a …
Monomeeth's user avatar
  • 65k
1 vote
Accepted

PowerPoint Macro for Mac - load pictures like "Insert Photo Album"

appears, ensure that "No input" is selected from the Service receives drop-down list Ensure the In drop-down list is showing "Any application" In the second column containing the long list, find "Run AppleScript … " and double-click on it This will add the Run AppleScript window on the right Now, replace the (* Your script goes here *) with the following script1: tell application "Finder" to set frontmost to true …
Monomeeth's user avatar
  • 65k
1 vote

How to install user Applescripts for Safari and activate the Scripts menu item?

You haven't specified the version of macOS or Safari you're running, but usually you would do this: In the Finder, go to the top level of your Mac's hard drive (or SSD) Navigate to /System/Library/C …
Monomeeth's user avatar
  • 65k
1 vote

How can I invert my selection in Microsoft Excel using AppleScript? (selection itself, not p...

My hope is that doing this will make it easier to get the code right within AppleScript, so I'm sharing the Visual Basic code in case it helps someone else to get an AppleScript version working - not that … I imagine trying to cover the whole sheet will be a problem within AppleSCript as well. …
Monomeeth's user avatar
  • 65k
2 votes
Accepted

AppleScript: How to open a file in TextEdit, without bringing the other TextEdit windows to ...

I think the problem you're having is that you've misunderstood what is actually going on. Let me try to explain... The first question to answer is why were the windows missing from your first screens …
Monomeeth's user avatar
  • 65k
4 votes

Edit from-address in Mail.app?

Not the answer you're looking for, but there's no way to use subaddressing from Apple Mail in the way you're after. iCloud itself does support the overall functionality via email aliases, but this i …
Monomeeth's user avatar
  • 65k
1 vote

How to add a track to Library in Apple Music using Apple Script

I'm not in front of a Mac at the moment, so can't test this, but what happens if you try the following: tell application "Music" set newFile to (choose file with prompt "Select track you want to …
Monomeeth's user avatar
  • 65k
1 vote
Accepted

Run from iTunes?: A Workflow Service (contains just an AppleScript) created in Automator

In the second column containing the long list, find "Run AppleScript" and double-click on it. This will add the Run AppleScript window on the right. …
Monomeeth's user avatar
  • 65k
0 votes

How to translate these commands into AppleScript

Without the whole script (and the context behind this) it's a bit hard to be sure about an answer - especially an efficient one. Nevertheless, below is something that may help (although I'm not in fr …
Monomeeth's user avatar
  • 65k
3 votes

Script for getting windows from beyond display border

appears, ensure that "No input" is selected from the Service receives drop-down list Ensure the In drop-down list is showing "Any application" In the second column containing the long list, find "Run AppleScript … " and double-click on it This will add the Run AppleScript window on the right Now, replace the (* Your script goes here *) with the script you want Save the service using a meaningful name (e.g. …
Monomeeth's user avatar
  • 65k
6 votes
Accepted

How do I run my automator service without opening automator?

In summary, to create a keyboard shortcut to run your Automator service you will need to use: Automator to create your service so that it'll work the way you want System Preferences to assign a keyb …
Monomeeth's user avatar
  • 65k

15 30 50 per page