KeyCommand Utility - Now Testing Mac Support

Post general topics related to Cubase 7 and Cubase Artist 7 here.

KeyCommand Utility - Now Testing Mac Support

Postby JMCecil » Sun Dec 30, 2012 3:41 am

UPDATE: 11/13/2013: New version with an updated css that uses smaller fonts. Added a "." to the empty cells.

There is now a bit of script that lets you more easily choose MAC or PC
Code: Select all
#change these two values to identify MAC or PC
my @mods = @PCmods;  #set to @MACmods or @PCmods  case senstive
my @abrs = @PCabr; #set to @MACabr or @PCabr  case senstive

Find this section and set the value after the = sign.

Typical disclaimer - this program isn't designed to do anything useful. If you accidently get it to do something you find agreeable, then that's a bonus. Should running it on your computer ruin your parents credit rating or modify the future beyond your ability to live in it (FZ reference FTW), that's on you.

perl script linked at the bottom of this post
Put the two files from the zip at the bottom of this post, in the directory that has your Key Commands.xml file in it.

Run the script
It will create a KeyCommands.html file
Open KeyCommands.html in your browser of choice.
Bask in the glory of my L33T Perl skillz...

There is a css file with a "background-color: xxxx" value for each command class of command. You can use internet colors or hex color values. Google css background-color for explanation of choices.

NOTE: There are some odd keyboard choices like '-' and '+' that are not treated normally. For example + should really be 'SHIFT+='. But because the + is treated as it's own symbol, there is a + row that can only ever have 1 command mapped to it. And you can never have a 'SHIFT+='. Hope that makes sense.

NOTE 2: If you hover your mouse over a command, it will show you the complete name as it is in the Cubase key command list like below;
Image

Here is the original thread
Key Command Utility
Attachments
genCommand.zip
Updated 11/13/2013
(3.08 KiB) Downloaded 136 times
Last edited by JMCecil on Thu Nov 14, 2013 12:24 am, edited 15 times in total.
cpu:i7 980x - RAM:24gb - OS:Win8.1x64 - Interfaces:Lynx Aurora, Komplete Audio 6 - MIDI:Midisport 4x4, Quadra Thru
Steiny Suff: CMC:FD,CH,TP,QC,PD | Wavelab 8 |Cubase 6.5/7.5| H5, HS2, HSO, Padshop Pro
User avatar
JMCecil
Grand Senior Member
 
Posts: 3858
Joined: Wed Dec 15, 2010 5:03 pm
Has thanked: 38 times
Been thanked: 169 times

Re: Oldie but Goodie Utility

Postby cubic13 » Sun Dec 30, 2012 6:07 am

Thanks a lot !

As I wasn"t a cubase.net forum yet at this time (september 2005), I never stumbled on this one.
Will try it ASAP and keep you informed. :)


EDIT just tried it and works perfectly. FWIW, I join mine (in txt format, which needs reformating ; the HTML version is much better but I can't upload it : it is rejected by the forum as 'possible attack vector'...

Can't keeps me from thinking that such a tool should have been integrated in Cubase since all these years.

Thanks again ! :D
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

Last edited by cubic13 on Sun Dec 30, 2012 6:28 am, edited 1 time in total.
DAW : i7-870 (HT enabled) - Asus P7-P55D-E - 16 Gb DDR3-1600 - 2 x WD Black Caviar 1 Tb - Radeon 6450 GPU (512 Mb) - Windows 7 Pro SP1 (64) / E-Mu 1616m PCIe + Behringer ADA8000
Soft & plug-ins : Cubase 5.1.1 (64) & 6.5.5 (64) + HSO / Emulator X3 / TruePianos / Ivory II / GSi Mr Ray73 MkII & VB3 / Sylenth1 / Alchemy / Loomer String / Arturia MMV / BFD2 / Ariesverb
Gear : Studiologic VMK-188+ / Akai MPD32 controller / Akai ME30P MIDI Patchbay / Korg 05RW / Roland D110 / Yamaha TX802 / Zoom G9.2tt / My really old ones (pre-MIDI era) : ARP Odyssey + Korg MS20
User avatar
cubic13
Member
 
Posts: 587
Joined: Wed Dec 15, 2010 8:46 pm
Location: near the Serre-Ponçon lake, french Alps
Has thanked: 1 time
Been thanked: 8 times

Re: Oldie but Goodie Utility

Postby JMCecil » Sun Dec 30, 2012 6:09 am

Moved the original VB Script to this thread to make the first post easier to read


Code: Select all
' TODO: Set the different Const and Arrays to your needs
' ---------------------------------------------------
Option Explicit
Const HTML = True ' True html file, False texte file (Tab delimited)
Const SECTIONNAME = False ' add the section name (True or False)
Const SORTKEY = False ' sort by key name (True or False)
' TODO : to have your keys in a certain order, enter them here:
'-----------------------------------------------
B = Array( _
    "F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12", _
    "`","1","2","3","4","5","6","7","8","9","0", _
    "-","=","_","+","Backspace", _
    "A","B","C","D","E","F","G","H","I","J","K","L", "M", _
    "N","O","P","Q","R","S","T","U","V","W","X","Y","Z", _
    "[", "]","\",";","'",",",".","/","Return","Space", _
    "Insert", "Del", "Home", "End", "PgUp", "PgDown",  _
    "Left Arrow", "Up Arrow", "Right Arrow", "Down Arrow", _
    "Pad0","Pad1","Pad2","Pad3","Pad4","Pad5","Pad6","Pad7", _
    "Pad8","Pad9","Pad .","Pad /","Pad *","Pad -","Pad +","Enter" _
    ) ' end of array
  ' Make sure you have SORTKEY = False ;)
  Const REMOVE_UNUSED = False ' removes unused keys from the list
  ' Find Replace key name , add always by pair: "SX key name", "New Name"
  C = Array("_", "Shift+-", "+", "Shift+=")
  ' C = Array(-1) ' uncomment if you don't want key renaming
  ' Section color (http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/colors/colors.asp)
  ' Each section name must be followed by a color name
BK = Array( "AddTrack",         "white", _
            "Analyze",          "gold", _
            "Arranger",         "gold", _
            "Audio",            "white", _
            "Audio Export",     "white", _
            "Audio Realtime Processing",   "white", _
            "Automation",       "white", _
            "Beat Designer",    "white", _
            "Chords",           "white", _
            "Control Room",     "white", _
            "Devices",          "white", _
            "Edit",             "crimson", _
            "Editors",          "MediumVioletRed", _
            "Export",           "deeppink", _
            "File",             "indianred", _
            "Focus",            "white", _
            "Hitpoints",        "Teal", _
            "Hub",              "white", _
            "Import",           "limegreen", _
            "Inspector",        "white", _
            "Media",            "DarkTurquoise", _
            "MIDI",             "turquoise", _
            "Mixer",            "linen", _
            "Navigate",         "peachpuff", _
            "Note Expression",  "white", _
            "Nudge",            "PeachPuff", _
            "Preferences",      "silver", _
            "Preset",           "white", _
            "Process",          "lightskyblue", _
            "Process Logical Preset",  "white",_
            "Process Plugin",   "mediumturquoise", _
            "Process Project Logical Editor",  "white",_
            "Project",          "GreenYellow", _
            "Quantize Category", "steelblue", _
            "Sample Editor",    "white", _
            "Score Align Elements",  "white",_
            "Score Functions",  "white", _
            "Score Meter Scale", "white", _
            "Score Symbol Palettes", "white", _
            "Scores",            "white", _
            "Scores Statusbar",  "white", _
            "Set Insert Length", "skyblue", _
            "Tool",              "Thistle", _
            "Transport",         "yellow", _
            "Windows",          "white", _
            "Workspaces",        "tan", _
            "Zoom",              "beige", _
            "Macro",             "MediumOrchid" _
)
         CH = Array("auml" ,228,"ouml" ,246,"uuml" ,252,"szlig" ,223,"Auml" ,196,"Ouml" ,214,"Uuml" ,220,"nbsp" ,160,"Agrave" ,192,"Egrave" ,200,"Eacute" ,201,"Ecirc" ,202,"egrave" ,232,"eacute" ,233,"ecirc" ,234,"agrave" ,224,"iuml" ,239,"ugrave" ,249,"ucirc" ,251,"uuml" ,252,"ccedil" ,231,"AElig" ,198,"aelig" ,330, "OElig" ,338,"oelig" ,339,"euro" ,8364,"laquo" ,171,"raquo" ,187, "sect", 167)
' / TODO
'---------------------------------------------------
Dim A, B, C, BK, CH
GetSX_Keys
Sub GetSX_Keys
  Dim WshShell, fso, f, f2, f3, dir, dir2, tp, bc, n
  Redim A(UBound(B)+1)
  For f = 0 To UBound(B)
    A(f+1) = Array( B(f), ".", ".", ".", ".", ".", ".", ".", ".")
  Next
  A(0) = Array("key", "-", "Shift", "Ctrl", "Alt", "Ctrl+Shift", "Alt+Shift", "Ctrl+Alt", "Ctrl+Alt+Shift")
  If HTML Then tp = "html" else tp = "txt"
  set WshShell = CreateObject("WScript.Shell")
  dir = WshShell.SpecialFolders("AppData") & "\Steinberg\Cubase 7_64\"
  Set fso = CreateObject("Scripting.FileSystemObject")
  Set f = fso.CreateTextFile(dir & "Key Commands 2." & tp, True)
  Set f2 = fso.CreateTextFile(dir & "KC_TMP.xml", True)
  Set f3 = fso.OpenTextFile(dir & "Key Commands.xml", 1)

  dim xmlDoc, t, u, v, w, x, y, z, s, d
  set xmlDoc = CreateObject("Microsoft.XMLDOM")
  dir2 = replace(dir , "\", "/") 
  xmlDoc.validateOnParse = False
  xmlDoc.resolveExternals = False
  xmlDoc.async = False

  ' special foreign chars   
  f2.write "<!DOCTYPE characters [ <!ELEMENT characters (character*) > <!ELEMENT character (#PCDATA ) > "
  For n = 0 To UBound(CH)
   f2.Write "<!ENTITY " & CH(n) & " " & chr(34) & "&#" & CH(n+1) & ";" & chr(34) & " >"
   n = n+1
  Next   
  f2.write "] > "
  f2.write vbCRLF
  f2.write(f3.ReadAll())
  f2.Close
  f3.Close
  xmlDoc.load(dir2 & "KC_TMP.xml")
  If xmlDoc.parseError.errorCode Then
    MsgBox _
    "File: " & dir & "Key Commands.xml" &vbCrLf & _
    "Line : " & xmlDoc.parseError.line & vbCrLf & _
    "Error: " & xmlDoc.parseError.reason, 0, "XML parser error:"
'     Exit Sub
  End If 
  On error resume next
  for each t in xmlDoc.childNodes
    If s = "Macro" Then Exit For
    for each u in t.childNodes
      If s = "Macro" Then Exit For
      for each v in u.childNodes
        If s = "Macro" Then Exit For
        for each w in v.childNodes
          If w.nodename = "string" Then s = w.attributes.item(1).text
          If s = "Process Plugin" Then bc = True Else bc = False
          If s = "Macros" Then Exit For
          for each x in w.childNodes
            If x.childNodes.length = 2 Then
              d = x.childNodes.item(0).attributes.item(1).text
              If bc Then
                If len(d) > 34 Then d = Mid(d, 35)
              End If 
              If x.childNodes.item(1).childNodes.length > 1 Then
                for each y in x.childnodes.item(1).childNodes
                  AddKey s, d , y.attributes.item(0).text
                next
              Else 
                AddKey s, d , x.childNodes.item(1).attributes.item(1).text
              End If
            End If
          next
        next 
      next
    next 
  next
  If HTML then
    f.write "<TABLE cellSpacing=1 cellPadding=1 width=" & _
     chr(34) & "99%" & chr(34) & "align=center border=1>" & vbCrLf
  End If
  If SORTKEY Then
    For t = 1 To UBound(A)
      For u = t+1 To UBound(A)
       If UCase(A(u)(0)) < UCase(A(t)(0)) Then
         z = A(t) : A(t) = A(u) : A(u) = z
       End If
     Next 
    Next
  End If 
  For t = 0 To UBound(A)
    If HTML Then f.write "<TR>"
    If REMOVE_UNUSED Then
      For B = 1 To UBound(A(t))
        If A(t)(B) <> "." Then Exit For       
      Next
      If B > UBound(A(t)) Then
        Redim b(-1) : A(t) = b
      End If 
    End If
    For u = 0 To UBound(A(t))
      If HTML Then
        If t = 0 Or u = 0 Then
          f.write "<TD align=middle style=" & chr(34) & "FONT-WEIGHT: bold" & Chr(34) & ">" & A(t)(u) & "</TD>"
        Else
          If A(t)(u) = "." Then
            'f.write "<TD align=middle>" & A(t)(u) & "</TD>"
            f.write "<TD align=middle>.</TD>"
          Else 
            f.write "<TD align=middle style=" & chr(34) & "BACKGROUND-COLOR: " & A(t)(u) & "</TD>"
          End If 
        End If 
      Else
        f.write A(t)(u)
        If u <> UBound(A(t)) Then f.write vbTab
      End If
    Next
    If HTML Then f.write "</TR>"
    f.write vbCrLf
  Next
  If HTML then f.write "</TABLE>" & vbCrLf
  f.close
  If HTML Then s = "Explorer.exe " Else s = "notepad.exe "
  WshShell.Run s & dir & "Key Commands 2." & tp
End Sub
Sub AddKey(s, d, byval k)
  dim bp, ak, n, kn, bkc, m, ks
  k = Trim(k)
  If IsArray(C) Then
    For n = 0 To UBound(C) Step 2
      If C(n) = k Then
        k = C(n+1)
        Exit for
      End If 
    Next
  End If
  ks = k
  If Right(k, 1) = "+" Then bp = True
  k = Replace(k, "+", vbCr)
  If bp Then k = Left(k, len(k)-1) & "+"
  ak = Split(k, vbCr) : kn = 0
  For n = 0 To UBound(ak)-1
    Select Case UCase(ak(n))
      Case "SHIFT"
        kn = kn Or 1
      Case "CTRL"
        kn = kn Or 2
      Case "ALT"
        kn = kn Or 4
    End Select
  Next
  For n = 1 To UBound(A)
    If UCase(A(n)(0)) = UCase(ak(UBound(ak))) Then Exit For
  Next
  If n > UBOund(A) Then
    Redim Preserve A(n)
    A(n) = Array(ak(UBound(ak)), ".", ".", ".", ".", ".", ".", ".", ".")
  End If
  Select Case kn
    Case 4:
      kn = 3
    Case 3:
      kn = 4
  End Select
  If HTML Then
    bkc = "white"
    If IsArray(BK) Then
      For m = 0 To UBound(BK) Step 2
        If BK(m) = s Then
          bkc = BK(m+1)
          Exit For
        End If
      Next
    End If
  End If 
  If SECTIONNAME Then
    A(n)(kn+1) = bkc &  A(0)(kn) & ">" & s & "-" & d
  Else
    A(n)(kn+1) = bkc & chr(34) & " title=" & chr(34) & "[ " & s & " ]  " & ks & "  : " & d & chr(34) & ">" & d
  End If
End Sub


EDIT: If you are using the 32 bit C7, you have to edit the line that starts with dir = WshShell and remove _64.

It still seems to work with C7. So just create a RandomName.vbs file in your \\Users\AppData\Roaming\Steinberg\Cubase7(_64)\ directory.

Copy the following code into the vbs file. You can edit it with any text editor. You can mess with the colors for the type of command and there are options for dealing with some non-US character sets. Once you copy the code into the file, save it ... double click the file and an html file should pop up with your key commands laid out by accelerator.
Last edited by JMCecil on Thu Nov 14, 2013 12:25 am, edited 2 times in total.
cpu:i7 980x - RAM:24gb - OS:Win8.1x64 - Interfaces:Lynx Aurora, Komplete Audio 6 - MIDI:Midisport 4x4, Quadra Thru
Steiny Suff: CMC:FD,CH,TP,QC,PD | Wavelab 8 |Cubase 6.5/7.5| H5, HS2, HSO, Padshop Pro
User avatar
JMCecil
Grand Senior Member
 
Posts: 3858
Joined: Wed Dec 15, 2010 5:03 pm
Has thanked: 38 times
Been thanked: 169 times

Re: Oldie but Goodie Utility

Postby cubic13 » Sun Dec 30, 2012 6:48 am

FWIW, and as I'm not allowed by the forum to upload the HTML file generated for security reasons, I just imported it in Libre Office Writer 3.6 and exported it again as it is in a PDF format.

The result is joined. Quite usable and much better than what I was doing until now : a tedious editing work on a copy of the xml file which needed to be done again, each time I changed a key command for a reason.

The HTML file is the best, though : all the key commands are displayed in less than two screens, here.
Attachments

[The extension pdf has been deactivated and can no longer be displayed.]

DAW : i7-870 (HT enabled) - Asus P7-P55D-E - 16 Gb DDR3-1600 - 2 x WD Black Caviar 1 Tb - Radeon 6450 GPU (512 Mb) - Windows 7 Pro SP1 (64) / E-Mu 1616m PCIe + Behringer ADA8000
Soft & plug-ins : Cubase 5.1.1 (64) & 6.5.5 (64) + HSO / Emulator X3 / TruePianos / Ivory II / GSi Mr Ray73 MkII & VB3 / Sylenth1 / Alchemy / Loomer String / Arturia MMV / BFD2 / Ariesverb
Gear : Studiologic VMK-188+ / Akai MPD32 controller / Akai ME30P MIDI Patchbay / Korg 05RW / Roland D110 / Yamaha TX802 / Zoom G9.2tt / My really old ones (pre-MIDI era) : ARP Odyssey + Korg MS20
User avatar
cubic13
Member
 
Posts: 587
Joined: Wed Dec 15, 2010 8:46 pm
Location: near the Serre-Ponçon lake, french Alps
Has thanked: 1 time
Been thanked: 8 times

Re: Oldie but Goodie Utility

Postby JMCecil » Sun Dec 30, 2012 5:14 pm

Updated the script in the first post. See the EDIT statement at the top to see what/why. You can grab the new code and just overwrite what you have if you want. Or, you can just copy the BK = Array section to get just the main part I changed.
cpu:i7 980x - RAM:24gb - OS:Win8.1x64 - Interfaces:Lynx Aurora, Komplete Audio 6 - MIDI:Midisport 4x4, Quadra Thru
Steiny Suff: CMC:FD,CH,TP,QC,PD | Wavelab 8 |Cubase 6.5/7.5| H5, HS2, HSO, Padshop Pro
User avatar
JMCecil
Grand Senior Member
 
Posts: 3858
Joined: Wed Dec 15, 2010 5:03 pm
Has thanked: 38 times
Been thanked: 169 times

Re: Oldie but Goodie Utility

Postby JMCecil » Sun Dec 30, 2012 6:10 pm

Updated to hopefully fix it so the macros show up. It's possible I screwed something else up while fixing that loop. So, be attentive.

If you would like to see the colors you can choose from.
colors
cpu:i7 980x - RAM:24gb - OS:Win8.1x64 - Interfaces:Lynx Aurora, Komplete Audio 6 - MIDI:Midisport 4x4, Quadra Thru
Steiny Suff: CMC:FD,CH,TP,QC,PD | Wavelab 8 |Cubase 6.5/7.5| H5, HS2, HSO, Padshop Pro
User avatar
JMCecil
Grand Senior Member
 
Posts: 3858
Joined: Wed Dec 15, 2010 5:03 pm
Has thanked: 38 times
Been thanked: 169 times

Re: Oldie but Goodie Utility

Postby The dman » Mon Dec 31, 2012 3:12 pm

Thanks I'm going to try this today
Cubase 6.5.3 , 7.0.6 and 7.5 x64 Windows 7 Ultimate x64
ASUS P8Z68-V GEN3/ i72600k / G.SKILL Ripjaw (4 x 4GB)/SeaSonic X750 Gold PSU/ RME HDSP 9652 / UAD2Quad// Alphatrack/ Alesis HD24XR
User avatar
The dman
Member
 
Posts: 381
Joined: Wed Dec 15, 2010 5:13 pm
Has thanked: 1 time
Been thanked: 5 times

Re: Oldie but Goodie Utility

Postby HowlingUlf » Mon Dec 31, 2012 8:46 pm

Coolness! The macros at least show up. I've not seen any misbehavior yet, so for now it's working ... 8-)

Thank you very much!
Gothenburg, Sweden
Cubase 7.5 32 | Intel i7 860 | 8GB | Win7 64 | Emu 1820M | BCR2000 | MPD16 via MIDI
and a few cables ... and some more stuff ... and even more than that, would you believe it ?!!?
User avatar
HowlingUlf
Senior Member
 
Posts: 1585
Joined: Wed Dec 15, 2010 4:58 pm
Has thanked: 16 times
Been thanked: 23 times

Re: Oldie but Goodie Utility

Postby Bacizone » Mon Dec 31, 2012 9:18 pm

I've just test the vbs, the html generated fine.. I am testing it with Cubase 6, but this should not be an issue.

However the modifiers are wrong - e.g one of my shortcut works with the Alt modifier, but this is tabulated to the Shift column...all other keycommands are also assigned to a wrong modifier.

Any idea?
i7 2600K - Gigabyte GAZ68X-UD3H - 16 GB Corsair Vengeance - TC Powercore Unplugged | Windows 7 64-bit | Cubase 7.5.x 64-bit | HALion 5 64-bit | Genelec 8030 | Focusrite Saffire
Bacizone
Member
 
Posts: 287
Joined: Thu Dec 16, 2010 3:47 pm
Has thanked: 9 times
Been thanked: 11 times

Re: Oldie but Goodie Utility

Postby JMCecil » Mon Dec 31, 2012 9:47 pm

Bacizone wrote:I've just test the vbs, the html generated fine.. I am testing it with Cubase 6, but this should not be an issue.

However the modifiers are wrong - e.g one of my shortcut works with the Alt modifier, but this is tabulated to the Shift column...all other keycommands are also assigned to a wrong modifier.

Any idea?

US keyboard?
Interesting, can you pm me the key commands.xml file?
cpu:i7 980x - RAM:24gb - OS:Win8.1x64 - Interfaces:Lynx Aurora, Komplete Audio 6 - MIDI:Midisport 4x4, Quadra Thru
Steiny Suff: CMC:FD,CH,TP,QC,PD | Wavelab 8 |Cubase 6.5/7.5| H5, HS2, HSO, Padshop Pro
User avatar
JMCecil
Grand Senior Member
 
Posts: 3858
Joined: Wed Dec 15, 2010 5:03 pm
Has thanked: 38 times
Been thanked: 169 times

Re: Oldie but Goodie Utility

Postby JMCecil » Mon Dec 31, 2012 9:52 pm

Bacizone wrote:I've just test the vbs, the html generated fine.. I am testing it with Cubase 6, but this should not be an issue.

However the modifiers are wrong - e.g one of my shortcut works with the Alt modifier, but this is tabulated to the Shift column...all other keycommands are also assigned to a wrong modifier.

Any idea?

Never mind, I think I figured it out. He didn't make it so that it sorted by modifier and I moved them to my preferred order. I wrote a similar utility in C#, but it lets you set the modifier order. I had assumed this would as well.

Anyhow, I put it back in his fixed order. So, the command will stay in the same place, but the column header will be different.

You can just fix this one line if you want. It should be as follows...
Code: Select all
A(0) = Array("key", "-", "Shift", "Ctrl", "Alt", "Ctrl+Shift", "Alt+Shift", "Ctrl+Alt", "Ctrl+Alt+Shift")
cpu:i7 980x - RAM:24gb - OS:Win8.1x64 - Interfaces:Lynx Aurora, Komplete Audio 6 - MIDI:Midisport 4x4, Quadra Thru
Steiny Suff: CMC:FD,CH,TP,QC,PD | Wavelab 8 |Cubase 6.5/7.5| H5, HS2, HSO, Padshop Pro
User avatar
JMCecil
Grand Senior Member
 
Posts: 3858
Joined: Wed Dec 15, 2010 5:03 pm
Has thanked: 38 times
Been thanked: 169 times

Re: Oldie but Goodie Utility

Postby Bacizone » Tue Jan 01, 2013 9:08 am

Thanks you very much, I am using a UK layout keyboard, now works great here! :D
i7 2600K - Gigabyte GAZ68X-UD3H - 16 GB Corsair Vengeance - TC Powercore Unplugged | Windows 7 64-bit | Cubase 7.5.x 64-bit | HALion 5 64-bit | Genelec 8030 | Focusrite Saffire
Bacizone
Member
 
Posts: 287
Joined: Thu Dec 16, 2010 3:47 pm
Has thanked: 9 times
Been thanked: 11 times

Re: Oldie but Goodie Utility

Postby The dman » Thu Jan 03, 2013 5:55 pm

This is excellent. Much easier to get a handle on the key commands
Cubase 6.5.3 , 7.0.6 and 7.5 x64 Windows 7 Ultimate x64
ASUS P8Z68-V GEN3/ i72600k / G.SKILL Ripjaw (4 x 4GB)/SeaSonic X750 Gold PSU/ RME HDSP 9652 / UAD2Quad// Alphatrack/ Alesis HD24XR
User avatar
The dman
Member
 
Posts: 381
Joined: Wed Dec 15, 2010 5:13 pm
Has thanked: 1 time
Been thanked: 5 times

Re: Oldie but Goodie Utility

Postby JMCecil » Thu Jan 03, 2013 6:06 pm

The dman wrote:This is excellent. Much easier to get a handle on the key commands

I built a spreadsheet and wrote a parser to import it into excel back in the SX days. The first time I saw the results laid out this way, it was such a huge eye opener. I was able to optimize so many aspects of the keymap that I didn't even know were screwed up. It also lets you see the huge gap of unused keys. It's just such a great way to see what's going on.
cpu:i7 980x - RAM:24gb - OS:Win8.1x64 - Interfaces:Lynx Aurora, Komplete Audio 6 - MIDI:Midisport 4x4, Quadra Thru
Steiny Suff: CMC:FD,CH,TP,QC,PD | Wavelab 8 |Cubase 6.5/7.5| H5, HS2, HSO, Padshop Pro
User avatar
JMCecil
Grand Senior Member
 
Posts: 3858
Joined: Wed Dec 15, 2010 5:03 pm
Has thanked: 38 times
Been thanked: 169 times

Re: Oldie but Goodie Utility

Postby Pixie » Thu Jan 03, 2013 10:52 pm

Thanks for this.
Incredibly handy...

This should be a sticky.
|MSI X58 Pro Intel i7 4096 Mb Ram|RME Fireface 800+Steinberg MR816x+ART TubeOpto 8|Cubase 7.5.20 |Windows 8.1 32-bit|Korg Microkontrol|Steinberg Houston|
User avatar
Pixie
Member
 
Posts: 274
Joined: Sat Dec 18, 2010 4:55 pm
Has thanked: 4 times
Been thanked: 3 times

Re: Oldie but Goodie Utility

Postby Bacizone » Tue Jan 08, 2013 6:54 pm

Is there any way to list unassigned keycommands as well in order to browse what I maybe miss ? :)

For me is would perfectly fine to list them into a separate html file.
i7 2600K - Gigabyte GAZ68X-UD3H - 16 GB Corsair Vengeance - TC Powercore Unplugged | Windows 7 64-bit | Cubase 7.5.x 64-bit | HALion 5 64-bit | Genelec 8030 | Focusrite Saffire
Bacizone
Member
 
Posts: 287
Joined: Thu Dec 16, 2010 3:47 pm
Has thanked: 9 times
Been thanked: 11 times

Re: Oldie but Goodie Utility

Postby SteveInChicago » Tue Jan 08, 2013 7:05 pm

JMCecil,

I'm on Mac, and want to have this too. I run a Virtual Box install of windows xp and have succeeded in creating an html file from my key commands xml file by editing a few lines in the .vbs file.

The problem is that there is one more modifier key available on Mac than on PC, so I need to create more columns, which I was able to do, and parse the corresponding commands into them, which I was not.

I fiddled with the array statements, but don't have enough Basic knowledge to make this happen. I was hoping I am missing something that would help me.

Anywho, PM me if this is too much for a forum post, and thanks for your work on the original.
User avatar
SteveInChicago
External Moderator
 
Posts: 4802
Joined: Wed Dec 15, 2010 7:42 pm
Location: Chicago, IL USA
Has thanked: 109 times
Been thanked: 294 times

Re: Oldie but Goodie Utility

Postby JMCecil » Tue Jan 08, 2013 10:35 pm

SteveInChicago wrote:JMCecil,

I'm on Mac, and want to have this too. I run a Virtual Box install of windows xp and have succeeded in creating an html file from my key commands xml file by editing a few lines in the .vbs file.

The problem is that there is one more modifier key available on Mac than on PC, so I need to create more columns, which I was able to do, and parse the corresponding commands into them, which I was not.

I fiddled with the array statements, but don't have enough Basic knowledge to make this happen. I was hoping I am missing something that would help me.

Anywho, PM me if this is too much for a forum post, and thanks for your work on the original.

yeah, its tough because the variable and array setup he has is more the "geterdone" variety. Very hard to follow. I tried re-ordering the columns and failed miserably. But, I think the code you are looking for is in the case statements where he sets "kn" values for parsing in the loops.
cpu:i7 980x - RAM:24gb - OS:Win8.1x64 - Interfaces:Lynx Aurora, Komplete Audio 6 - MIDI:Midisport 4x4, Quadra Thru
Steiny Suff: CMC:FD,CH,TP,QC,PD | Wavelab 8 |Cubase 6.5/7.5| H5, HS2, HSO, Padshop Pro
User avatar
JMCecil
Grand Senior Member
 
Posts: 3858
Joined: Wed Dec 15, 2010 5:03 pm
Has thanked: 38 times
Been thanked: 169 times

Re: Oldie but Goodie Utility

Postby SteveInChicago » Tue Jan 08, 2013 10:42 pm

Thanks. I'll have another go at it.
User avatar
SteveInChicago
External Moderator
 
Posts: 4802
Joined: Wed Dec 15, 2010 7:42 pm
Location: Chicago, IL USA
Has thanked: 109 times
Been thanked: 294 times

Re: Oldie but Goodie Utility

Postby JMCecil » Fri Nov 01, 2013 2:11 pm

@SteveInChicago, did you ever get it working on mac?
cpu:i7 980x - RAM:24gb - OS:Win8.1x64 - Interfaces:Lynx Aurora, Komplete Audio 6 - MIDI:Midisport 4x4, Quadra Thru
Steiny Suff: CMC:FD,CH,TP,QC,PD | Wavelab 8 |Cubase 6.5/7.5| H5, HS2, HSO, Padshop Pro
User avatar
JMCecil
Grand Senior Member
 
Posts: 3858
Joined: Wed Dec 15, 2010 5:03 pm
Has thanked: 38 times
Been thanked: 169 times

Re: Oldie but Goodie Utility

Postby SteveInChicago » Fri Nov 01, 2013 4:42 pm

No, I could never reverse engineer the VB parsing script to implement that column for the extra modifier key.

Mac: shift, ctrl, opt, cmd
Win: shift, ctrl, alt

If this were redone in javascript instead of Visual Basic it could work on both platforms. It requires more advanced scripting than I am familiar with currently, though I might have another go at at at some point.
Cubase 7.5.30 | Mac 10.8.5 | i7-3770k Gigabyte Z77-UD5H | 16gb | TC Konnekt24D
User avatar
SteveInChicago
External Moderator
 
Posts: 4802
Joined: Wed Dec 15, 2010 7:42 pm
Location: Chicago, IL USA
Has thanked: 109 times
Been thanked: 294 times

Re: Oldie but Goodie Utility

Postby JMCecil » Fri Nov 01, 2013 5:27 pm

Hmm let me think about doing a js version. Someone else has asked me for a Mac version. I just stayed so swamped these days.
cpu:i7 980x - RAM:24gb - OS:Win8.1x64 - Interfaces:Lynx Aurora, Komplete Audio 6 - MIDI:Midisport 4x4, Quadra Thru
Steiny Suff: CMC:FD,CH,TP,QC,PD | Wavelab 8 |Cubase 6.5/7.5| H5, HS2, HSO, Padshop Pro
User avatar
JMCecil
Grand Senior Member
 
Posts: 3858
Joined: Wed Dec 15, 2010 5:03 pm
Has thanked: 38 times
Been thanked: 169 times

Re: Oldie but Goodie Utility

Postby SteveInChicago » Fri Nov 01, 2013 5:36 pm

That would be great.
Cubase 7.5.30 | Mac 10.8.5 | i7-3770k Gigabyte Z77-UD5H | 16gb | TC Konnekt24D
User avatar
SteveInChicago
External Moderator
 
Posts: 4802
Joined: Wed Dec 15, 2010 7:42 pm
Location: Chicago, IL USA
Has thanked: 109 times
Been thanked: 294 times

Re: Oldie but Goodie Utility

Postby JMCecil » Sun Nov 03, 2013 3:38 pm

I played with this this morning, but javascript doesn't easily support the access to local files. I found a way to do it with ActiveX and other custom solutions, but none of them are cross platform, cross browser compatible. I think perl or python might be easier to make cross platform.
cpu:i7 980x - RAM:24gb - OS:Win8.1x64 - Interfaces:Lynx Aurora, Komplete Audio 6 - MIDI:Midisport 4x4, Quadra Thru
Steiny Suff: CMC:FD,CH,TP,QC,PD | Wavelab 8 |Cubase 6.5/7.5| H5, HS2, HSO, Padshop Pro
User avatar
JMCecil
Grand Senior Member
 
Posts: 3858
Joined: Wed Dec 15, 2010 5:03 pm
Has thanked: 38 times
Been thanked: 169 times

Re: Oldie but Goodie Utility

Postby Crotchety » Mon Nov 04, 2013 1:48 pm

Wonderful, thank you, that's pinned to my taskbar.
Instruments: Piano/keys, Guitar, Mandolin, Vocal
Current Sounds:
Cactus Juice (@Soundcloud) - Former Sounds: Ask Murt (@MySpace)

Every day's a skool day...
Crotchety
Senior Member
 
Posts: 1024
Joined: Tue Feb 01, 2011 10:26 pm
Has thanked: 3 times
Been thanked: 3 times

Next

Return to General

Who is online

Users browsing this forum: cagressett, DenisSalois and 9 guests