← Back to team overview

sikuli-driver team mailing list archive

[Question #266508]: using ctypes I get the error: 'module' object has no attribute 'WinDLL'

 

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

Hi Everyone,

To check num lock state (and deactivate if necessary to overcome the shift key bug), I do the following in python:

import ctypest
ctypes.WinDLL("User32.dll").GetKeyState(0x90)

This works in python but in Sikuli I get the following error:
[error] AttributeError ( 'module' object has no attribute 'WinDLL' )

Is there a solution or alternative to this?

Thanks,
George


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.