• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Applescript Studio setting variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

--


  • Follow-Ups:
    • Re: Applescript Studio setting variables
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: Scripting Additions: Embracing the Horror of Unix
  • Next by Date: Re: Scripting OS X Mail app
  • Previous by thread: Re: downloading hotmail
  • Next by thread: Re: Applescript Studio setting variables
  • Index(es):
    • Date
    • Thread