BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar
swu2
Community Trekker

how to get server name if JMP is installed on Citrix

we are trying to validate JMP addin and I want to write a script to display the citrix server name on each report.

 

is anyone know how I can get the server name through a script? server name is not the same as the computer name.

0 Kudos
2 ACCEPTED SOLUTIONS

Accepted Solutions
ian_jmp
Staff

Re: how to get server name if JMP is installed on Citrix

I'm not very familiar with Citrix. But I imagine 'RunProgram()' could help in so far as it would allow you to use something external to JMP that will give what you want. Search in 'Help > Scripting Index'. 

0 Kudos
pmroz
Super User

Re: how to get server name if JMP is installed on Citrix

computer_name = Get Environment Variable("COMPUTERNAME");
0 Kudos
2 REPLIES 2
ian_jmp
Staff

Re: how to get server name if JMP is installed on Citrix

I'm not very familiar with Citrix. But I imagine 'RunProgram()' could help in so far as it would allow you to use something external to JMP that will give what you want. Search in 'Help > Scripting Index'. 

0 Kudos
pmroz
Super User

Re: how to get server name if JMP is installed on Citrix

computer_name = Get Environment Variable("COMPUTERNAME");
0 Kudos