I need to invoke a keyboard shortcut from within an AppleScript code, later to be used as a startup item (i.e. the alternative to having to press something at every log in).
Tell me more
×
Ask Different is a question and answer site for
power users of Apple hardware and software. It's 100% free, no registration required.
|
I get the impression that what you're trying to do is a copy command (i.e., ⌘C)—am I right? Here's an example from one of my scripts:
That is, I script the menu command instead of scripting shortcuts. You might also take a look and see if you have And of course, there are a lot of examples in |
|||
|
|
|
For example, you can do :
To press : cmd+C and then cmd+alt+V |
||||
|
|
