Tuesday, 11 March 2014

Apple Script Keystroke down ?


hey guys, i'm trying make script using apple script repeat/loop keystroke down arrow while using firefox, dont use program everyday forgot knew before , find easier ask here uses daily , can make script.

many thanks

obviously doesnt work
 

keystroke doesn't respond unless you're talking system events, since it's using universal access assistive framework. also, downarrow variable, not actual keystroke down arrow. since can't think of right one, use key code.

said, change keystroke line to:

tell application "system events" tell process "firefox" key code 125
 


Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment