Hi,

A We user who is running a business is looking for a way of avoiding being logged out by one of his merchant service providers. It seems that if there is no keyboard activity for 20 minutes or so, he is logged out, which is inconvenient for him. I suggested that I could write an app for him, but I was wondering what would be the safest approach to take in creating the routine to send a single character, what character would be best, and how to implement it. Obviously, there would be a timer, and I can write this with no problem. The ideas I have in mind are:

Have a timer running, and execute the Keyboard.WaitForAllKeysUp() command every minute to ensure that the monitored time begins only after this is checked, and then the keystroke is sent after, say, 15 iterations, that is, there has been no keyboard activity for 15 minutes, in which case the keystroke is sent.

I want to send only the Control key to avoid sending something more complex which might cause problems.

Well, that's about all I can think of reight now, and I certainly appreciate your ideas, including specific lines of code. smile

Much thanks,

Rod

Reply via email to