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

Re: Store script as run only


  • Subject: Re: Store script as run only
  • From: Jens Eliasson <email@hidden>
  • Date: Sat, 8 Apr 2006 17:24:22 +0200

7 apr 2006 kl. 21.50 skrev Martin Orpen:
On 7 Apr 2006, at 8:42 pm, Jon Rosen wrote:

Right you are, Michelle. So, I then tried saving it as a read-only application bundle. Then I was able to view the package contents. Script editor refused to read the script component (main.scpt). TextWrangler would open main.scpt, but it was mostly unreadable. Perhaps Script Editor saves scripts with some form of compression. At any rate, it would probably take someone with a deep understanding of how Script Editor saves documents to figure out how to retrieve a script from that random-looking text.

You can't retrieve the script - but you can remind yourself of the script structure, variable names and comments using the Terminal:


	strings -n 3 -o /path/to/your/run-only.scpt

Thanks Martin,
Good command.

I just opened the run-only script in SubEthaEdit where also had a lot of binary data. But I found all properties listed first and after them the name of all handlers. By searching for the handler names I could find the handler definitions further down in the data with their parameters.

/Jens
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Store script as run only (From: Jens Eliasson <email@hidden>)
 >Re: Store script as run only (From: Jon Rosen <email@hidden>)
 >Re: Store script as run only (From: Michelle Steiner <email@hidden>)
 >Re: Store script as run only (From: Jon Rosen <email@hidden>)
 >Re: Store script as run only (From: Martin Orpen <email@hidden>)

  • Prev by Date: Re: Store script as run only
  • Next by Date: Re: Store script as run only
  • Previous by thread: Re: Store script as run only
  • Next by thread: Re: Store script as run only
  • Index(es):
    • Date
    • Thread