← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #706301]: Regarding the hotkey issue of the software.

 

Question #706301 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706301

RaiMan proposed the following answer:
@waterking
As mentioned: there is currently no feature, that allows to run a script triggered by a hotkey.

But generally it is possible to run script code, that is implemented in
functions (def runAtHotkey(): ...) as a reaction to a hotkey press.

See here for the general usage layout:
https://sikulix-2014.readthedocs.io/en/latest/interaction.html#listening-to-global-hotkeys

Bea aware: It needs some deeper understanding of Python scripting with
stuff, that is implemented elsewhere (e.g. other scripts) and needs to
be imported for use and run.

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