• 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: Robert Poland <email@hidden>
  • Date: Mon, 15 Jul 2013 10:20:34 -0600

Hi,

What I'm hearing is that if I have a long tell block and I want to embed the "set volume with output muted" command I must exit the tell block(s), do the "set volume with output muted" command then reenter the tell block(s).

On Jul 15, 2013, at 8:57 AM, "koenig.yvan" <email@hidden> wrote:

>
> Le 15/07/2013 à 16:36, sphil <email@hidden> 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

Robert Poland - Fort Collins, CO




 _______________________________________________
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


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>)
 >Re: set volume v : Set the sound output and/or input volume (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: Re: coercing results of UI elements to paragraph delimited list
  • Next by Date: Revisited: controlling sound input on Mac Pro?
  • 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