0

I have been trying to use Applescript in Automator to press certain keys and have looked on countless websites about using Applescript and can't get any answers on how to fix my problem. I am not very good with Applescript but it seems like no matter what I do I can't get anything to work. I am trying to do three things, have one script that just presses the down arrow, one that presses command + O, and one that types "Go". Is anyone able to provide with me with individual scripts that do these things, I am unable to get anything to work and am very frustrated. Side note: I am using Mac OS 10.4

2
  • RE: "Side note: I am using Mac OS 10.4" -- Are you serious about the version number? Version 10.4 was: Mac OS X Tiger Commented Aug 28, 2021 at 21:24
  • Also - please provide examples of what you have so far, so we can see where you're going wrong.
    – Tetsujin
    Commented Aug 29, 2021 at 7:55

1 Answer 1

-1

Down arrow

run script "tell application \"System Events\"
" & "keystroke \"\"" & "
end tell"

Command + O

run script "tell application \"System Events\"
" & "keystroke \"o\" using command down" & "
end tell"

Go

run script "tell application \"System Events\"
" & "keystroke \"Go\"" & "
end tell"
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .