Re: Another gibberish error
Re: Another gibberish error
- Subject: Re: Another gibberish error
- From: Shane Stanley <email@hidden>
- Date: Sun, 25 Sep 2016 11:13:12 +1000
On 25 Sep. 2016, at 5:12 am, Yvan KOENIG <email@hidden> wrote:
The problem striking upon Robert's script is not related to Sierra.
So it appears -- it's a bug that's probably been there for a while.
So this works:
set volume output volume 2
and this works:
use scripting additions set volume output volume 2
But this doesn't:
use framework "Foundation" use scripting additions set volume output volume 2
There are two workarounds. One is to put the ASObjC stuff in a script library, and call the handler from there. The other is to address the problematic command to the current application:
use framework "Foundation" use scripting additions tell current application to set volume output volume 2
|
_______________________________________________
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