• 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: Syntax highlighting, compilation etc.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Syntax highlighting, compilation etc.
      • From: Jean-Christophe Helary <email@hidden>
References: 
 >Syntax highlighting, compilation etc. (From: Jean-Christophe Helary <email@hidden>)
 >Re: Syntax highlighting, compilation etc. (From: Shane Stanley <email@hidden>)
 >Re: Syntax highlighting, compilation etc. (From: Jean-Christophe Helary <email@hidden>)

  • Prev by Date: Re: Safari on macOS 10.12.4 – Window Issues
  • Next by Date: Re: Syntax highlighting, compilation etc.
  • Previous by thread: Re: Syntax highlighting, compilation etc.
  • Next by thread: Re: Syntax highlighting, compilation etc.
  • Index(es):
    • Date
    • Thread