osx - applescript assign mouse click to random keystroke -


i trying make script enables mouse click run through string of keystroke values, moving down keystrokes 1 @ time each successive click. not having luck.

even better if separate keystrokes can triggered randomly , not sequentially mouse click. great. thanks

repeat 10 times delay 1 tell application "system events"     tell application process "textedit"         click (click @ {10, 10})          keystroke "6"         keystroke "6"         keystroke "0"         -- ...         keystroke "6"         keystroke "4"         delay 1      end tell  end tell 

end repeat


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -