Digital Art Zone

 
     
Keyboard Shortcut Commands?
Posted: 03 August 2012 01:21 PM   [ Ignore ]
Member
Rank
Total Posts:  237
Joined  2011-12-30

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

Profile
 
 
Posted: 03 August 2012 04:18 PM   [ Ignore ]   [ # 1 ]
Addict
Avatar
RankRankRankRank
Total Posts:  3832
Joined  2005-08-15

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

Profile
 
 
Posted: 03 August 2012 04:42 PM   [ Ignore ]   [ # 2 ]
Member
Rank
Total Posts:  237
Joined  2011-12-30

Wonderful!  Thank you so much.

Profile
 
 
Posted: 03 August 2012 07:19 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
Rank
Total Posts:  124
Joined  2003-10-09

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 
0;

// Create a new dialog
var wDlg = new DzBasicDialog;
wDlg.caption "Keyboard Shortcuts";

// Create a listbox
var wListBx = new DzListBoxwDlg );
wDlg.addWidgetwListBx );

// Collect shortcuts
for( 0nActions+= ){
 oAction 
oActionMgr.getAction);
 
sShortcut oAction.shortcut.toString();
 if( !
sShortcut.isEmpty() ){
  aShortcuts
.pushString("%1 = %2").argsShortcut ).argoAction.text.replace("&""" ) ) );
 
}
}

aShortcuts
.sort();

// Populate the listbox
for( 0aShortcuts.length+= ){
 wListBx
.insertItemaShortcuts[ i ] );
}

// Show the dialog
wDlg.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

 Signature 

- Documentation Center
- Install Manager
- DAZ Studio 4.x
- DSON Importer
- DSON File Format Specification

Profile
 
 
Posted: 04 August 2012 04:03 AM   [ Ignore ]   [ # 4 ]
Addict
Avatar
RankRankRankRank
Total Posts:  3832
Joined  2005-08-15

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.

Profile
 
 
Posted: 04 August 2012 11:15 PM   [ Ignore ]   [ # 5 ]
Member
Rank
Total Posts:  231
Joined  2008-07-18

thanks - will try this

Profile