Thank you soooo much. That really helps me out a lot!
Can I ask you one other quick question? How can I modify the line: keystroke “u” using {command down}
to be the “forward arrow i.e. right pointing arrow” instead of the " u " key?
in other words a "Command - (right arrow) " key combination? Is that possible?
tell application "AppName" to activate
delay 15
tell application "System Events" to tell process "AppName"
keystroke (ASCII character 29) using {command down}
end tell