Is there any way for InTouch script to check Windows username?

defcon.klaxon

Lifetime Supporting Member
Join Date
Feb 2015
Location
Far NorCal
Posts
616
Hey guys,

I'm trying to write a script that auto-restarts Win-911 if it crashes. I've gotten that to work, but the problem is that my client has multiple runtime licenses for InTouch, so the deployed runtime app is on a VM and client logs in with separate sessions via Windows. So now every time another person logs in, Win-911 wants to run during that session too. I only want Win-911 to run for a specific user. I don't see much that would help in the Script User Guide but thought I'd ask to see if anyone here has a clever way to keep Win-911 from running on more than one Windows session. Thanks for any help!
 
I believe what your looking for is in the SysInfo tech support function. Just ask you WW distributor for a copy. It is free if you have support.
That gives you a script commands to return the current windows user, domain and computer name.
 

Similar Topics

Hey all. Ive got a screen where an operator is going to scan in with a bar code reader 140 serials. They click the position a serial goes in (it...
Replies
13
Views
5,174
Hi All, I'm keep getting double quotes in between selections rather than the beginning and the end. Here's the script and please help to find...
Replies
7
Views
772
Could anyone please provide script to show popup on active screen ..? I have written windows script to show on current screen in " While showing...
Replies
0
Views
859
Can someone give a clear explanation of the IOSetAccessName for an Intouch Application Script? - Thanking everyone in advance. The setup is 1 No...
Replies
0
Views
1,134
Fairly new to using this software. Working on making some changes with a trend client for better UI. I'm currently working on a setup where I have...
Replies
7
Views
4,583
Back
Top Bottom