Re: Text Field
Re: Text Field
- Subject: Re: Text Field
- From: Tim Bumgarner <email@hidden>
- Date: Tue, 13 Aug 2002 15:58:07 -0400
Hi Emily,
You have to specify the container of the text field, which in this case
would be a window. If you have named the window in Interface Builder to
"main" you would use something like:
set the contents of text field "infoText" of window "main" to "This is
a test".
You'll also get better support for AppleScript Studio at the
applescript-studio list.
Thanks,
Tim Bumgarner
AppleScript Studio Engineering
On Tuesday, August 13, 2002, at 11:02 AM, Emily Leventhal wrote:
I am using Interface Builder to build my GUI for my applescript.
In interfaceBuilder I choose the text field that is just a plain box.
I
have included a picture of InterfaceBuilder with a red circle around
the
field I chose to make this clearer.
In the interface builder I gave my textfield a name under apple script
infoText.
In my applescript I try referering to it
set the contents of text field "infoText" to "This is a test"
I get a error message:
NSReceiverEvaluationScriptError: 3(1)
Any suggestions?
Thanks, Emily
[demime 0.98b removed an attachment of type image/tiff which had a
name of example.tiff]
_______________________________________________
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.
References: | |
| >Text Field (From: Emily Leventhal <email@hidden>) |