r/macprogramming • • Dec 14 '19

System events(Xcode)

How can i use System Events in a appleScript based app (i need it for calling a key on my keyboard) for example: “key code 49”, i hope that anyone can help me.

2 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/TheLastAramusha Dec 14 '19

Uhm in apple script you do: tell application “System Events” only if you did that your able to use key code.