• 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: Automator, AppleScript, and Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automator, AppleScript, and Cocoa


  • Subject: Re: Automator, AppleScript, and Cocoa
  • From: Matt Neuburg <email@hidden>
  • Date: Wed, 14 Dec 2005 13:46:17 -0800
  • Thread-topic: Automator, AppleScript, and Cocoa

On Mon, 12 Dec 2005 18:31:42 -0600, Chad Armstrong <email@hidden> said:
>I'm trying to create an Automator workflow/action, and when it
>retrieves a list of selected files from a list, it seems to place
>them in an AppleScript list. Is there a way to pass this list to a
>Cocoa application as arguments (such as if the files were dropped on
>the application icon)?

How about telling the application in question to open them? Here's an
example:

tell application "TextEdit" to open what

where "what" is the list of files.

m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Options for graphic drawing?
  • Next by Date: RE: Options for graphic drawing?
  • Previous by thread: Automator, AppleScript, and Cocoa
  • Next by thread: Dynamically loading my code into other apps
  • Index(es):
    • Date
    • Thread