← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #208435]: Unable to close the Application/opened window on Mac using Java Sikuli script

 

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

    Status: Open => Answered

Bekir Dogru proposed the following answer:
If you can focus with App.focus then App.close should be working...

If your jre isn't jre then sikuli sometimes gives some little errors
that is impossible to understand why? (At least for me) check your
jre...

other recommended solutions:

- (Not very likely) use closeApp(....)

- (Bad method) first focus on that app, then find your traffic lights :)
on top left of the window  then click close button...

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