Re: getting a file by URL ?
Re: getting a file by URL ?
- Subject: Re: getting a file by URL ?
- From: Tommy Bollman <email@hidden>
- Date: Wed, 2 Jun 2010 16:02:24 +0200
On 2. juni 2010, at 15.56, Thomas Fischer wrote:
>
> Hello Yvan,
>
> Am 02.06.2010 um 12:06 schrieb Yvan KOENIG:
> …
>>> 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.
>
> You mean *outside* of such a block?
> I meant "obscure" such a sense that it is strange that "file URL" is supported in two of Apple's applications and obsoleted in the third.
> I'd rather have it working in all of them, and I don't understand why it wouldn't.
>
> But I can't get Standard Additions to do anything useful with any URL:
>
> get the scheme of "http://www.Google.de/"
> does not compile and
> get the scheme of URL "http://www.Google.de/"
> gives an error
> error "„URL \"http://www.Google.de/\"“ kann nicht gelesen werden." number -1728 from URL "http://www.Google.de/"
>
> Is the URL in Standard Additions obsolete for any scheme?
>
>
> The use of "URL" in the ASLG doesn't get me any further:
>
> "open location
> Opens a URL with the appropriate program."
> doesn't seem to refer to the kind of URLs we're discussing here, and
>
> "choose URL"
> is also something special.
> In any case,
> choose URL
> get the scheme of the result
> yields an error.
>
> Greetings
> Thomas _______________________________________________
> 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
>
I hope you post a solution or a scheme of one when you are finished with all your struggles with the url's.
Best regards
Tommy Bollman
--------------------------------------------------------------------------------------------------
Mollison's Bureaucracy Hypothesis:
If an idea can survive a bureaucratic review
and be implemented it wasn't worth doing.
_______________________________________________
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