Re: Getting Multiple Returns From A Dialog
Re: Getting Multiple Returns From A Dialog
- Subject: Re: Getting Multiple Returns From A Dialog
- From: Emmanuel <email@hidden>
- Date: Wed, 12 Mar 2003 00:26:09 +0100
At 1:02 PM -0500 11/03/03, Richard Simms wrote:
m=(display dialog)
set text1 to text returned of m
set button1 to button returned of m
In addition to the helpful replies that you got, it is absolutely
necessary that you know that "=" is the operator which evaluates
whether both sides of itself are equal or not, and returns the result
as a boolean (true or false):
-------------------------
set listsAreEqual to (myList = theOtherList)
if listsAreEqual then ... blah
-------------------------
There are, I think, 3 ways of assigning a value to a variable:
-------------------------
set x to 2
copy 2 to x -- set & copy are different for lists, check the official
documentation
2 returning x
-------------------------
Emmanuel
_______________________________________________
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.