• 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: Encoded file URL to Mac or Posix path...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Encoded file URL to Mac or Posix path...


  • Subject: Re: Encoded file URL to Mac or Posix path...
  • From: Martin Orpen <email@hidden>
  • Date: Thu, 15 Mar 2007 23:23:21 +0000

On 15 Mar 2007, at 03:56, Tetsuro KURITA wrote:

And I think that unescaping URI will be essential for AppleScript. Because
the value "AXDocument" attribute of GUI Scripting is URI. Unescaping URI is
required to treat the value as a reference to file in AppleScript.
I prefer that such essential function is given by scripting addition form.

Daniel Jalkut posted an obj-c method of doing this (and a useful background app - AppleScriptKit - which I still use) some time ago which calls on NSString's "stringByAddingPercentEscapesUsingEncoding:"


You can achieve the same result by launching Automator. But it would be much nicer if Leopard came with a tiny, faceless Cocoa app that we could call on whenever we wanted to use obj-c without going to the trouble of creating an application in Xcode.

--
Martin Orpen
<http://www.idea-digital.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
References: 
 >Encoded file URL to Mac or Posix path... (From: Peter Bunn <email@hidden>)
 >Re: Encoded file URL to Mac or Posix path... (From: Tetsuro KURITA <email@hidden>)
 >Re: Encoded file URL to Mac or Posix path... (From: Rob Stott <email@hidden>)
 >Re: Encoded file URL to Mac or Posix path... (From: Tetsuro KURITA <email@hidden>)

  • Prev by Date: Re: Get script as text from scpt files
  • Next by Date: Setting CMS vals for Quark Documents
  • Previous by thread: Re: Encoded file URL to Mac or Posix path...
  • Next by thread: Re: Encoded file URL to Mac or Posix path...
  • Index(es):
    • Date
    • Thread