×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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

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

(OP)
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

RE: Shortcut for ''apply'' and ''OK''

2
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)

RE: Shortcut for ''apply'' and ''OK''

(OP)
Thank you this worked great! I am still working on assigning the mouse button to the hotkeys, I should find a way

RE: Shortcut for ''apply'' and ''OK''

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

RE: Shortcut for ''apply'' and ''OK''

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)

RE: Shortcut for ''apply'' and ''OK''

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

RE: Shortcut for ''apply'' and ''OK''

(OP)
VicTsing 2.4G Wireless Mouse, 6 Buttons, Nano Receiver

RE: Shortcut for ''apply'' and ''OK''

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

RE: Shortcut for ''apply'' and ''OK''

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

RE: Shortcut for ''apply'' and ''OK''

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

RE: Shortcut for ''apply'' and ''OK''

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

RE: Shortcut for ''apply'' and ''OK''

(OP)
Yes that's right

RE: Shortcut for ''apply'' and ''OK''

Quote (Xwheelguy)

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

RE: Shortcut for ''apply'' and ''OK''

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

RE: Shortcut for ''apply'' and ''OK''

(OP)
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.

RE: Shortcut for ''apply'' and ''OK''

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources