← Back to team overview

sikuli-driver team mailing list archive

[Bug 1326358] [NEW] [1.1.0] Mac: images created with Mac snapshot (shift-cmd-4) cannot be used with Sikuli

 

Public bug reported:

I want to find top system/menu bar and click sign out.
But My code is not recognizing the top menu bar. It is there. I can see that clearly.
What am I doing wrong?  I was looking up answers and FAQ. There is reference to screen(0).
Not sure how it helps me.
Thanks.


Here is the code (edited to remove local info)

# Sign out
myappMenu="MyappMenu.png"
myappOption="MyappMenuOptionMistral.png"
signOut="MyappMenuMistral.SignOut.png"

if exists(myappMenu):
    click(myappOption)
    click(signOut)
else:
    print("Myapp Menu not found"\n)
    sys.exit(1)


I am running IDE 1.1.0-Beta1
Build 2014-05-05-18

I am running IDE on
OS X 10.9.2

Model Name: MacBook Pro
  Model Identifier: MacBookPro10,1

** Affects: sikuli
     Importance: High
     Assignee: RaiMan (raimund-hocke)
         Status: Confirmed

** Changed in: sikuli
       Status: New => Confirmed

** Changed in: sikuli
   Importance: Undecided => High

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.0

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1326358

Title:
  [1.1.0] Mac: images created with Mac snapshot (shift-cmd-4) cannot be
  used with Sikuli

Status in Sikuli:
  Confirmed

Bug description:
  I want to find top system/menu bar and click sign out.
  But My code is not recognizing the top menu bar. It is there. I can see that clearly.
  What am I doing wrong?  I was looking up answers and FAQ. There is reference to screen(0).
  Not sure how it helps me.
  Thanks.

  
  Here is the code (edited to remove local info)

  # Sign out
  myappMenu="MyappMenu.png"
  myappOption="MyappMenuOptionMistral.png"
  signOut="MyappMenuMistral.SignOut.png"

  if exists(myappMenu):
      click(myappOption)
      click(signOut)
  else:
      print("Myapp Menu not found"\n)
      sys.exit(1)

  
  I am running IDE 1.1.0-Beta1
  Build 2014-05-05-18

  I am running IDE on
  OS X 10.9.2

  Model Name: MacBook Pro
    Model Identifier: MacBookPro10,1

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1326358/+subscriptions


Follow ups

References