Jump to content



Photo

When screen is locked


  • Please log in to reply
3 replies to this topic

#1 GNGNUT

GNGNUT

    Seeker

  • Active Members
  • 23 posts

Posted 15 June 2012 - 08:12 AM

Hi Guys

need a little help,
I currently use the below Script when the screen is unlocked and this doesnt work when i lock the screen is there a way i can chnage / swap for this to work while the screen is locked ??

Func _WinWaitActivate($vWintitle, $vWinText, $timeout)      WinWait($vWintitle, $vWinText, $timeout)      If Not WinActive($vWintitle, $vWinText) Then WinActivate($vWintitle, $vWinText)      WinWaitActive($vWintitle, $vWinText, $timeout) EndFunc   ;==>_WinWaitActivate








#2 Decipher

Decipher

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 337 posts

Posted 15 June 2012 - 08:56 AM

Hi Guys

need a little help,
I currently use the below Script when the screen is unlocked and this doesnt work when i lock the screen is there a way i can chnage / swap for this to work while the screen is locked ??

Func _WinWaitActivate($vWintitle, $vWinText, $timeout)      WinWait($vWintitle, $vWinText, $timeout)      If Not WinActive($vWintitle, $vWinText) Then WinActivate($vWintitle, $vWinText)      WinWaitActive($vWintitle, $vWinText, $timeout) EndFunc   ;==>_WinWaitActivate

Hi, I don't know of a way right off. I'll search for you. If your going to run this script in the background then why not disable the built in screensaver, password prompt in windows and create your own. I know that may seem a little difficult but It sounds interesting and I'd help you along. I have some useful code snippets that apply to such an application.

What OS version are you using?

Edited by Decipher, 15 June 2012 - 09:12 AM.

Posted Image

#3 GNGNUT

GNGNUT

    Seeker

  • Active Members
  • 23 posts

Posted 15 June 2012 - 10:54 AM

Im Using Autoit at work and they have Group policys on the computers here and I cant access any of them details
its preety much locked down,

Os win xp sp3

#4 Zedna

Zedna

    AutoIt rulez!

  • MVPs
  • 8,315 posts

Posted 15 June 2012 - 12:00 PM

http://www.autoitscript.com/wiki/FAQ#Why_doesn.27t_my_script_work_on_a_locked_workstation.3F




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users