• 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: Get script as text from scpt files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get script as text from scpt files


  • Subject: Re: Get script as text from scpt files
  • From: Emmanuel <email@hidden>
  • Date: Thu, 15 Mar 2007 23:33:49 +0100

At 6:51 PM +0000 3/15/07, Simon Topliss wrote:
Does anyone know how to get the contents of an AppleScript file saved as Compiled Script (Data Fork) as text?

I'm trying to convert a .scpt file to a .applescript file without opening the script in Script Editor or Script Debugger. It needs to run as a background process.

Does one of the Developer Tools do this? The man pages all seem to refer to files with a resource fork, rather than a data fork. But I may be misunderstanding the info.

Even experienced Smile users may not know that Smile has a powerful function for that:


script of file

(The three words make the command, that is, you would write: script of file (alias "foo:bar"))

Emmanuel
_______________________________________________
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: Get script as text from scpt files
      • From: Laine Lee <email@hidden>
References: 
 >Get script as text from scpt files (From: Simon Topliss <email@hidden>)

  • Prev by Date: Re: Open "Connect To Server..." via Applescript
  • Next by Date: Re: Encoded file URL to Mac or Posix path...
  • Previous by thread: Re: Get script as text from scpt files
  • Next by thread: Re: Get script as text from scpt files
  • Index(es):
    • Date
    • Thread