Not a technical solution, but after trying timeouts, tandem and nagging, what 
worked for us is peer pressure.  We have a menu program that users access 
before getting into Unidata.  I added a "show idle users" option to that 
program and we trained people to call the idle offenders when they received the 
"no more licenses" message.  If you're on unidata/unix, 
http://www.pickwiki.com/cgi-bin/wiki.pl?IdleUsers is a perl script that 
provides a nice listing of the listuser command.

For your original question, I don't know about how to capture the timestamp for 
SB activity, but http://www.autohotkey.com/ is an amazing piece of software 
that can definitely switch to the SBClient window and hit escape a bunch of 
times.  I have used it several times to 'scrape' data from one system and plug 
it into another, when more elegant solutions wouldn't work for whatever 
reason...

Ian

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Al DeWitt
Sent: Wednesday, June 26, 2013 2:23 PM
To: (u2-users@listserver.u2ug.org)
Subject: [U2] OT: Monitoring Program: Can This Be Done?

Tried sending this to sbsolutions but it didn't appear  to get there so I'll 
try here in hopes some of you are using SB+/SBClient

We are having an issue where we are using all of our licenses by midday.

Our current procedure is to send out a broadcast e-mail asking those who are 
not using the application to log off SBClient.

We believe that what is happening is that certain PCs on the shop floor have 
SBClient started; some activity recorded and then the user walks away from the 
workstation leaving the particular screen open.

I have been asked to inquire if there is a way I can write a C# program to be 
installed on certain (shop floor) PCs to log SBClient activity (keystrokes?) 
with a timestamp.  This program would then read the last activity timestamp, 
compare it to the current time and if the interim is greater than a certain 
number of minutes execute a series of Escape strokes to back the app out to the 
close screen and thus free up licenses.

Has anybody attempted this?  If so can you share what you did?

Thanks.

Albert DeWitt, CPIM
Sr. Programmer Analyst

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-----------------------------------------
IMPORTANT NOTICE:   This message is intended only for the addressee
and may contain confidential, privileged information.  If you are
not the intended recipient, you may not use, copy or disclose any
information contained in the message.  If you have received this
message in error, please notify the sender by reply e-mail and
delete the message.
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to