• 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: getting a file by URL ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting a file by URL ?


  • Subject: Re: getting a file by URL ?
  • From: Yvan KOENIG <email@hidden>
  • Date: Wed, 2 Jun 2010 12:06:17 +0200


Le 2 juin 2010 à 10:38, Thomas Fischer a écrit :


Hello,

Am 01.06.2010 um 16:45 schrieb email@hidden:

the point is that it is not clear what a "URL" is on the Mac or for AppleScript, if it isn't defined someplace – and I didn't find it.
And since at least Safari, Mozilla, Opera and TextWrangler are scriptable, there may arise some confusion.
It seems, that the Opera and IE version doesn't always work (without System Events):


Look in the Standard Additions dictionary:
…

I looked at the "System Events" or "Finder" dictionary, where URL is a property of a disk item or an item respectively:


URL (text, r/o) : the URL of the [disk] item

and was testing its usefulness.
Turns out that (like rather often in AppleScript) it is somewhat confusing.


It remains obscure why the Standard Additions claim

file URL (obsolete)

when it is used as a regular property in "System Events" and Finder.


Nothing obscure.

file URL is obsolete when used out of
a tell application "System Events"
or
a tell application "Finder"
block.

Yvan KOENIG (VALLAURIS, France) Mercredi, 2 juin 2010 12:06:13



_______________________________________________
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: getting a file by URL ?
      • From: Thomas Fischer <email@hidden>
References: 
 >Re: getting a file by URL ? (From: Thomas Fischer <email@hidden>)
 >Re: getting a file by URL ? (From: "Mark J. Reed" <email@hidden>)
 >Re: getting a file by URL ? (From: Thomas Fischer <email@hidden>)
 >Re: getting a file by URL ? (From: "email@hidden" <email@hidden>)
 >Re: getting a file by URL ? (From: Thomas Fischer <email@hidden>)

  • Prev by Date: Re: getting a file by URL ?
  • Next by Date: Re: getting a file by URL ?
  • Previous by thread: Re: getting a file by URL ?
  • Next by thread: Re: getting a file by URL ?
  • Index(es):
    • Date
    • Thread