Applescript Software Error
Some time after March 23, my Applescript editor developed a problem:
"key down tab/key up tab" began prodicing the letter "a" rather than "tab". I suspect imy applescript editor is contaminated by some software insalle in the period 3/28 - 3/28. (Updates to imovie , ibooks, and iphote, digital camera raw data, HP scan compatability. ) Is anyone else experiencing the same problem? Any suggestions for a solution?
I use tab extensively in my scripts. . For example, the following program produces a mouse click on "target": (It does not work for all OS-X versions. Mine is 10.9.). It almost always works. In some cases it nneeds slight modification.
tell application "firefox"
activate
tell application "system events"
key code 3 using command down
keystroke "target"
repeat 3 times
key down tab
key up tab
end repeat
key code 5 using command down
key down return
key up return
end tell
end tell
OS X Mavericks (10.9.2)