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:39:29 -0500
Do you have the current beta from <
http://www.apple.com/applescript/GUI/> as
well as OS X 10.2.3 installed ? I believe there may have been more than
one release of the beta. I say this because I have a 3Systems Events2 and
3Systems Events 1.1.12 dictionary.
I haven't done too much UI scripting but I9ve never got an error such as you
described.
On 4/11/03 11:35 PM, Timothy Bates said:
>
I get the usual (for cocoa) hopelessly uninformative
>
NS cannot create Script command error
>
At the line that says "keystroke"
>
>
> > On Friday, April 11, 2003, at 09:58 PM, Irwin Poche wrote:
>
> > this works for me :
>
> > tell application "TextEdit"
>
> > activate
>
> > end tell
>
> > tell application "System Events"
>
> > tell process "TextEdit"
>
> > keystroke "abcdefghijklmnopqrstuvwxyz"
>
> > 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.