How can Function Keys (F1 thru F12) be defined differently for DeltaV workstations in the same system?

I have successfully defined F1 through F10 to call up 12 unique graphics displays for 12 different reactors. (This plant just happens to have 12 reactors.) Modifications were made to the scripts in the Globals/ User.fxg file without issue. I now realize that in the next phase of this project we will be adding additional workstations where F1 -F12 may be re-defined or perhaps not even used. How do I add a script filter in the User.fxg based on the workstation name. I have tried the scripts format I used in the Usersettings file for determining the initial opening display based on workstation name. An excerpt is shown below. This is not working.

END IF
       

  • In the script check for the computer name before opening the graphic:

    If StrComp(frsGetComputerName, "OP_WS1", vbTextCompare) = 0 Then

    ...

    Or probably the better solution:

    Create Variables on User that each of the hot keys script will use to open (if something other than "") and then in User settings update these variables to the display name that should be opened when that key is pressed for each workstation (either by the method above or indivudual workstation UserSettings files).