Question #662682 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/662682

    Status: Open => Answered

masuo proposed the following answer:
First of all, read document about Env.addHotkey().
http://sikulix-2014.readthedocs.io/en/latest/interaction.html#listening-to-global-hotkeys

Define hotkey handler function "script01" that will be called by CTRL + "m" 
keys, in the SikuliX script.
Env.addHotkey("m", KeyModifier.CTRL, script01)

Send CTRL + "m" keys, in EXCEL VBA.
SendKeys "^m"

When you click Button1 on EXECL, CTRL + "m" keys are sent and function
"script01" is called.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to