• 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
Re: read stored variables in run only script application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: read stored variables in run only script application (From: "J. Stewart" <email@hidden>)
 >Re: read stored variables in run only script application (From: Hudson Barton <email@hidden>)

  • Prev by Date: Re: read stored variables in run only script application
  • Next by Date: Excel: Breaking External Links
  • Previous by thread: Re: read stored variables in run only script application
  • Next by thread: Re: Change a file date (creation and modification)
  • Index(es):
    • Date
    • Thread