Re: Applescript Studio setting variables
Re: Applescript Studio setting variables
- Subject: Re: Applescript Studio setting variables
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 31 Jan 2002 13:50:23 -0500
on 02-01-31 6:39 AM, Paul Strecker at email@hidden wrote:
>
In other words, is there an easy way to set a variable which is the
>
contents of a text field or other interface widget in Applescript
>
studio.
>
>
Any pointers to beginner online documentation would also be appreciated.
The Inside Mac OS X: Building Applications with AppleScript Studio PDF
document is pretty beginner-oriented, as are the several sample projects
that come with AppleScript Studio. They will pretty much answer your
question, and many more like it. Look on your hard disk under
/Developer/Applications/AppleScript Studio and
/Developer/Examples/AppleScript Studio.
Something like this:
set X to contents of text field "Y" of window "Z"
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont