Page 1 of 1

Access to top / main menu via shortcut

PostPosted: Wed Nov 29, 2023 7:22 am
by dannac
X3

Is there a way to get a shortcut to open top /main menu ( File - Edit - View - etc )

or

What I'm really looking for is a shortcut to View - Object Viewer

Re: Access to top / main menu via shortcut

PostPosted: Wed Nov 29, 2023 2:51 pm
by joshhuggins
With Datacad closed, from your C:\Datacad XX\Support Files\Messages and Labels\ folder, open the dcadwin.mnu file in a plain text editor like Notepad, and you can add a shortcut at line 74 for Object Viewer as shown in my screenshot. You can add your own shortcut between the vertical bars as shown. You can look at some of the other shortcuts in the MNU file to format the shortcut how you want.

Datacad reads the dcadwin.mnu file and plugs in the shortcuts as they appear in order of the file being read down the list. If the shortcut you want to use, for example if you wanted to use CTRL+S for Object Viewer, you have to make sure that the CTRL+S command is not used anywhere above line 74 for Object Viewer (ideally you should make sure CTRL+S doesn't occur anywhere else in the dcadwin.mnu file). For CTRL+S, it should be set to line 6 by default, which is for the File, Save command. So in order to use CTRL+S on line 76 for Object Viewer, you would need to either modify or remove the CTRL+S shortcut between the vertical bars for line 6 from

Save|Ctrl+S|Save changes to current file

to

Save||Save changes to current file

If you do not modify or remove the CTRL+S shortcut on line 6, your CTRL+S shortcut on line 74 for object viewer will not work. You then save and close the dcadwin.mnu file.

Re: Access to top / main menu via shortcut

PostPosted: Thu Nov 30, 2023 4:21 am
by dannac
Josh ... thanks so much for that detailed info and screen shot.

I checked the menu file for Ctrl+Shift+O and had no other instance so used that.

It opens the object viewer ... but its empty with just a spinning cursor. Have to open task manager and shut down DCX3 (not responding)