← Back to team overview

sikuli-driver team mailing list archive

[Question #158512]: Is there a function for keypress interaction?

 

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

I'm looking to add a level of interaction with the user where they manipulate the mouse to a specific point and then trigger a keypress which then allows the script to continue. Specifically, I'd like to have it load multiple mouse x,y points - only to have them utilized later.  So, keypress - records current mouse location, keypress again - records current mouse location.  Completely different keypress - dumps the existing keypress locations to the screen and stops the automation. 

While I'm pretty sure I a can figure out the necessary bits - I can't find any reference to a listener keypress event.  Any suggestions?

Just to be clear, I don't need the script to invoke a keypress, I need it listen for one initiated by the user.  Thanks in advance.

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