Win7: Sikuli cannot select program in Start Menu

Asked by weldja

Sikuli: IDE 1.0.1
Win 7

Hi
How do you use Sikuli to launch a program by clicking on Window Start, then a program e.g FileZilla.
When I try this the Start Menu disappears before the Program (FileZilla in this case) is clicked

hover(Pattern("Start Menu img").similar(0.89))
click(Pattern("Start Menu img").similar(0.87))
wait(3)
wait("FileZilla img")
wait(3)
click("FileZilla img") <- This fails. The start menu disappears and Sikuli clicks on the location that FileZilla had occupied .

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

simply use

App.open(r"absolute path to FilleZilla.exe")
wait(x) # x some time in seconds

or wait for a typical image that appears when FileZilla opens it's app window.

Revision history for this message
weldja (james-weld) said :
#2

Thank you for the prompt reply

Revision history for this message
weldja (james-weld) said :
#3

Thanks RaiMan, that solved my question.