• 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: kai <email@hidden>
  • Date: Mon, 7 Mar 2005 19:08:19 +0000


On Mon, 7 Mar 2005 11:32:31 -0500, Glenn Kowalski wrote:

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

My own experience suggests that it generally does work, and does change a file's default application:

--


"
Macintosh HD:Users:kai:Desktop:Picture 1.pdf"
{file creator file creator 1 |, default application default application 1 |} info for
"Finder" 's creator type "CARO"
{file creator file creator 2 |, default application default application 2 |} info for


{{|
file creator 1 file creator 1 |, | default application 1 default application 1 |}, {| file creator 2 file creator 2 |, | default application 2 default application 2 |}}


--
> {{| file creator 1 |:"prvw", | default application 1 |:alias "Macintosh HD:Applications:Preview.app:"}, {| file creator 2 |:"CARO", | default application 2 |:alias "Macintosh HD:Applications:Adobe Reader 6.0:Adobe Reader 6.0.app:"}}


--


The system still comes up and asks to select a default application.

There may be exceptions - depending on the specific application, system version, file type, filename extension, etc...

The default application is controlled by the system's "Launch Services."

Sorry - I was under the impression that you wanted to change the default application for an individual document:

On Sun, 6 Mar 2005 09:55:50 -0500, Glenn Kowalski wrote:

...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

---
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

  • Prev by Date: Illustrator Pantones
  • Next by Date: Re: Illustrator Pantones
  • Previous by thread: Re: setting default app for document
  • Next by thread: Set bounds of doc window in Acrobat Professional 6.0.2
  • Index(es):
    • Date
    • Thread