How can I set up a custom keyboard shortcut for volume control?

Hi all,
I use my black MacBook at work, connected to an external monitor and external keyboard. I'm looking for a way to set up the F buttons on my external keyboard as volume control, just as they do on my laptop keyboard. Looking for F3 to F5 to be volume mute, down, and up, respectively.
I tried going into Keyboard Shortcuts in System Preferences but since there is no menu item for volume control I can't seem to add it. Anyone know how I can go about doing this or what I'm missing?
Thanks
Mike

paste the following into Applescrpt Editor (it's in /Applications/Utilities)
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #ADD8E6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
set curVolume to output volume of (get volume settings)
-- work out the new setting
if curVolume < 96 then
set newVolume to curVolume + 5
else
-- can't go over 100
set newVolume to 100
end if
-- and apply it
set volume output volume newVolume</pre>
this script will increase volume by 5 (out of 100) any time you run it. you can adjust this of course. save the script somewhere.
You can use a 3rd part app launcher to bind a keyboard shortcut to it. I use Butler. there are many others: Quicksilver, ikeys, quickeys, Spark, Launchbar.
this will work the fastest.
If you don't want to use 3rd party tools for this you can make a service using automator but that might be a bit slower than the first option. open automator. it will give you a pulldown screen wiuth the choice of what you want to make. choose "service". set it to receive no input and be available in all applications. add the following "run apple script" action to the service
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #ADD8E6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
on run {input, parameters}
set curVolume to output volume of (get volume settings)
-- work out the new setting
if curVolume < 96 then
set newVolume to curVolume + 5
else
-- can't go over 100
set newVolume to 100
end if
-- and apply it
set volume output volume newVolume
end run</pre>
save the service, go to keyboard system preferences->keyboard shortcuts->services and make a shortcut for the service you just created.

Similar Messages

  • How can you set up a custom keyboard shortcut for Next Tab and Previous Tab?

    You can do this in Chrome because there is a top menu item for it, and OS X supports easily rebinding of keyboard shortcuts that are in the main menus.
    Is this possible in Firefox? Using a two handed shortcut to switch tabs is annoying when you want to keep one hand on the mouse!
    Thanks!

    Keyboard shortcuts
    * https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts
    -> Next Tab
    * Ctrl + Tab
    * Ctrl + Page Down
    -> Previous Tab
    * Ctrl + Shift + Tab
    * Ctrl + Page Up
    Check and tell if its working.

  • Keyboard Shortcut for Volume Control

    Dear all,
    Is there a way to increase or decrease the volume using a keyboard shortcut?? Any help here will be much appreciated.

    Use the side edge volume controls.
    There's no keyboard controls that I know of, other than the # key might place your device on the Silent profile (or the top edge MUTE key )
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How can I set the maximum number of restarts for my PDF files?

    I want sent my PDF to a friend,but I just allow him see it only twice.
    How can I set the maximum number of restarts for my PDF files?
    My software edition is Acrobat X

    In the old days when PDFs were only opened on desktops and only in Acrobat or Reader, scripting could fake security features and people were generally convinced. As there are so many ways to open a PDF without scripts ever being run (from mobile devices to in-browser display, or simply opening the file in Illustrator), none of that works anymore.

  • How can I set the number of batch process for DTP globally?

    Hi guys,
    How can I set the number of batch process for DTP in system globally?
    For eg. set the number to 1
    Any hint is appriciated!
    Regards,
    Liying

    Hi,
    In DTP screen also you can view batch settings. Check the Settings menu, you will find Batch.
    Reg
    Pra

  • Custom keyboard shortcuts for Liquify and Vanishing Point filter interfaces in Photoshop CS4?

    Is there a way to set custom keyboard shortcuts for Liquify and Vanishing Point filter interfaces in Photoshop CS4? When I change my keyboard shortcuts preferences for Photoshop, they don't change for these filter interfaces. Is there another way?

    what is the problem ??
    I tried to change the shortcut for the Vanishing Point and Liquify from
    Edit -> keyboard shortcuts(button) -> keyboard shortcuts (tab) -> filter (tab)
    and you will find these filters :
    double click on it and make a new shortcut
    but it MUST be Ctrl + (any letter) or you can make it Ctrl + Alt + (any letter)
    but if you made it just one lettre like S for example
    you will can't make a shortcut.
    hope I understood what you ment ???

  • How can I set h.264 to convert quicktime for itouch 16x9 (480x320)?

    When I select ipod settings and select 16:9 that converts to 320 x 180, but I need 480x320. How can I set that up?

    Hi,
    That is exactly what I did. It only gives me the preset 320 x 180. I would like better resolution than that for 16x9 aspect ratio.

  • How can I set up the canon printer mf4380dn for macbook pro MD318

    I can not set up the canon printer mf4380dn for macbook pro MD318 even thought I set up the printing driver already. The printer usually work good for printing via windows laptop.
    I tried some way but error appear "unable to verify the printer on your network". I printing IP is available

    Upgrade your RAM to at least 4GB's.  Your machine can support 6GB's, but upgrade to 4GB's first. Regardless of what Apple says, you need at least 4GB's to run Lion properly.

  • How can I change Next / Previous tab keyboard shortcut?

    Hello Firefox friends, is it possible to edit the keyboard shortcuts for Next / Previous Tab? I've tried the [https://addons.mozilla.org/en-US/firefox/addon/customizable-shortcuts/ Customizable Shortcuts ] Customizable Shortcuts add-on, but there isn't anything specifically for Next or Previous Tab. Has anyone figured this out? thanks a lot for your help!

    http://osxdaily.com/2014/10/08/change-keyboard-language-shortcut-mac-os-x/

  • Customized keyboard shortcuts for microsoft Word not working

    Hi,
    My Macbook Pro retina 15' with an updated Yosemite iOS 10.10.1 has an american keyboard. I am trying to create keyboard shortcuts for brazilian accent marks to use in Microsoft Word. I went to "system preferences", "keyboard", "shortcuts", "App Shortcuts", added Microsoft Word and, for the brazilian accent mark " ˜ ", which in the original keyboard is obtained with "option+n", I set the shortcut "option+left arrow".
    It just does not work. I created other shortcuts for other brazilian accent marks with the other arrows + control but none of them worked.
    Can anyone tell me what went wrong?
    Thanks!

    Amy~ Yep the lasso tool was what I verified with another user. 'L' seems to be bound indefinitely to loop through different types of lasso tools and it was annoying them because they just wanted L to be the regular freehand lasso. I removed 'L' from being an option on the polygon lasso and even set it explicitly to SHIFT+L as well as set the lasso tool to a completely different keyboard combo. 'L' still cycled through lassos haha. It needs some fixes.
    fertolg~ At least you have a workaround for now. I'd go nuts if I couldn't use keyboard text selection writing code, oy! You're welcome and if you're all set please mark correct so we can filter unanswered. Good luck!

  • How do I generate a list of keyboard shortcuts for any given application

    I want to generate a list of keyboard shortcuts for all of the applications I have on my Mac. I want the list to be a simple text (or rtf) file that I can edit and organize. (By edit, I don't mean change the shortcuts, only the report of them.)
    I was using Key Cue, but it does not let me save the list to a text file.
    I want this for several purposes. One is to have a easy to reference list of shortcuts to learn. Another is to find unused key combinations that I can use for my own keyboard shortcuts that I create with DefaultKeyBinding.dict.
    Note: The program doesn't have to an OS X app. A program that runs from a shell without a GUI is plenty adequate.
    If there is a way to read the keyboard commands from a plist list or other such file, and any of you know the format for these or where I can find them, I can write a Perl script myself to do it.

    Well, the info is stored in...
    /Users/YourUserName/Library/Preferences/com.apple.universalaccess.plist
    PlistPro has a way to convert it to ASCII, but you'll srtill have work to do, as...
    {enabled = 1; key = 20; modifier = 1179648; sybmolichotkey = 28; },
    {enabled = 1; key = 20; modifier = 1441792; sybmolichotkey = 29; },
    {enabled = 1; key = 21; modifier = 1179648; sybmolichotkey = 30; },
    {enabled = 1; key = 21; modifier = 1441792; sybmolichotkey = 31; },
    {enabled = 0; key = 28; modifier = 1572864; sybmolichotkey = 15; },
    {enabled = 0; key = 27; modifier = 1572864; sybmolichotkey = 19; },
    {enabled = 0; key = 24; modifier = 1572864; sybmolichotkey = 17; },
    {enabled = 0; key = 47; modifier = 1835008; sybmolichotkey = 25; },
    {enabled = 0; key = 43; modifier = 1835008; sybmolichotkey = 26; },
    {enabled = 0; key = 28; modifier = 1835008; sybmolichotkey = 21; },
    {enabled = 0; key = 96; modifier = 1048576; sybmolichotkey = 59; },
    {enabled = 1; key = 122; modifier = 262144; sybmolichotkey = 12; },
    {enabled = 0; key = 120; modifier = 262144; sybmolichotkey = 7; },
    {enabled = 0; key = 99; modifier = 262144; sybmolichotkey = 8; },
    {enabled = 0; key = 118; modifier = 262144; sybmolichotkey = 9; },
    {enabled = 0; key = 96; modifier = 262144; sybmolichotkey = 10; },
    {enabled = 0; key = 97; modifier = 262144; sybmolichotkey = 11; },
    {enabled = 1; key = 50; modifier = 1048576; sybmolichotkey = 27; },
    {enabled = 1; key = 98; modifier = 262144; sybmolichotkey = 13; },
    {enabled = 1; key = 50; modifier = 1572864; sybmolichotkey = 51; },
    {enabled = 1; key = 100; modifier = 262144; sybmolichotkey = 57; },
    {enabled = 1; key = 17; modifier = 1572864; sybmolichotkey = 50; },
    {enabled = 1; key = 2; modifier = 1572864; sybmolichotkey = 52; },
    {enabled = 0; key = 105; modifier = 0; sybmolichotkey = 32; },
    {enabled = 0; key = 109; modifier = 0; sybmolichotkey = 33; },
    {enabled = 0; key = 103; modifier = 0; sybmolichotkey = 36; },
    {enabled = 0; key = 109; modifier = 0; sybmolichotkey = 62; },
    {enabled = 0; key = 49; modifier = 1048576; sybmolichotkey = 60; },
    {enabled = 0; key = 49; modifier = 1572864; sybmolichotkey = 61; },
    {enabled = 1; key = 2; modifier = 1310720; sybmolichotkey = 70; },
    {enabled = 1; key = 49; modifier = 1048576; sybmolichotkey = 64; },
    {enabled = 1; key = 49; modifier = 1572864; sybmolichotkey = 65; },
    {enabled = 0; key = 53; modifier = 1048576; sybmolichotkey = 73; },
    {enabled = 1; key = 107; modifier = 0; sybmolichotkey = 53; },
    {enabled = 1; key = 113; modifier = 0; sybmolichotkey = 54; }

  • Remapping PC Keyboard keys for volume control

    I got an XArmor keyboard because I love mechanical keyswitches. Works great with my Mac.
    However, I do miss having volume control.
    How can I remap keys like say Option->Apple->+ to be the increase volume key?
    The +, -, and enter keys on the numeric keypad would be great for volume control.
    The only software I found so far for doing this was very clumsy and unreliable: Sparks.

    Use the side edge volume controls.
    There's no keyboard controls that I know of, other than the # key might place your device on the Silent profile (or the top edge MUTE key )
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How can I set up a custom 404 error page on OSX Server?

    I moved my web site to a local server and changed the structure drastically.  Unfortunately I am getting hits for information that was on the old server which I haven't put back yet.  I'd like to set up a custom 404 Error Page to let people know what's up.  In server.app I can set up a 500 error page but not a 404 and when I tried hand coding it into the sites .conf file I really messed things up.  It took me a while to get that all corrected!
    Thanks for any advice,
    Bill W

    Found it!
    Under the web server Advanced Setting set "Allow overrides using .htaccess" then create an .htaccess file in the root directory with the line:
    ErrorDocument 404 notfounderror.html
    Use whatever HTML/PHP/etc. document you have created.

  • How can I stop flash from preventing keyboard shortcuts, such as Ctrl-T?

    If a tab is open and any flash object is highlighted, Shortcuts such as Ctrl T do not work because the flash object is monitoring the keyboard.
    How can I prevent this behavior? I wish firefox KB shortcuts to have primacy.

    If a plugin like Flash has focus then you need to use the mouse to set focus to an element outside that Flash object. There is currently no way to do that with the keyboard.
    See
    [https://bugzilla.mozilla.org/show_bug.cgi?id=93149 Bug 93149] – No way to move focus between plugin and browser from keyboard
    ''(please do not comment in bug reports)''

  • How can I see all the assigned keyboard shortcuts, including those from my installed add-ons?

    I was looking at an add-on screenshot and noticed the invocation of an option is through Ctrl-Shift-H, however it's Ctrl-Shift-K on my system. The add-on has no options (it's the Element Hiding Helper for Adblock Plus) so I can't set that keyboard shortcut. So I am curious as to all the keyboard shortcuts on my system, including which one has Ctrl-Shift-H.

    Im sorry to revive this, but i didnt want to create another topic for this.
    Anyway, is there a working version of keyconfig for FF4? Firefox 4 is almost released yet this addon isnt working and its a 'key feature' thats missing.

Maybe you are looking for

  • Bdc transaction problem

    hi, i am create a programm for f-27 type DG by bdc session method when i execute it on 3rd screen of execution it ask for the values for PAYMENT TERMS but in manual entry OF F-27 it does not TAKE ANY PAYMENT TERMS. plz check my code and tell me where

  • ORABPEL-03013

    Does anybody know, how to fix the 03013 error? <2008-06-25 16:52:47,768> <DEBUG> <pallas.collaxa.cube.engine.dispatch> <RemoveMessageHandler::handle> Processing remove message for ticket 3b0e8548d39845f4:52c9ed72:11abefbfcf6:-7582 <2008-06-25 16:52:4

  • OS 10.9 and Word footnote numbers

    Mavericks (OS 10.9) has changed how footnote numbers are treated in Microsoft Word 2011. They're now rendered so tiny---both onscreen and printing---as to be unreadable. An unhelpful "genius" at an Apple store said Mavericks changed the "font hinting

  • [SOLVED] No sound after plug out the headphone

    The computer act weird suddenly that, if I plug in the headphone, I can hear the sound from the headphone. But if I plug out, there is no sound from speaker and headphone. Before the problem appear, the sound icon at the system tray has two states of

  • Setup table filling for 2lis_04

    Hi gurus, While the job RMCFNEUA was working I have received the below-mentşoned log related to the job. 28.04.2014 21:16:38 Job started 28.04.2014 21:16:39 Step 001 started (program RMCFNEUA, variant &0000000000011, user ID ECARL) 29.04.2014 00:06:1