"set default application of..." no longer works! Any workaround?
"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