• 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: setting default app for document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting default app for document


  • Subject: Re: setting default app for document
  • From: Glenn Kowalski <email@hidden>
  • Date: Mon, 7 Mar 2005 11:32:31 -0500

Changing the creator type doesn't work and is not the same as changing the default application.

The system still comes up and asks to select a default application. The default application is controlled by the system's "Launch Services."


At 8:40 PM +0000 3/6/05, kai wrote:
On Sun, 6 Mar 2005 09:55:50 -0500, Glenn Kowalski wrote:

I searched the archives for this but came up with a blank. Is there a way to set the default application for a document? I've tried

tell app Finder

set default application of "blah blah blah document path" to "blah blah blah application path"

end tell

---------------

set f to choose file with prompt "Please choose a file to convert:"
set a to choose application with prompt "Choose a default application:"
tell application "Finder"
	set f's creator type to (path to a)'s creator type
	open f
end tell

---------------

---
kai


_______________________________________________
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


  • Follow-Ups:
    • Re: setting default app for document
      • From: Doug McNutt <email@hidden>
References: 
 >Re: setting default app for document (From: kai <email@hidden>)

  • Prev by Date: Re: How can I use the document Class from Image Capture Scripting ?
  • Next by Date: Re: question about iPhoto scripting
  • Previous by thread: Re: setting default app for document
  • Next by thread: Re: setting default app for document
  • Index(es):
    • Date
    • Thread