Re: Keystroke a period or numbers ?
Re: Keystroke a period or numbers ?
- Subject: Re: Keystroke a period or numbers ?
- From: Irwin Poche <email@hidden>
- Date: Sat, 12 Apr 2003 18:55:46 -0500
That9s interesting. For me adding the delays alters the results seen with
the loop and the punctuation slightly but still no numbers or period.
Pointing it to different applications has no effect either. I am using
10.2.5 and AS 1.91. What do you have ?
This script types 3aa2
tell application "TextEdit"
activate
end tell
tell application "System Events"
tell process "TextEdit"
keystroke "a012.a"
end tell
end tell
On 4/11/03 9:26 PM, Deivy Petrescu said:
>
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
_______________________________________________
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.