• 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: Calling applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling applications


  • Subject: Re: Calling applications
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 31 Jan 2003 22:27:59 -0700

On Friday, January 31, 2003, at 09:35 PM, Duncan Cowan wrote:

Oh that's pretty good!

It occurred to me that you could create a generic handling script this way.

on open theFile
tell application "Finder"
set fileType to creator type of theFile
set appName to name of application file id fileType

theFile is a list, so you'd first have to extract item 1 of the list.

--Michelle

--
"There's some good in the world, Mr. Frodo, and it's worth fighting for."
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Re: Creating PDFs with Ghostscript
  • Next by Date: Re: Getting a list of applications
  • Previous by thread: Calling applications
  • Next by thread: Mail Action Message Source Encoding Difficulty
  • Index(es):
    • Date
    • Thread