• 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: Deivy Petrescu <email@hidden>
  • Date: Mon, 09 Nov 2015 19:37:19 -0500

Ed,
Shane is right, any text you entered in script editor is easily found with quick look.

If you want to hide your credit card, even from Shane, then use this:


property bigSecret : ""

set my bigSecret to text returned of (display dialog "Tell me a secret:" default answer my bigSecret)
set bigSecret to encryptit(bigSecret)

on encryptit(x)
	set l to {}
	repeat with a in x
		set end of l to id of a
	end repeat
	return l
end encryption


Nothing fancy, but, Shane try to recover a credit card number.



> On Nov 9, 2015, at 19:25 , Shane Stanley <email@hidden> wrote:
>
> 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

Deivy Petrescu
email@hidden




 _______________________________________________
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: "Stockly, Ed" <email@hidden>
    • Re: Save as application - run only
      • From: Shane Stanley <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>)
 >Re: Save as application - run only (From: Shane Stanley <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