Sign in to follow this  
Followers 0
MyName

How to move the computer locked screen

7 posts in this topic

Hey All

I am new for script. Auto IT script will work when computer is locked mode? How to move the computer locked screen to bottom of screen?


-= [font="Verdana"]A Men Who believes in himself and not circumstances is the real Winner =-[/font]

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

are u asking if a script wil run in lock mode or how to move the lock screen or both

Edited by 7h331337

Share this post


Link to post
Share on other sites

are u asking if a script wil run in lock mode or how to move the lock screen or both

Both


-= [font="Verdana"]A Men Who believes in himself and not circumstances is the real Winner =-[/font]

Share this post


Link to post
Share on other sites

any one muttley


-= [font="Verdana"]A Men Who believes in himself and not circumstances is the real Winner =-[/font]

Share this post


Link to post
Share on other sites

Welcome to the forum.

Yes, most AutoIt functions can work while the computer is locked.

I have no idea if the "computer locked screen" can be moved.


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Welcome to the forum.

Yes, most AutoIt functions can work while the computer is locked.

I have no idea if the "computer locked screen" can be moved.

When the PC is locked, it has no title (well zero as a return, trying to figure that one out), no class, and no handle... Would make it kind of difficult to move with standard autoit functions muttley .

Run this in SciTe, then lock the PC, then Unlock:

#include <winapi.au3>
Local $h_last_win, $h_old_win
While 1
    $h_last_win = WinGetHandle("")
    If $h_last_win <> $h_old_win Then
        ConsoleWrite("Title: " & WinGetTitle($h_last_win) & "  |  " & "Class: " & _WinAPI_GetClassName($h_last_win) & "  |  HWND: 0x" & Hex($h_last_win, 8) & @CRLF)
        $h_old_win = $h_last_win
    EndIf
    Sleep(100)
WEnd
Look at the output pane.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

When the PC is locked, it has no title (well zero as a return, trying to figure that one out), no class, and no handle... Would make it kind of difficult to move with standard autoit functions muttley .

Run this in SciTe, then lock the PC, then Unlock:

#include <winapi.au3>
Local $h_last_win, $h_old_win
While 1
    $h_last_win = WinGetHandle("")
    If $h_last_win <> $h_old_win Then
        ConsoleWrite("Title: " & WinGetTitle($h_last_win) & "  |  " & "Class: " & _WinAPI_GetClassName($h_last_win) & "  |  HWND: 0x" & Hex($h_last_win, 8) & @CRLF)
        $h_old_win = $h_last_win
    EndIf
    Sleep(100)
WEnd
Look at the output pane.
Your are correct !

Output pane say's "Title: 0 | Class: | HWND: 0x00000000"

Any other way to move the locked Screen ??


-= [font="Verdana"]A Men Who believes in himself and not circumstances is the real Winner =-[/font]

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  
Followers 0