Key Binding Display

Author
jac
Max Output Level: -90 dBFS
  • Total Posts : 48
  • Joined: 2010/02/17 21:55:28
  • Status: offline
2012/04/13 19:01:54 (permalink)

Key Binding Display

I recently wrote myself a simple AutoHotKey program to help navigate the jungle of keyboard shortcuts in Sonar and I thought I would share it with the Cake community.
 
The basic idea is to provide an on-screen display of a standard keyboard with brief shortcut descriptions below each key for which there is a binding. By pressing the button for a key, or the key itself on the keyboard, you can display info about all of the available bindings for that key. The display updates when a modifier key is pressed to show the bindings for that modifier, or modifier combination, and a simple search function is also available. The binding descriptions are all stored in a text file, which can be edited to add your own bindings or to fix my mistakes.
 
I'm attempting to upload a screenshot so you can see it. If you're interested in more info, I set up a Google site where you can view and download it (you can also see screenshots there if it doesn't work here - can't get the preview to work...).
 
https://sites.google.com/site/keybindingdisplay 
 
Let me know what you think! (please be gentle, this is my first AutoHotKey script!)
 

 
#1

23 Replies Related Threads

    jac
    Max Output Level: -90 dBFS
    • Total Posts : 48
    • Joined: 2010/02/17 21:55:28
    • Status: offline
    Re:Key Binding Display 2012/04/15 15:40:30 (permalink)
    OK, I hope the image shows up this time - I can see it when I upload, but not in the preview ('not sure what's up with that).
     
    Anyway, check it out. Hey, it's free!!
     
     
     
    jac


    I recently wrote myself a simple AutoHotKey program to help navigate the jungle of keyboard shortcuts in Sonar and I thought I would share it with the Cake community.
     
    The basic idea is to provide an on-screen display of a standard keyboard with brief shortcut descriptions below each key for which there is a binding. By pressing the button for a key, or the key itself on the keyboard, you can display info about all of the available bindings for that key. The display updates when a modifier key is pressed to show the bindings for that modifier, or modifier combination, and a simple search function is also available. The binding descriptions are all stored in a text file, which can be edited to add your own bindings or to fix my mistakes.
     
    I'm attempting to upload a screenshot so you can see it. If you're interested in more info, I set up a Google site where you can view and download it (you can also see screenshots there if it doesn't work here - can't get the preview to work...).
     
    https://sites.google.com/site/keybindingdisplay 
     
    Let me know what you think! (please be gentle, this is my first AutoHotKey script!)
     

     


    #2
    DRanck
    Max Output Level: -78 dBFS
    • Total Posts : 608
    • Joined: 2013/05/31 18:35:32
    • Location: Sarasota, FL USA
    • Status: offline
    Re:Key Binding Display 2015/03/13 20:04:55 (permalink)
    Wish I had found this a while ago... Thanks!

    My Sound Cloud
    Website
    Youtube Channel
    The way that I've always gone about making music, the rule of thumb, has just been to make what I love.
    Amy Lee
     
    Sonar Pro 64 (Newburyport), Akai Pro MPK 88, i7-4770K, ASUS Z87-PRO V,  32GB SDRAM 1866, SAMSUNG 840 EVO 500GB SSD, 2 - WD BLACK 2TB, Samsung USB 3.0 SSD, Win 10 Pro 64, Radeon R9 270 Video 2GB, Dell P2314T 23" Touchscreen, Gateway 23" monitor, Presonus USB Audio Interface, Surface Pro 2 w/ Xotopad as a control surface
    #3
    mudgel
    Max Output Level: 0 dBFS
    • Total Posts : 12010
    • Joined: 2004/08/13 00:56:05
    • Location: Linton Victoria (Near Ballarat)
    • Status: offline
    Re:Key Binding Display 2015/03/14 01:45:58 (permalink)
    Will this show the appropriate Keyboard Shortcuts for Sonar Platinum?
    They have changed considerably since Sonar X1 which is the version you say you use on your website.

    Mike V. (MUDGEL)

    STUDIO: Win 10 Pro x64, SPlat & CbB x64,
    PC: ASUS Z370-A, INTEL i7 8700k, 32GIG DDR4 2400, OC 4.7Ghz.
    Storage: 7 TB SATA III, 750GiG SSD & Samsung 500 Gig 960 EVO NVMe M.2.
    Monitors: Adam A7X, JBL 10” Sub.
    Audio I/O & DSP Server: DIGIGRID IOS & IOX.
    Screen: Raven MTi + 43" HD 4K TV Monitor.
    Keyboard Controller: Native Instruments Komplete Kontrol S88.
    #4
    DoctorCalabria
    Max Output Level: -90 dBFS
    • Total Posts : 36
    • Joined: 2010/12/21 01:24:57
    • Status: offline
    Re:Key Binding Display 2015/03/14 08:26:46 (permalink)
    Thanks for sharing. Can't wait to try.

    Sonar Version:  Sonar Platinum  
    Audio Interface: RME RayDAT w/ Behringer X32 and X-ADAT interface
    Computer: i7-4790k, 32GB RAM, Windows 7 Pro x64, Samsung SSD 500G, HGST 4G x 2, QNAP NAS
    SW: iZotope Ozone 6, RX 4, NI Komplete 10 Ultimate, Plogue Bidule, Omnisphere, Trilian
    MIDI Controllers: A-Pro, NI Komplete Kontrol 61, Fatar 88, X32


    #5
    DRanck
    Max Output Level: -78 dBFS
    • Total Posts : 608
    • Joined: 2013/05/31 18:35:32
    • Location: Sarasota, FL USA
    • Status: offline
    Re:Key Binding Display 2015/03/14 08:31:30 (permalink)
    I think the shortcuts are for X1, but there is a text file that can be easily modified. I haven't done it yet. If I do, I'll post it.

    My Sound Cloud
    Website
    Youtube Channel
    The way that I've always gone about making music, the rule of thumb, has just been to make what I love.
    Amy Lee
     
    Sonar Pro 64 (Newburyport), Akai Pro MPK 88, i7-4770K, ASUS Z87-PRO V,  32GB SDRAM 1866, SAMSUNG 840 EVO 500GB SSD, 2 - WD BLACK 2TB, Samsung USB 3.0 SSD, Win 10 Pro 64, Radeon R9 270 Video 2GB, Dell P2314T 23" Touchscreen, Gateway 23" monitor, Presonus USB Audio Interface, Surface Pro 2 w/ Xotopad as a control surface
    #6
    DRanck
    Max Output Level: -78 dBFS
    • Total Posts : 608
    • Joined: 2013/05/31 18:35:32
    • Location: Sarasota, FL USA
    • Status: offline
    Re:Key Binding Display 2015/03/14 09:52:34 (permalink)
    Hmm,
     
    I can't get the new KeyBindings.txt file to be loaded into KBD.

    My Sound Cloud
    Website
    Youtube Channel
    The way that I've always gone about making music, the rule of thumb, has just been to make what I love.
    Amy Lee
     
    Sonar Pro 64 (Newburyport), Akai Pro MPK 88, i7-4770K, ASUS Z87-PRO V,  32GB SDRAM 1866, SAMSUNG 840 EVO 500GB SSD, 2 - WD BLACK 2TB, Samsung USB 3.0 SSD, Win 10 Pro 64, Radeon R9 270 Video 2GB, Dell P2314T 23" Touchscreen, Gateway 23" monitor, Presonus USB Audio Interface, Surface Pro 2 w/ Xotopad as a control surface
    #7
    Susan G
    Max Output Level: 0 dBFS
    • Total Posts : 12016
    • Joined: 2003/11/05 22:49:26
    • Location: Putnam County, NY
    • Status: offline
    Re:Key Binding Display 2015/03/14 13:07:54 (permalink)
    DRanck
    Hmm,
     
    I can't get the new KeyBindings.txt file to be loaded into KBD.


    That's what I found, too. I can even move that text file out of the folder and it still works, so it's not reading it. It's a great little app, though! I hope this can be addressed.
     
    -Susan

    2.30 gigahertz Intel Core i7-3610QM; 16 GB RAM
    Windows 10 x64; NI Komplete Audio 6.
    SONAR Platinum (Lexington) x64
    #8
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re:Key Binding Display 2015/03/14 14:29:47 (permalink)
    I am guessing the dev used an "#Include Keybindings.txt" directive to add the file so it was read in at compile time.
    #9
    jac
    Max Output Level: -90 dBFS
    • Total Posts : 48
    • Joined: 2010/02/17 21:55:28
    • Status: offline
    Re:Key Binding Display 2015/03/15 00:57:32 (permalink)
    I took a look and scook is right, there is a #include directive in the script. After a little investigation, I found that this is, apparently, a known issue with AutoHotKey script compilation. The AHK script itself works as expected, but once it's compiled into an executable, the key bindings get hard-wired in. bummer - wasn't expecting that.
     
    I'm still investigating (do you know of a work-around scook?). In the meantime, has anyone actually updated the KeyBindings file? If so, I can do a quick recompile with that while I continue to look into it. 'just let me know...
     
    It's getting kinda late here, so I'll have to pick this up again later - but thank you all for the interest!

    Sonar X2 Producer - 64 bit (various plugins/soft synths)
    Windows 7, Home Premium
    Intel Core i7-920, 2.67GHz (4 cores, 8 virtual), 24 Gig RAM
    Separate system/sample/project disk drives
    Dual monitor
    Echo Layla 3G
    Edirol PCR-300
    #10
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re:Key Binding Display 2015/03/15 01:25:31 (permalink)
    Glad to read your reply. I was going to ask for the source (it is GNU right?) but tore the script from the exe and have been playing with the extracted source today. Mostly reformatting and wrapping my head around the original "On-Screen Keyboard by Jon" script. The good news is with a few minor changes the code works with autoHotKey v1.1.20.2 from http://ahkscript.org/. I know how to approach this in other languages and was going to try the same technique tomorrow. If you want to discuss it in detail PM me.
    post edited by scook - 2015/03/15 01:31:35
    #11
    BobF
    Max Output Level: 0 dBFS
    • Total Posts : 8124
    • Joined: 2003/11/05 18:43:11
    • Location: Missouri - USA
    • Status: offline
    Re:Key Binding Display 2015/03/20 07:52:28 (permalink)
    I found this searching for a couple of other references to ahk scripts that I've seen posted.  I finally got around to getting ahk installed.
     
    I was thinking of a thread to share ahk scripts in ... too bad this one is compiled.
     
     

    Bob  --
    Angels are crying because truth has died ...
    Illegitimi non carborundum
    --
    Studio One Pro / i7-6700@3.80GHZ, 32GB Win 10 Pro x64
    Roland FA06, LX61+, Fishman Tripleplay, FaderPort, US-16x08 + ARC2.5/Event PS8s 
    Waves Gold/IKM Max/Nomad Factory IS3/K11U

    #12
    jac
    Max Output Level: -90 dBFS
    • Total Posts : 48
    • Joined: 2010/02/17 21:55:28
    • Status: offline
    Re:Key Binding Display 2015/03/20 17:25:38 (permalink)
    An update!
     
    As requested, the latest KBD package, now available on the website, contains a key bindings file which has been updated for Sonar Platinum. As before, any mistakes you find are mine - but now you can fix them because...
     
    ... the bug that prevented proper loading of user-defined key bindings has been fixed too! Many thanks to scook for diving into the code and coming up with a solution. It's much appreciated, as have been our discussions over the last few days.
     
    Also, if anyone decides to write a bindings file for another tool, or makes any changes that they would like to share, please let me know. I'll be happy to include them in any future packages.
     
    Here's the website again:
     
    https://sites.google.com/site/keybindingdisplay 
     
    Enjoy!
     
     

    Sonar X2 Producer - 64 bit (various plugins/soft synths)
    Windows 7, Home Premium
    Intel Core i7-920, 2.67GHz (4 cores, 8 virtual), 24 Gig RAM
    Separate system/sample/project disk drives
    Dual monitor
    Echo Layla 3G
    Edirol PCR-300
    #13
    Paul P
    Max Output Level: -48.5 dBFS
    • Total Posts : 2685
    • Joined: 2012/12/08 17:15:47
    • Location: Montreal
    • Status: offline
    Re:Key Binding Display 2015/03/20 17:54:40 (permalink)
     
    This is great.  Thank you.
     
    Is it supposed to beep everytime you hit a key to see what its bindings are ?
     
    The program doesn't show up in the windows taskbar so its window can get lost beneath other windows with no way to get at it without closing or moving the other windows.
     
    Other than that, it seems to work fine.
     

    Sonar Platinum [2017.10], Win7U x64 sp1, Xeon E5-1620 3.6 GHz, Asus P9X79WS, 16 GB ECC, 128gb SSD, HD7950, Mackie Blackjack
    #14
    jac
    Max Output Level: -90 dBFS
    • Total Posts : 48
    • Joined: 2010/02/17 21:55:28
    • Status: offline
    Re:Key Binding Display 2015/03/20 18:57:28 (permalink)
    Hey Paul. I was getting the beep too. It's coming from Windows. I actually turned it off on my system and then forgot about it. I'm not sure what I can do about it, I'll have to check. In the meantime, unless you actually want it, you can shut it off by going to Sounds portion of the Control Panel. Go to the Sounds tab in the Change System Sounds. I believe it's called "Default Beep", or something like that. Just set it to "none".
     
    As for the taskbar issue, I see that one too. AutoHotKey scripts show up in the lower right portion of the taskbar as a green box with an "H" in it. (you might have to hit the up-arrow to see it among the other running tasks). Again, not sure how to deal with that, but you can easily bring the keyboard back on top by typing the win->space key combination twice to hide it and re-open it. It will pop back up on top.
     
    I'll try to look into better solutions, but that may not happen right away. In the meantime, see if these suggestions aren't a help.
     
    Thanks....

    Sonar X2 Producer - 64 bit (various plugins/soft synths)
    Windows 7, Home Premium
    Intel Core i7-920, 2.67GHz (4 cores, 8 virtual), 24 Gig RAM
    Separate system/sample/project disk drives
    Dual monitor
    Echo Layla 3G
    Edirol PCR-300
    #15
    DRanck
    Max Output Level: -78 dBFS
    • Total Posts : 608
    • Joined: 2013/05/31 18:35:32
    • Location: Sarasota, FL USA
    • Status: offline
    Re: Key Binding Display 2015/03/20 20:37:53 (permalink)
    Thanks Jac!
     
    Really great utility. I've created a bunch of spreadsheets as cheatsheets and never really liked any of them. This is just what I need.
     
    Thanks again for taking the time to update it for Platinum!
     
    Dave

    My Sound Cloud
    Website
    Youtube Channel
    The way that I've always gone about making music, the rule of thumb, has just been to make what I love.
    Amy Lee
     
    Sonar Pro 64 (Newburyport), Akai Pro MPK 88, i7-4770K, ASUS Z87-PRO V,  32GB SDRAM 1866, SAMSUNG 840 EVO 500GB SSD, 2 - WD BLACK 2TB, Samsung USB 3.0 SSD, Win 10 Pro 64, Radeon R9 270 Video 2GB, Dell P2314T 23" Touchscreen, Gateway 23" monitor, Presonus USB Audio Interface, Surface Pro 2 w/ Xotopad as a control surface
    #16
    jac
    Max Output Level: -90 dBFS
    • Total Posts : 48
    • Joined: 2010/02/17 21:55:28
    • Status: offline
    Re: Key Binding Display 2015/03/20 20:41:35 (permalink)
    'glad you like it - my pleasure!

    Sonar X2 Producer - 64 bit (various plugins/soft synths)
    Windows 7, Home Premium
    Intel Core i7-920, 2.67GHz (4 cores, 8 virtual), 24 Gig RAM
    Separate system/sample/project disk drives
    Dual monitor
    Echo Layla 3G
    Edirol PCR-300
    #17
    williamcopper
    Max Output Level: -68 dBFS
    • Total Posts : 1120
    • Joined: 2014/11/03 09:22:03
    • Location: Virginia, USA
    • Status: offline
    Re: Key Binding Display 2015/03/20 20:54:58 (permalink)
    Thanks!
    #18
    Susan G
    Max Output Level: 0 dBFS
    • Total Posts : 12016
    • Joined: 2003/11/05 22:49:26
    • Location: Putnam County, NY
    • Status: offline
    Re:Key Binding Display 2015/03/20 23:44:38 (permalink)
    jac
    An update!
     
    As requested, the latest KBD package, now available on the website, contains a key bindings file which has been updated for Sonar Platinum. As before, any mistakes you find are mine - but now you can fix them because...
     
    ... the bug that prevented proper loading of user-defined key bindings has been fixed too! Many thanks to scook for diving into the code and coming up with a solution. It's much appreciated, as have been our discussions over the last few days.
     
    Also, if anyone decides to write a bindings file for another tool, or makes any changes that they would like to share, please let me know. I'll be happy to include them in any future packages.
     
    Here's the website again:
     
    https://sites.google.com/site/keybindingdisplay 
     
    Enjoy!
     
     


    Very cool, very useful (especially for someone coming [back] from a DAW with a whole 'nother set of keybindings!)


    Thanks much for this!
     
    -Susan

    2.30 gigahertz Intel Core i7-3610QM; 16 GB RAM
    Windows 10 x64; NI Komplete Audio 6.
    SONAR Platinum (Lexington) x64
    #19
    precisionguided
    Max Output Level: -90 dBFS
    • Total Posts : 13
    • Joined: 2015/02/21 23:14:05
    • Status: offline
    Re:Key Binding Display 2015/03/21 01:57:35 (permalink)
    Thanks for the update. Love this.
    #20
    tparker24
    Max Output Level: -80 dBFS
    • Total Posts : 544
    • Joined: 2003/11/06 02:42:14
    • Status: offline
    Re:Key Binding Display 2015/03/22 19:56:54 (permalink)
     
     
     
     
    Jac, great job on KBD!

    If you're interested, here are some suggested corrections, that I've tested out.

    Note: I'm just showing the "Info" lines, I'm not showing the corresponding "Key" lines.  And the "//" parts are just my comments (that, of course, should be removed).


    InfoA_F6    = From = Start
    InfoS_F6    = Select by Time
    InfoAS_F6   = Thru = End
     
    Info_N      = Snap to Grid on/off
    InfoC_PgUp  = Go to previous measure
    InfoC_PgDn  = Go to next measure
    InfoS_Left  = Cycle Track Control Manager
    InfoS_Right = Cycle Track Control Manager
    InfoA_Down  = Zoom out on all audio waveforms and midi notes  // Added: "and midi notes"
    InfoS_W     = RTZ and Play    // Added: "and Play"
    Info_O      =                 // Nothing. Not: "Envelope Offset mode on/off"
    InfoS_S     =                 // Nothing. Not: "Select current track"
    InfoCS_V    =                 // Nothing. Not: "Open V-Vocal Editor"
     
    - Tom
     
    #21
    BassDaddy
    Max Output Level: -33 dBFS
    • Total Posts : 4232
    • Joined: 2012/12/31 13:55:58
    • Location: I'm an American. From America!
    • Status: offline
    Re:Key Binding Display 2015/03/22 20:55:22 (permalink)
    Looking forward to checking this out! Thanx!

    It's Bass, not Bass.
    i7 2700K, 16GB DDR3, 2 SSD sample drives and OS drive, HDD SATAIII for projects, 2 24" monitors
    Focusrite Saffire Pro 24, Focusrite VRM Box, LAVA Lamp, SONAR Platinum 64 bit, Mackie MCU and 1 MCU XT, Akai Advance 49, Windows 10,
    Komplete 9 Ultimate, Cakewalk, Toontrack, IK, AAS, XLN, UVI, Air Music Tech, Waves Factory, Sample Tek and Sonivox VSTi's. Overloud, T-Racks, Audio Damage, D16, Nomad Factory, Waves Gold FX 
    #22
    jac
    Max Output Level: -90 dBFS
    • Total Posts : 48
    • Joined: 2010/02/17 21:55:28
    • Status: offline
    Re:Key Binding Display 2015/03/23 20:13:28 (permalink)
    Hey Tom - I made the changes you suggested. A new download is available...
     
    Thanks for proofreading!

    Sonar X2 Producer - 64 bit (various plugins/soft synths)
    Windows 7, Home Premium
    Intel Core i7-920, 2.67GHz (4 cores, 8 virtual), 24 Gig RAM
    Separate system/sample/project disk drives
    Dual monitor
    Echo Layla 3G
    Edirol PCR-300
    #23
    tparker24
    Max Output Level: -80 dBFS
    • Total Posts : 544
    • Joined: 2003/11/06 02:42:14
    • Status: offline
    Re:Key Binding Display 2015/03/23 23:40:27 (permalink)
    jac
    Hey Tom - I made the changes you suggested. A new download is available...
     
    Thanks for proofreading!



    You're welcome! Glad to help out on your great project.
     
    #24
    Jump to:
    © 2025 APG vNext Commercial Version 5.1