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: "Nigel Garvey" <email@hidden>
- Date: Tue, 15 Feb 2011 22:18:02 +0000
Luther Fuller wrote on Mon, 14 Feb 2011 15:11:20 -0600:
>On Feb 14, 2011, at 3:03 PM, Nigel Garvey wrote:
>
>> Hudson Barton wrote on Sun, 13 Feb 2011 20:55:20 -0500:
>>
>>> I would like to null out the values of variables as the script come to an
>>> end so they cannot be read by an intruder (set privatevariable to ""),
>but
>>> certain types of UI routines prevent me from doing it. 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?
>>
>> Use local variables.
>
>That's right! Never modify a property; Don't use globals.
Never modifying a property will of course have no effect on its
readability by an intruder. Not having one at all will though. ;)
NG
_______________________________________________
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