Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Incremental volume adjustments with AppleScript?

Hello All


I would like an AppleScript that would increase volume as if i was hitting Shift+options+F12. Does anyone know how to do this?

Cheers

OS X Mountain Lion (10.8.4), AppleScript

Posted on Jul 28, 2013 1:04 AM

Reply
7 replies

Jul 28, 2013 6:03 PM in response to wrignj08

You'll need to explain in more detail what it is you are trying to do.


twtwtw gave the Applescript way to do this and your title does ask how to do this with Applescript, so…


What graphical feedback are you looking for? If you want to have your script adjust volume in a graphical manner you could add a slider to the scripts UI vi Applescript/Objective-C


regards

Jul 28, 2013 6:10 PM in response to Frank Caggiano

Sorry I thought I had made it clear enough, what I want is an applescript that i can evoke which will simulate the "Shift+options+F12" command exactly. So I'm after the standard audial and visual feedback (the popping sound and the grey indicator square which appears when adjusting the volume). I was hoping to be able to tell applescript to hit the key combo I'm after however I found it difficult to map the f12 key as a media key as opposed to f12.

Jul 29, 2013 8:34 AM in response to wrignj08

Are you saying that you want Shift+options+F12 and some other to to both adjust the volumn?


Here is how got two view desktop keys.


Turn off the desktop key.


User uploaded file


2) pick some keyboard re-mapping app.


----------------


Keyboard Maestro is a powerful macro program for Mac OS X (including Tiger and Leopard) which has received glowing reviews. Keyboard Maestro will take your Macintosh experience to a new level in “Ease of Use”. With Keyboard Maestro you can design a custom action sequence with your own shortcuts and use them at any time, you can navigate through running applications and open windows with Program Switcher, and you can work with an unlimited number of clipboards - all by pressing simple keystrokes.

http://www.keyboardmaestro.com/main/


-----------------

"Spark is a powerful, and easy Shortcuts manager. With Spark you can create Hot Keys to launch applications and documents, execute AppleScript, command iTunes, and more... You can also export and import your Hot Keys library, or save it in HTML format to print it. Spark is free, so use it without moderation"

http://www.versiontracker.com/dyn/moreinfo/macosx/22675


----------------------




"iKey is an automation utility, a program that creates shortcuts to accomplish repetitive tasks. In essence, an iKey shortcut is a little program in its own right, but you don't need to know the first thing about programming to create an iKey shortcut. All you have to do is put together three necessary parts of a shortcut: One or more commands that give the shortcut its functionality, a context in which it runs, and a launcher that defines how the shortcut is activated."

http://www.scriptsoftware.com/ikey/


----------------------


3) configure you keyboard remapping app to map some key to Shift+options+F12


4) turn view desktop f11 back on.


Robert

Incremental volume adjustments with AppleScript?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.