• 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:help converting URL to alias for OmniGraffle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:help converting URL to alias for OmniGraffle


  • Subject: Re:help converting URL to alias for OmniGraffle
  • From: Michael Cytrynowicz <email@hidden>
  • Date: Sun, 16 Mar 2003 18:01:46 +0100

Uhm, just to add,

almost all of the script is by John Delacour , of course, from a Feb ms.
the last line is by me, which goes to show how much I know ;-)
(Tx, JD)
....
set URI to the clipboard
set posixPath to do shell script "perl -e '
$_ = q~" & URI & "~;
s~file:/+~~;
s~localhost~~;
s~%([0-F][0-F])~chr(hex($1))~eg;
print'"
set openfileScript to "Open " & POSIX file posixPath & " as alias"
set the clipboard to openfileScript
...


Mike C
_______________________________________________
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.

  • Prev by Date: Selecting text in Terminal.app
  • Next by Date: Re: words in Unicode text
  • Previous by thread: help converting URL to alias for OmniGraffle
  • Next by thread: Re:help converting URL to alias for OmniGraffle
  • Index(es):
    • Date
    • Thread