Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Apple Script "do when pressed" command?

hey guys i need the right command that would activate a script once i press F1 (for example)


So it should be smthg like:


If F1 is pressed Then

tell application "System Events"

keystroke "123"

keystroke tab

keystroke "134"

end tell

else

do nothing

end if


and i save the script under what?

I need it to work either in text edit- pages- safari.... ect... (wherever there's a text box)

THANK YOU

MacBook Pro with Retina display, OS X Mavericks (10.9)

Posted on Nov 17, 2013 11:41 PM

Reply

There are no replies.

Apple Script "do when pressed" command?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.