← Back to team overview

sikuli-driver team mailing list archive

[Bug 941841] Re: Click becomes rightClick in 10.7/10.6 OSX

 

only the clicks where i have to paste"hdrectestserver"!..

will try the CMD , l approch.

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

Title:
  Click becomes rightClick in 10.7/10.6 OSX

Status in Sikuli:
  New

Bug description:
      if Global.CurOS == OS.MAC:
          App.open("Safari")
          wait(5)
          click(Pattern("Chttp.png").similar(0.66).targetOffset(-1,1))
          paste("https://swebmail.tcgroup.tc/CookieAuth.dll?GetLogon?reason=0&formdir=1&curl=Z2FowaZ2F";)
          type(Key.ENTER)
      else:
          type(Key.ESC, KeyModifier.CTRL)
          paste("https://swebmail.tcgroup.tc/CookieAuth.dll?GetLogon?reason=0&formdir=1&curl=Z2FowaZ2F";)
          type(Key.ENTER)
          
      wait(5)
      click(Pattern("1326873959177.png").similar(0.78).targetOffset(-91,-28),10)
      paste("hdrectestserver")
      if Global.CurOS == OS.MAC:
          type(Key.ENTER)
      click(Pattern("1326873959177.png").similar(0.63).targetOffset(-76,1),10)
      paste("hdrectestserver")
      if Global.CurOS == OS.MAC:
          type(Key.ENTER)
      click(Pattern("1326873959177.png").similar(0.64).targetOffset(127,34),10)

  
  When clicking PNG´s under the OS.MAC it RIGHTCLICKS??????
  Works fine if i do it manually and on PC the script works ok.

  any work around?

  MAC 1.1 2006 10.6.8
  MAC Mini mid 2011 10.7.3 
  Sikuli RC3

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


References