• 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
"set default application of..." no longer works! Any workaround?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"set default application of..." no longer works! Any workaround?


  • Subject: "set default application of..." no longer works! Any workaround?
  • From: email@hidden
  • Date: Thu, 25 Sep 2014 15:13:35 +0200

To make double-clicking a file to open it in a certain application, I have since several years used:

set default application of (anItem as alias) to path to application id "com.adobe.Acrobat.Pro"

It has worked very well, but since some of the later OS "upgrades" it no longer works. I know it worked in Mountain Lion, and I think in early Mavericks but I'm unsure. No errors, but it simply won't set a new value for the default application.

The dictionary for System Events has not changed.
It is still possible to query: default application of (anItem as alias), which correctly tells me the current value of the default application for this item. But it will not set a new value.

So, anybody know of a solution?


--heb
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Count word's occurences
  • Next by Date: First run Finder selection problem
  • Previous by thread: Re: automating e-mail generation with a script
  • Next by thread: First run Finder selection problem
  • Index(es):
    • Date
    • Thread