Applescript Studio setting variables
Applescript Studio setting variables
- Subject: Applescript Studio setting variables
- From: Paul Strecker <email@hidden>
- Date: Thu, 31 Jan 2002 22:39:07 +1100
Hi, being new to Applescript studio (but not to Applescript itself) I
would like to create a script with a pretty simple user interface.
Basically it'd be along the lines of a few text fields and a "Submit"
style button which would take the values in the text fields and do
lots of funky stuff with them.
I want to work out how to tell it (in pseudo-code)
on button-press
set var1 to contents of text_field1
set var2 to contents of text_field2
set var3 to contents of text_field3
do lots of other stuff here
display dialog "well done good and faithful servant"
end on
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.
Thanks
Paul Strecker
--