← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #675998]: Trying to capture image in system tray and also click on the icon execute other actions this from going to be done from java

 

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

    Status: Open => Answered

masuo proposed the following answer:
The tooltip of icon in system tray is shown nearby system tray?
If so, you can use nearby() or above() or grow() etc.
https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.nearby

[example:]
r = find("icon01.png").highlight(1)
mouseMove()
if r.exists("tooltip.png"):
    popup("tooltip is found")
else:
    popup("tooltip is not found")

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