• 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: Is there a way to script drag-and-drop?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way to script drag-and-drop?


  • Subject: Re: Is there a way to script drag-and-drop?
  • From: Le Stang Jean-Baptiste <email@hidden>
  • Date: Tue, 7 Mar 2006 09:00:35 +0100

Hi,

Using the Satimage osax, and digging into the resources of the file you will find what you are looking for :

load resource 256 type "url " from alias "jMiniMac:Users:jeanbaptiste:Desktop:RSS.webloc" as string
--> "http://lestang.org/backend.php3";


You will find the osax you need @ <http://www.satimage.fr/software/en/ downloads_osaxen_pop.html>

--
Jean-Baptiste

Le Mar 7, 2006 à 3:05 AM, Aaron Grant a écrit :

I've searched for the answer to this question, but have been unsuccessful so far. For what I'd like to accomplish, it looks like dragging and dropping a file from a Finder window into an open application window is the only way I can find to produce the correct results.

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. I've only been able to get the URL by dropping the file into an open text document. Being a total AppleScript/coding newbie, I may have missed something but this doesn't seem possible to script. Is this possible? If not with AppleScript are there any other ways to accomplish this?

Thanks!

Aaron
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40lestang.org


This email sent to email@hidden


_______________________________________________ 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
References: 
 >Is there a way to script drag-and-drop? (From: Aaron Grant <email@hidden>)

  • Prev by Date: Re: [AS] Image Events and GIF
  • Next by Date: iWeb scripting, add a photo album via AS
  • Previous by thread: Is there a way to script drag-and-drop?
  • Next by thread: Re: Is there a way to script drag-and-drop?
  • Index(es):
    • Date
    • Thread