Keyboard Shortcut Commands?

KimberSueKimberSue Posts: 268
edited December 1969 in Daz Studio Discussion

Anyone know of a list of keyboard Shortcut Commands or how to set them up?

Comments

  • JimmyC_2009JimmyC_2009 Posts: 8,304
    edited December 1969

    If you go into Edit > Customize > Actions, they are all listed there, and you can change them by using the right-click menu.

  • KimberSueKimberSue Posts: 268
    edited December 1969

    Wonderful! Thank you so much.

  • rbtwhizrbtwhiz Posts: 458
    edited December 1969

    Here is a quick script to start from...

    var oActionMgr = MainWindow.getActionMgr();var nActions = oActionMgr.getNumActions();var oAction = undefined;var sShortcut = undefined;var aShortcuts = [];var i = 0;// Create a new dialogvar wDlg = new DzBasicDialog;wDlg.caption = "Keyboard Shortcuts";// Create a listboxvar wListBx = new DzListBox( wDlg );wDlg.addWidget( wListBx );// Collect shortcutsfor( i = 0; i < nActions; i += 1 ){ oAction = oActionMgr.getAction( i ); sShortcut = oAction.shortcut.toString(); if( !sShortcut.isEmpty() ){  aShortcuts.push( String("%1 = %2").arg( sShortcut ).arg( oAction.text.replace("&", "" ) ) ); }}aShortcuts.sort();// Populate the listboxfor( i = 0; i < aShortcuts.length; i += 1 ){ wListBx.insertItem( aShortcuts[ i ] );}// Show the dialogwDlg.exec();

    Just copy the contents of the code block above, paste it into a new text document in your favorite text editor and save it to a file named "Keyboard Shortcuts.dsa". Then, depending on where you save it, you can launch the script via drag-n-drop onto the viewport, double click from within the Content Library pane, a Custom Action in the Main Menu Bar or a Toolbar, etc.

    -Rob

  • JimmyC_2009JimmyC_2009 Posts: 8,304
    edited December 1969

    Thanks Rob, that is a very useful script. I put it in my Scripts folder in Documents, and it works great.

    It is a very handy way to learn new shortcuts too, many thanks.

  • Mosk the ScribeMosk the Scribe Posts: 461
    edited December 1969

    thanks - will try this

  • bgtbgtbgtbgt Posts: 4
    edited December 1969

    If you go into Edit > Customize > Actions, they are all listed there, and you can change them by using the right-click menu.

    aNY IDEA HOW THAT WORKS WITH 4.6?

  • FixmypcmikeFixmypcmike Posts: 12,128
    edited December 1969

    bgtbgt said:
    If you go into Edit > Customize > Actions, they are all listed there, and you can change them by using the right-click menu.

    aNY IDEA HOW THAT WORKS WITH 4.6?

    It's now in Window > Workspace > Customize

  • msorrelsmsorrels Posts: 44
    edited December 1969

    Rob's script doesn't show keyboard accelerators assigned to user made custom commands. Here's a version that does. It also changes from a listbox to an edit box so you can copy the text out.

    // DAZ Studio version 4.6.2.118 filetype DAZ Scriptvar oActionMgr = MainWindow.getActionMgr();var nActions = oActionMgr.getNumActions();var oAction = undefined;var oActionName = undefined;var sShortcut = undefined;var aShortcuts = [];var i = 0;// Create a new dialogvar wDlg = new DzBasicDialog;wDlg.caption = "Keyboard Shortcuts";// Create a listboxvar wTextBx = new DzTextEdit( wDlg );wDlg.addWidget( wTextBx );// Collect shortcutsfor( i = 0; i < nActions; i += 1 ){ oAction = oActionMgr.getAction( i ); sShortcut = oAction.shortcut.toString(); if( !sShortcut.isEmpty() ){  aShortcuts.push( String("%1 = %2").arg( sShortcut ).arg( oAction.text.replace("&", "" ) ) ); }}// Collect custom action shortcutsnActions = oActionMgr.getNumCustomActions();for( i = 0; i < nActions; i += 1 ){ oActionName = oActionMgr.getCustomActionText( i ); sShortcut = oActionMgr.getCustomActionShortcut(i); if( !sShortcut.isEmpty() ){  aShortcuts.push( String("%1 = %2").arg( sShortcut ).arg( oActionName.replace("&", "" ) ) ); }}aShortcuts.sort();// Populate the textboxfor( i = 0; i < aShortcuts.length; i += 1 ){ wTextBx.append( aShortcuts[ i ] );}// Show the dialogwDlg.exec();  

  • JimmyC_2009JimmyC_2009 Posts: 8,304
    edited December 1969

    That Script works great, thank you very much!

  • RottenhamRottenham Posts: 248
    edited May 2014


    It's now in Window > Workspace > Customize

    Ah, so it is. I've been looking for this.

    By chance, has anyone made an actual list of these keyboard shortcuts, such as could be printed out on paper?

    Thanks.
    ...

    (edit)

    OK, now I get it. I ran the excellent script above, and came up with a list. Thanks. :-)

    Post edited by Rottenham on
  • thepietschesthepietsches Posts: 2
    edited December 2014

    I made this table of keyboard shortcuts. Hope it helps.

    keyboard_shortcuts.png
    666 x 863 - 61K
    Post edited by thepietsches on
Sign In or Register to comment.
Rocket Fuel