Re: Keystroke a period or numbers ?
Re: Keystroke a period or numbers ?
- Subject: Re: Keystroke a period or numbers ?
- From: Deivy Petrescu <email@hidden>
- Date: Fri, 11 Apr 2003 22:26:12 -0400
On Friday, April 11, 2003, at 09:58 PM, Irwin Poche wrote:
this works for me :
<script>
tell application "TextEdit"
activate
end tell
tell application "System Events"
tell process "TextEdit"
keystroke "abcdefghijklmnopqrstuvwxyz"
delay 1
keystroke return
delay 1
keystroke "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
delay 1
keystroke return
keystroke "0123456789"
delay 1
keystroke return
keystroke "` ~ ! @ # $ % ^ & * ( ) - = _ + [ ] { } | ; ' : , . < >
?"
keystroke return
delay 1
repeat with x from 33 to 56
keystroke (ASCII character x)
delay 1
keystroke return
end repeat
end tell
end tell
</script>
_______________________________________________
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.