Re: read stored variables in run only script application
Re: read stored variables in run only script application
- Subject: Re: read stored variables in run only script application
- From: "email@hidden" <email@hidden>
- Date: Sun, 13 Feb 2011 19:23:55 -0800
> For example, "choose folder/file" has a Cancel button that I can't deactivate, and if the user hits that button, the script ends while leaving the variable un-erased. Suggestions?
You may not be able to deactivate the button, but you can trap for it and respond accordingly.
try
choose file "foo"
on error
set foo to ""
end try
I remember this came up years ago and someone had a simple encryption solution that might help. I hear the archives are searchable this days.
ES
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden