Re: Variable Tendencies
Re: Variable Tendencies
- Subject: Re: Variable Tendencies
- From: Jack Crombie <email@hidden>
- Date: Mon, 3 Apr 2006 00:31:04 +0200
Thanks Michelle.
On 03.04.2006, at 00:14, Michelle Steiner wrote:
On Apr 2, 2006, at 3:09 PM, Jack Crombie wrote:
If I set a variable in a script when the script ends will the
variable's value remain stored somewhere for a script that is run
later to use. Is this the default behavior or do I have to save
the variable's value in a file somewhere?
The sort of variable i want to store is a Path to a folder. ie
set auftragFolder to choose folder with prompt "select Auftrag
folder"
I want to keep the variable to use in a following script to be run
by the user.
If the variable is to be used by another instance of the same
script, you can declare it a property. If it is to be used by
another script entirely, then store it in a file to be read.
Also i haven't found a command to prompt for text input from the
user in a dialog box.
display dialog "prompt text" default answer "blah blah blah"
If you want the text input box to be blank, then it's
display dialog "prompt text" default answer ""
--
"To announce that there must be no criticism of the president, or
that we are to stand by the president right or wrong, is not only
unpatriotic and servile, but is morally treasonable to the American
public." --Teddy Roosevelt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden