Re: Is there a way to script drag-and-drop?
Re: Is there a way to script drag-and-drop?
- Subject: Re: Is there a way to script drag-and-drop?
- From: Mr Tea <email@hidden>
- Date: Tue, 07 Mar 2006 11:22:15 +0000
This from Mr Tea - dated 7/3/06 11.03:
> This from Aaron Grant - dated 7/3/06 02.05:
>
>> I'd basically like to extract URLs from a group of .webloc files and put the
>> resulting URLs onto their own separate lines in a text document. Because
>> .webloc files are binary files, they can't be processed by opening them into
>> a
>> text editor or with any other extractor application I've found so far.
>
>
> Yes they can, sort of. You need to ask for the 'location' in a Finder tell
> block.
For the record, Aaron - I didn't know about this before I answered your
post, but I've sometimes been frustrated by the relative opaqueness of
'webloc' files so I decided to have a little dig around.
First I tried getting 'info for' a webloc file. No joy there, so I tried
asking the Finder for a list of the file's properties, and found 'location',
right at the end of the list.
Getting a list of an item's properties is generally a useful way of finding
out what parts of it can be accessed by AppleScript.
Nick
pp Mr Tea
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden