Keystroke a period or numbers ?
Keystroke a period or numbers ?
- Subject: Keystroke a period or numbers ?
- From: Irwin Poche <email@hidden>
- Date: Fri, 11 Apr 2003 20:58:03 -0500
I may have come across a bug in UI9s 3keystroke2 command. There appears to
be some characters that it can9t do such as all the numeric digits and the
period. Other punctuation is unpredictable.
tell application "TextEdit"
activate
end tell
tell application "System Events"
tell process "TextEdit"
keystroke "abcdefghijklmnopqrstuvwxyz"
keystroke return
keystroke "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
keystroke return
keystroke "0123456789"
keystroke return
keystroke "` ~ ! @ # $ % ^ & * ( ) - = _ + [ ] { } | ; ' : , . < >
?"
keystroke return
repeat with x from 33 to 56
keystroke (ASCII character x)
keystroke return
end repeat
end tell
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.