Re: Syntax highlighting, compilation etc.
Re: Syntax highlighting, compilation etc.
- Subject: Re: Syntax highlighting, compilation etc.
- From: Shane Stanley <email@hidden>
- Date: Tue, 25 Apr 2017 09:26:34 +1000
On 24 Apr 2017, at 11:45 pm, Jean-Christophe Helary <email@hidden> wrote:
>
> Now, after checking a bit, it appears that an alternative answer to my question was "the stuff is stored in the ressource fork of the compiled script".
No. You *may* find a copy there, because Script Debugger stores a copy as a backup in case the actual script is corrupted. It also doesn't cover bundle scripts.
> Which means that basically any application that can read RTF can provide proper syntax highlighting for AS by reading the compiled file and extracting the RTF...
Which would take three times as much work as doing it properly.
>
> I guess SD etc don't do it that way, but that could be a way to hack a crude AS editor, eventually within TextEdit with the help of a few scripts... Wouldn't it ?
No. It might give you a way to *display* a compiled script -- that's not an editor.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
_______________________________________________
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