• 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: set volume v : Set the sound output and/or input volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 :

https://developer.apple.com/library/mac/#releasenotes/AppleScript/RN-AppleScript/RN-10_6/RN-10_6.html#//apple_ref/doc/uid/TP40000982-CH106-SW3

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

  • Follow-Ups:
    • Re: set volume v : Set the sound output and/or input volume
      • From: Robert Poland <email@hidden>
References: 
 >set volume v : Set the sound output and/or input volume (From: Robert Poland <email@hidden>)
 >Re: set volume v : Set the sound output and/or input volume (From: sphil <email@hidden>)

  • Prev by Date: Re: set volume v : Set the sound output and/or input volume
  • Next by Date: Re: coercing results of UI elements to paragraph delimited list
  • Previous by thread: Re: set volume v : Set the sound output and/or input volume
  • Next by thread: Re: set volume v : Set the sound output and/or input volume
  • Index(es):
    • Date
    • Thread