An application for mouse click event
-
hi, i am connecting the server PC. and running some long duration application. but it get disconnect if PC is idle for more than 2 minutes. i have to write some script so that mouse get click after every 1 minute. waiting for any suggestion, help or any example. Thanks
"We can't solve problems by using the same kind of thinking we used when we created them"
-
hi, i am connecting the server PC. and running some long duration application. but it get disconnect if PC is idle for more than 2 minutes. i have to write some script so that mouse get click after every 1 minute. waiting for any suggestion, help or any example. Thanks
"We can't solve problems by using the same kind of thinking we used when we created them"
Check out the
SendInput
Windows API.«_Superman_»
-
Check out the
SendInput
Windows API.«_Superman_»
-
Could you plz elaborate it more??:confused:
"We can't solve problems by using the same kind of thinking we used when we created them"
Create an application with a timer whose duration is 1 Minute. In the timer routine, call
SendInput
with a left button down message.«_Superman_»
-
hi, i am connecting the server PC. and running some long duration application. but it get disconnect if PC is idle for more than 2 minutes. i have to write some script so that mouse get click after every 1 minute. waiting for any suggestion, help or any example. Thanks
"We can't solve problems by using the same kind of thinking we used when we created them"
Mmmm - that really isn't safe, randomly clicking the mouse every minute. What's the root cause of the disconnection?
-
Mmmm - that really isn't safe, randomly clicking the mouse every minute. What's the root cause of the disconnection?
actually it needs some hardware interrupt. if i click any where on remote EM screen or higlight the remote EM window , it remains active session otherwise connection gets lost. can i do like this, just to highlight that window, by command prompt coding.. etc
"We can't solve problems by using the same kind of thinking we used when we created them"
-
actually it needs some hardware interrupt. if i click any where on remote EM screen or higlight the remote EM window , it remains active session otherwise connection gets lost. can i do like this, just to highlight that window, by command prompt coding.. etc
"We can't solve problems by using the same kind of thinking we used when we created them"
- Can you define what you mean by 'connection'
- What does 'EM' mean?
-
- Can you define what you mean by 'connection'
- What does 'EM' mean?
ok, i am not making you understand... ..once more... i am connecting server remotely. and running a long duration application on it...now from my local pc, if i don't highlight or run any hardware interrupt on that remote pc, session get disabled. so i want to run such a script, so that..i can highlight that remote PC window after every 1 minute....
"We can't solve problems by using the same kind of thinking we used when we created them"
-
ok, i am not making you understand... ..once more... i am connecting server remotely. and running a long duration application on it...now from my local pc, if i don't highlight or run any hardware interrupt on that remote pc, session get disabled. so i want to run such a script, so that..i can highlight that remote PC window after every 1 minute....
"We can't solve problems by using the same kind of thinking we used when we created them"
I'd try something like getting the window handle with
FindWindow
and then activating the window every minute. -
hi, i am connecting the server PC. and running some long duration application. but it get disconnect if PC is idle for more than 2 minutes. i have to write some script so that mouse get click after every 1 minute. waiting for any suggestion, help or any example. Thanks
"We can't solve problems by using the same kind of thinking we used when we created them"