Re: set volume v : Set the sound output and/or input volume
Re: set volume v : Set the sound output and/or input volume
- Subject: Re: set volume v : Set the sound output and/or input volume
- From: "koenig.yvan" <email@hidden>
- Date: Mon, 15 Jul 2013 16:57:15 +0200
Le 15/07/2013 à 16:36, sphil <2551phil@ gmail.com> a écrit : Hi Robert
The 'set volume' command is part of the Standard Additions suite. That means it doesn't need to be in a tell block at all. Finder no doubt recognises it as such and passes it along, but GraphicConverter will choke on any commands that aren't in its dictionary.
set volume with output muted
will compile and execute on its own without being embedded in any tell block.
Best
Phil
In fact the truth isn't "it doesn't need to be in a tell block at all. ".
As it was explained several times, it's "it must not be in a tell block at all." ;-)
It's the rule since 10.6.
If you study at least the chapter entitled "Scripting Addition Security" in the document :
you will see that most of OSAX commands issue an error when called from a tell application … end tell wrapper.
KOENIG Yvan (VALLAURIS, France) lundi 15 juillet 2013 16:56:31
|
_______________________________________________
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