Re: Get script as text from scpt files
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