Jump to content
Sign in to follow this  
shyang

how can we know screen is locked or not in autoit3 script

Recommended Posts

shyang

Hello all,

How can I know windows screen is currently locked or not in autoit3 script(called A script)?

if screen is locked, then

1. I want to type user passwd before run script.

2. and run B-script

if screen is not currently locked, then

I just run B-script.

So I want to check the status windows screen is locked or not ..at the head of autoit3 A-script..

Any idea?

Edited by shyang

Share this post


Link to post
Share on other sites
Swift

How exactly do you plan to check if the screen is 'locked' im guessing you mean turned off or something. But how exactly are you going to see what process did it?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.