• 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: Save as application - run only
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Save as application - run only


  • Subject: Re: Save as application - run only
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 10 Nov 2015 11:25:27 +1100

On 10 Nov 2015, at 10:38 AM, Stockly, Ed <email@hidden> wrote:
>
> I know this is probably not super-secure, but the way I get around this is
> I declare the variables in the script application, but don't define them
> until the first time the applet is run.
>
> Doing it this way, you can't see the values if you open the script in
> BBedit, etc.
>
> ------------
> property userId : ""
> property userPassword : ""
>
> if userId is "" then
>  set userId to text returned of (display dialog "Enter User ID" default
> answer "")
>  set userPassword to text returned of (display dialog "Enter password"
> default answer "" with hidden answer)
> end if

So you'd be happy to run that as an applet, enter your credit card number, and send it to me? ;-) (You left out a "my" before userPassword.)

> Also, in my setup (Script Debugger on OS X 10.10.4) if I export as
> run-only, I don't see any of the script text in quick look or in the
> preview when viewing in columns. I can see the script text in both if it's
> not saved as run-only.

Save it as run-only before you enter your credit card number and send it to me :-). It just means a little less stuff for me to look through...

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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


  • Follow-Ups:
    • Re: Save as application - run only
      • From: Deivy Petrescu <email@hidden>
References: 
 >Save as application - run only (From: Jay Louvion <email@hidden>)
 >Re: Save as application - run only (From: Axel Luttgens <email@hidden>)
 >Re: Save as application - run only (From: Shane Stanley <email@hidden>)
 >Re: Save as application - run only (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: Save as application - run only
  • Next by Date: Re: Save as application - run only
  • Previous by thread: Re: Save as application - run only
  • Next by thread: Re: Save as application - run only
  • Index(es):
    • Date
    • Thread