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 19:30:32 -0500
Below should read: This script types "aa"
On 4/12/03 6:55 PM, Irwin Poche said:
>
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.
_______________________________________________
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.