Re: getting a file by URL ?
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