← Back to team overview

sikuli-driver team mailing list archive

[Question #688683]: lock screen not working using keyboard shortcut

 

New question #688683 on Sikuli:
https://answers.launchpad.net/sikuli/+question/688683

I'm trying to lock the screen after my script has run (win 10) using the following code

type('l', Key.WIN)

but this is just typing the 'l' character and not locking the screen 

I've got a workaround using 'run('rundll32.exe user32.dll,LockWorkStation')' but I'm just wondering why this keyboard shortcut isn't working?

other actions using the "Windows" key seem to work fine

thanks

L

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.