• 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: Applescript & RTF & TextEdit...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript & RTF & TextEdit...


  • Subject: Re: Applescript & RTF & TextEdit...
  • From: Jean-Christophe Helary <email@hidden>
  • Date: Tue, 18 Apr 2017 17:15:36 +0900

> On Apr 18, 2017, at 16:10, Shane Stanley <email@hidden> wrote:
>
>> I'm mostly thinking of the half-baked link facility that TE offers (it would really link to local files unless you manually add "fille://" to the path you enter in the dialog etc...) which is *not* available in the dictionary...
>
> You might like to think about rephrasing that -- it doesn't parse here...

Ah! Natural language parsers... :-)

TE offers an "Add Link" function (Cmd+K), if you trigger it, you get a dialog that asks for an URI. When you paste a local file in the dialog, TE only pastes the path and not the "file://" part that would be necessary to have TE recognize the link as a link to a local file (if you omit the "file://" it says that it doesn't know which app to use to open the file).

So the idea is to complement that "Add Link" function with something that adds the "file://" part for local paths. I understand that *this* does not require fiddling with the RTF code (although that is possible to do it there too, after the link is entered).

Generally speaking I'm looking for ways to extend TextEdit for my prose writing purposes. Something à la petit Scrivener... It looks like TE is the only *simple* scriptable word processor on the market...

Jean-Christophe
 _______________________________________________
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: Applescript & RTF & TextEdit...
      • From: Denny Davis <email@hidden>
    • Re: Applescript & RTF & TextEdit...
      • From: Shane Stanley <email@hidden>
References: 
 >Applescript & RTF & TextEdit... (From: Jean-Christophe Helary <email@hidden>)
 >Re: Applescript & RTF & TextEdit... (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Applescript & RTF & TextEdit...
  • Next by Date: Re: Sorting characters of the text - script doesn't work as expected
  • Previous by thread: Re: Applescript & RTF & TextEdit...
  • Next by thread: Re: Applescript & RTF & TextEdit...
  • Index(es):
    • Date
    • Thread