DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Script Hotkey - Change File Path

Solved!
Go to solution

I moved the location of all my scrips, which others use. What I would like to do is create a script that will modify the file path of hotkeys that have been programmed by the user to match the new path.

 

Is there a way I can access the hot key file paths?

0 Kudos
Message 1 of 6
(3,720 Views)

Hi,

 

Can you clarify what file paths you mean? Is this a dialog hotkey?

0 Kudos
Message 2 of 6
(3,688 Views)

DIAdem has the "hold shift and then press a function button" that calls a script that the user has programmed.

0 Kudos
Message 3 of 6
(3,676 Views)

OK, have you seen this forum post:

 

Programatically assigning scripts to Function keys
https://forums.ni.com/t5/DIAdem/Programatically-assigning-scripts-to-Function-keys/td-p/478872

Message 4 of 6
(3,663 Views)

This almost gets what I need. Is there a way that I can get what the current file path is for F1-F12?

0 Kudos
Message 5 of 6
(3,654 Views)
Solution
Accepted by topic author BrianCT

GlobalFnScriptGet would work for what I need to find the current file path.

 

Call GlobalFnScriptSet works to set the path.

0 Kudos
Message 6 of 6
(3,653 Views)