Reputation: 1
Applescript is not allowing to send keystrokes is my error
my script is
set texttowrite to "[ep] t [ef] t [ed] t [ed] [ts] [ed] t [ed]"
tell application "Roblox" to activate
tell application "System Events"
repeat with i from 1 to count characters of texttowrite
keystroke (character i of texttowrite)
delay 0.08
end repeat
end tell
keystroke (character i of texttowrite)
part is not working
Upvotes: -2
Views: 1169
Reputation: 1878
If yourScriptAppName is not in list at all, then add it using button "+" of the Accessibility window.
Now, you can send keystrokes to Roblox.app any time.
Upvotes: 0