Trying to set the password of a stack with a script. Problem is that it seems that the 
user can still edit scripts until the stack is saved, closed and re-opened. Not 
getting very far with trying to do this in a script. 

Here is the script that I am trying to define to add a password to a stack and then 
lock it so you can't look at the scripts after it has been called. This one is slow, 
but works except for the fact that the stack does not open - too ealy after closing?

on lockStack newPassword
  set the password of this stack to newPassword
  save this stack
  put the fileName of this stack into myFilename
  close this stack
  open stack myFilename
  answer the result
end lockStack

Is there a better way of doing this?


Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to