Re: Compiled Script vs. compiled script
Re: Compiled Script vs. compiled script
- Subject: Re: Compiled Script vs. compiled script
- From: Christopher Nebel <email@hidden>
- Date: Sun, 2 Mar 2003 11:43:48 -0800
On Saturday, March 1, 2003, at 09:36 AM, Rob Jorgensen wrote:
At 8:43 AM -0800 3/1/03, Paul Berkowitz wrote:
Save them as data-fork scripts...that fixed it for me.
Saving a script with a data fork is easy in Script Debugger - it's
listed as an option in save dialogs. Someone has asked me how to do
it in OS X's Script Editor. I suspect that it means choosing
compiled script or Compiled Script but I don't know which is which.
Anyone care to enlighten me? Thanks.
The upper-case initialed "Compiled Script" (the default) in Script
Editor 1.9 and later is the data-fork type. (The lower-case "compiled
script" higher up the popup is the old resource-fork type.)
Ok thanks, I think I got it. I hope that chris and/or Chris consider
"compiled script" and "Compiled Script" a bug, or at least recognize
it as a serious source of confusion that should be addressed.
It is a bug, and it's fixed in Script Editor 2. (Of course, there you
have "compiled script" and "script document", but that's a different
problem.)
However, Paul is incorrect: there is no difference between "Compiled
Script" and "compiled script". The idea that one does resource-fork
and one does data-fork is a myth, which I think got started as a random
guess from someone trying to explain why the heck there were two items
in the first place.
In fact, Script Editor 1.9 saves all new scripts as data-fork; existing
scripts are saved as whatever they were. (I.e., open a resource-fork
script, save it; it's still a resource-fork script.) Prior to 1.9, all
scripts are saved as resource-fork.
--Chris Nebel
AppleScript Engineering
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.