Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shortcut for ''apply'' and ''OK'' 2

Status
Not open for further replies.

pllmoreau

Member
Feb 14, 2017
33
Hello

I am on NX 10.0 and I was wondering if there is a way to make a shortcut (side mouse button) for the 'OK' command and the 'apply' command. I cannot find the commands in the custumize keyboard shortuts in NX when I press ctrl 1. It would be a great time saver.

Thank you
 
Replies continue below

Recommended for you

As far as I can tell the Ok, Apply & Cancel aren't able to customised to have a shortcut via the customise command inside NX.
However you can cheat by doing the following:

1. Verify if you have the UGII_USER_DIR environment variable set.
Inside NX, Menu -> Help -> NX Log File
then search for UGII_USER_DIR

If you find the line:
No user customizations read from UGII_USER_DIR - environment variable is not set
you will need to set that variable.

If you find something like UGII_USER_DIR c:\SPLM\CUSTOM\nx_v10\user

Take note of the folder/path it has been set to.

1.A. From above, if the variable wasn't set, you will need to create it and specify a folder to user as your user dir.

Windows Control Panel -> System -> Advanced System Settings (Upper left) -> Environment Variables

Create a new user variable
Name: UGII_USER_DIR
Value: c:\SPLM\CUSTOM\nx_v10\user

Where c:\SPLM\CUSTOM\nx_v10\user is the full path to where you want to store all your user profile files (the one listed is what I use, modify to suit what you need).

2. Whether the variable was set, or you had to set it, in that folder specified, add a NEW subfolder called 'startup', if one does not exist.

example: c:\SPLM\CUSTOM\nx_v10\user\startup

3. In the 'startup' folder, save the attached menu file.

This menu file then adds the OK, Apply & Cancel buttons to the View Popup Menu, but also sets the hotkeys, F10 to Ok, F11 to Apply and F12 for Cancel.
By editing that menu file, you can change the shortcut hey that can be used.

Then you will need to use the mouse control software to assign the specified hotkey to the button you want to use.


Anthony Galante
Senior Support Engineer


NX3 to NX11 with almost every MR (24versions)
 
Thank you this worked great! I am still working on assigning the mouse button to the hotkeys, I should find a way
 
I very well could be wrong, I believe you need a programmable mouse to be able to assign application commands to the mouse buttons using the software that comes with the programmable mouse. The response above is only a method to map out NX commands Apply, OK & Cancel to hotkeys. Read his last sentence before his signature.

Tim Flater
NX Designer
NX 9.0.2.5 Win7 Enterprise x64 SP1
Intel Core i7 2.5GHz 16GB RAM
4GB NVIDIA Quadro K3100M
 
Tom is right, I use a Steelseries Sensei which has a lot of buttons which I don't use but it comes with software to reprogram them.
I've now reprogrammed the two buttons under my thumb to be Ok & Cancel.


Anthony Galante
Senior Support Engineer


NX3 to NX11 with almost every MR (24versions)
 
pllmoreau,

It might be quicker to post what kind of mouse you're using rather than us guessing what you might or might not be able to do.

Tim Flater
NX Designer
NX 9.0.2.5 Win7 Enterprise x64 SP1
Intel Core i7 2.5GHz 16GB RAM
4GB NVIDIA Quadro K3100M
 
VicTsing 2.4G Wireless Mouse, 6 Buttons, Nano Receiver
 
If that mouse came with a CD/DVD with software for the mouse, I would recommend you install it & see if there are options application specific programming of the mouse buttons.

Tim Flater
NX Designer
NX 9.0.2.5 Win7 Enterprise x64 SP1
Intel Core i7 2.5GHz 16GB RAM
4GB NVIDIA Quadro K3100M
 
The middle mouse button (the wheel on a standard 2 button, wheel mouse) will advance you to the next required input on an NX dialog. If there is sufficient input to complete the command, the middle mouse button activates the "OK" button - no hotkeys or mouse programming necessary.

www.nxjournaling.com
 
I have , sadly , seen quite a few cases where these "multi-button gaming mouses" and their accompanying drivers worked very poor in NX. The solution to a few of these have been to remove that special driver, - then the default windows driver kicks in and suddenly it works as expected.

Typically the wheel should be mapped to "middle mouse button /wheel" and no special named function.


Regards,
Tomas
 
I believe he was seeking to program the side button (thumb button on left side or ring finger button on right side) as Apply/OK, if I read his original post correctly.

Tim Flater
NX Designer
NX 9.0.2.5 Win7 Enterprise x64 SP1
Intel Core i7 2.5GHz 16GB RAM
4GB NVIDIA Quadro K3100M
 
Xwheelguy said:
I believe he was seeking to program the side button (thumb button on left side or ring finger button on right side) as Apply/OK, if I read his original post correctly.

Yes, I agree with your reading. However, I wasn't sure of the intent. Some don't know of the middle mouse button behavior in dialogs; I was just trying to point out that perhaps the OK/apply "shortcut" was already at the user's fingertips. If the desire is to have it on a side button, perhaps the easy way would be to map that button as the middle mouse button? If that doesn't work or isn't desired, please, ignore me and carry on.

www.nxjournaling.com
 
cowski,

I gotcha - I thought of that at some point yesterday or the day before but just got lazy and didn't take the time to ask him...figured if he knew enough to do Anthony's suggestion he'd probably know the mouse buttons. But one can never be too sure of user's awareness these days.


OP,

Do you or do you not have additional software for that mouse you're using? If you do not, I don't believe you're going to be able to map out your mouse buttons any differently. Please let us know and thank you.

Tim Flater
NX Designer
NX 9.0.2.5 Win7 Enterprise x64 SP1
Intel Core i7 2.5GHz 16GB RAM
4GB NVIDIA Quadro K3100M
 
I do not I beleive the driver is a windows default driver it did not come with anything else so if I understand what you guys are saying I shouldn't be able to map out the side buttons.
 
Look into Autohotkey. It's a powerful scripting language to control the behavior of the mouse and keyboard. For example, with NX, I use it to map one of the side buttons on my mouse to the Rotate command, thereby saving my middle finger from getting hurt by constantly pressing down on the narrow scroll wheel.

NX11.0 Win10 64bit i7-3770K 16GB QuadroK2200
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor