Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: How to continue the execution of a perl script if the user session gets locked while running it.

by dasgar (Priest)
on Feb 04, 2014 at 08:08 UTC ( [id://1073341]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to continue the execution of a perl script if the user session gets locked while running it.
in thread How to continue the execution of a perl script if the user session gets locked while running it.

Guess I learned something new.

A few years ago when I was looking at automating a GUI application, I got lost with the documentation of Win32::GuiTest. Doing some Google searching, I came across AutoIt gave that a shot. Then I hit the issue that you're hitting. So I tried looking into Win32::GuiTest again. The docs made more sense, but I still hit the same issue with using Win32::GuiTest.

Anyways, I thought I would hit AutoIt's web site to see if they had any information about this type of scenario and found the following in their FAQ: Why doesn't my script work on a locked workstation?

They provide more information about what is happening and offer some alternatives. I tried looking into the documentation of Win32::GuiTest to see if I can find the equivalent functions. I'm not sure if Win32::GuiTest exposes those functions or not.

On one hand, if the information in the AutoIt FAQ is correct, there is a glimmer of hope for what you are wanting to do. On the other hand, I'm not sure I know how to advise you to apply those alternatives from that FAQ in your Perl script using Win32::GuiTest.

Replies are listed 'Best First'.
Re^4: How to continue the execution of a perl script if the user session gets locked while running it. (hwnd)
by Anonymous Monk on Feb 04, 2014 at 08:31 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1073341]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-03-19 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found