Re: [Sikuli-driver] [Question #234426]: how to do parameterisation in sikuli?

2013-08-22 Thread Vinay
Question #234426 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234426

Summary changed to:
how to do parameterisation in sikuli?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1214789] Re: [1.0.1] Button.LEFT not recognised --- workaround

2013-08-22 Thread RaiMan
** Summary changed:

- version 1.0.1 Button.LEFT not recognised
+ [1.0.1] Button.LEFT not recognised --- workaround

** Changed in: sikuli
   Status: New = Fix Committed

** 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/1214789

Title:
  [1.0.1] Button.LEFT not recognised --- workaround

Status in Sikuli:
  Fix Committed

Bug description:
  - workaround

  either insert at top of script:
  import org.sikuli.script.Button as Button

  or simply use LEFT instead of left

  --
  trying to migrate to the latest version, however, the following piece of code 
did not work

  for region_line in sorted_regions:
  name_region = Region(region_line.getX() + 55, region_line.getY() + 
20, 200, 25)
  name_region.highlight(5)
  name = name_region.text()
  print name
  temp_out = [name]
  txt_region = Region(region_line.getX() + 55, region_line.getY() + 45, 
50, 20)
  hover(txt_region)
  mouseDown(Button.LEFT)

  LOG reports

  [log] highlight R[78,158 200x25]@S(0)[0,0 1920x1080] E:Y, T:3.0 for
  5.0 secs

  EHSE

  [error] script [ Weixin ] stopped with error in line 66
  [error] NameError ( global name 'Button' is not defined )
  [error] --- Traceback --- error source first line: module ( function ) 
statement 25: main ( copy_one_pyquan ) mouseDown(Button.LEFT)
  [error] --- Traceback --- end --

  The exact same code worked fine in the last version tho

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #234425]: How to select option from Right Click using Sikuli API

2013-08-22 Thread RaiMan
Question #234425 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234425

Status: Open = Answered

RaiMan proposed the following answer:
rightClick()

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1215218] Re: [1.0.1] - Calling a script from another script using subprocess.

2013-08-22 Thread RaiMan
** Changed in: sikuli
   Importance: Undecided = Medium

** Changed in: sikuli
   Status: New = In Progress

** 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/1215218

Title:
  [1.0.1] - Calling a script from another script using subprocess.

Status in Sikuli:
  In Progress

Bug description:
  I have tried to call a Sikuli script from within another script. For
  example I have the following standalone scripts:

  C:\SikuliX\Tests\testFlows\Scenario1.sikuli
  C:\SikuliX\Tests\testFlows\Scenario2.sikuli

  I want to perform the following:
  1. Start Scenario1 script.
  2. From within the Scenario1 I want to call Scenario2 and wait until it 
finishes.
  3. When Scenario2 is finished I want the Scenario1 script to continue from 
the next line.

  I have attempted to reach such functionality using in the following
  manner (from within Scenario1 script):

  import subprocess

  process = subprocess.Popen(c:\\SikuliX\\runScript.cmd -r 
C:\\SikuliX\\Tests\\testFlows\\Scenario2.sikuli, shell=True, 
stdout=subprocess.PIPE)
  process.wait()
  print process.returncode

  It seem to start running exactly as I have expected however after few
  steps it becomes stuck. It does recognize few patterns and type few
  symbols before it becomes stuck. However it always happen at the same
  point. It seems like it is stuck just before performing its first
  mouse click, but I'm not 100% sure.

  In addition, when I decide to terminate the process, I type Ctrl+C.
  When I do that, the mouse click(which was previously stuck) is
  performed the same moment and then (after one more Ctrl+C) the script
  finally exists.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1214789] Re: [1.0.1] Button.LEFT not recognised --- workaround

2013-08-22 Thread RaiMan
** Description changed:

- trying to migrate to the latest version, however, the following piece of
- code did not work
+ - workaround
  
+ either insert at top of script:
+ import org.sikuli.script.Button as Button
  
- for region_line in sorted_regions:
- name_region = Region(region_line.getX() + 55, region_line.getY() + 
20, 200, 25)
- name_region.highlight(5)
- name = name_region.text()
- print name 
- temp_out = [name]
- txt_region = Region(region_line.getX() + 55, region_line.getY() + 45, 
50, 20)
- hover(txt_region)
- mouseDown(Button.LEFT)
+ or simply use LEFT instead of left
  
+ --
+ trying to migrate to the latest version, however, the following piece of code 
did not work
+ 
+ for region_line in sorted_regions:
+ name_region = Region(region_line.getX() + 55, region_line.getY() + 
20, 200, 25)
+ name_region.highlight(5)
+ name = name_region.text()
+ print name
+ temp_out = [name]
+ txt_region = Region(region_line.getX() + 55, region_line.getY() + 45, 
50, 20)
+ hover(txt_region)
+ mouseDown(Button.LEFT)
  
  LOG reports
  
  [log] highlight R[78,158 200x25]@S(0)[0,0 1920x1080] E:Y, T:3.0 for 5.0
  secs
  
  EHSE
  
  [error] script [ Weixin ] stopped with error in line 66
  [error] NameError ( global name 'Button' is not defined )
  [error] --- Traceback --- error source first line: module ( function ) 
statement 25: main ( copy_one_pyquan ) mouseDown(Button.LEFT)
  [error] --- Traceback --- end --
  
- 
  The exact same code worked fine in the last version tho

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

Title:
  [1.0.1] Button.LEFT not recognised --- workaround

Status in Sikuli:
  Fix Committed

Bug description:
  - workaround

  either insert at top of script:
  import org.sikuli.script.Button as Button

  or simply use LEFT instead of left

  --
  trying to migrate to the latest version, however, the following piece of code 
did not work

  for region_line in sorted_regions:
  name_region = Region(region_line.getX() + 55, region_line.getY() + 
20, 200, 25)
  name_region.highlight(5)
  name = name_region.text()
  print name
  temp_out = [name]
  txt_region = Region(region_line.getX() + 55, region_line.getY() + 45, 
50, 20)
  hover(txt_region)
  mouseDown(Button.LEFT)

  LOG reports

  [log] highlight R[78,158 200x25]@S(0)[0,0 1920x1080] E:Y, T:3.0 for
  5.0 secs

  EHSE

  [error] script [ Weixin ] stopped with error in line 66
  [error] NameError ( global name 'Button' is not defined )
  [error] --- Traceback --- error source first line: module ( function ) 
statement 25: main ( copy_one_pyquan ) mouseDown(Button.LEFT)
  [error] --- Traceback --- end --

  The exact same code worked fine in the last version tho

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #234433]: help!!! does sikuli support alpha, misp, ppc architecture?

2013-08-22 Thread xialuck
New question #234433 on Sikuli:
https://answers.launchpad.net/sikuli/+question/234433

help!!!   does sikuli support alpha,misp,ppc architecture?  thank you~~

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #234435]: After launching the application how do I swipe right/left on an android emulator?

2013-08-22 Thread Vinay
New question #234435 on Sikuli:
https://answers.launchpad.net/sikuli/+question/234435

 I need to swipe between the screens, i.e. from left to right or vice versa 
after launching the application.

When i use the command, type(Key.DOWN , KeyModifier.CTRL);

If i am in home screen or in application screen , i am able to swipe from left 
to right and right to left but if i launch the application and tried to swipe 
from right to left or viceversa i am not able to perfom a swipe operation.

Note: the application which i am using contains the same header in all screens.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #234382]: I want to use automated tools for load and stress testing of Mobile Games (iOS Android platform). Could you please update me whether your tool help me out on

2013-08-22 Thread Roman Podolyan
Question #234382 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234382

Status: Open = Answered

Roman Podolyan proposed the following answer:
I used Sikuli for monkey and functional testing of iOS apps with iOS
Simulator from XCode.   From my point of view monkey testing is some
sort of load and stress testing (no kidding).

If you tell more about how you are going to do that stress and load
testing, I'll  tell you my opinion if that can be done with Sikuli.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #234436]: How to handle FindFailed exception in 1.0.1 from sikuli-script.jar

2013-08-22 Thread Googoo
New question #234436 on Sikuli:
https://answers.launchpad.net/sikuli/+question/234436

1. Using Sikuli 1.0.0 sikuli-script.jar
 - Created a Java class that performs a Sikuli script and import 
org.sikuli.script.FindFailed
 - Wrapped your Sikuli script actions in a try-catch block and catch the 
missing exception as follows:
import org.sikuli.script.FindFailed;
import org.sikuli.script.Key;
import org.sikuli.script.Match;
import org.sikuli.script.Screen;
Import
try {
Screen myScreen= new Screen();
...
...
myScreen.type(Key.F1);

}
  catch( FindFailed e ) {
 Assert.fail( Error with Sikuli script:  + e.getMessage() );
 e.printStackTrace();
 throw new AssertionError( e.getMessage() );
  }

2. Upgraded to sikuli 1.0.1 sikuli-script.jar
 Getting compilation error - FindFailed is never thrown in body of try 
statement

   Please advise

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #234428]: how do i swipe right or left on an android emulator using Sikuli IDE

2013-08-22 Thread Roman Podolyan
Question #234428 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234428

Status: Open = Answered

Roman Podolyan proposed the following answer:
You can write your own custom mouse swipe function using low-level mouse
control routines.

To illustrate the idea, here is dirty routine I used for that:

def flick_up():
# setting begin - end
x1, y1, x2, y2 = (640, 682, 640, 412)
start = Location(x1, y1)
end = Location(x2, y2)
# moving up
stepX = 0
stepY = 20
run = start
mouseMove(start); wait(0.5)
mouseDown(Button.LEFT); wait(0.5)
for i in range(5):
run = run.right(stepX).above(stepY * i)
mouseMove(run)
wait(0.05)
mouseUp()
wait(0.5)

Experiment a bit with mouseMove, and you'll get whatever is possible.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #234435]: After launching the application how do I swipe right/left on an android emulator?

2013-08-22 Thread James Robert
Question #234435 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234435

James Robert posted a new comment:
Hi Vinay,

I am sorry to say this, this is the draw back of the Sikuli tool. We
cann't perform swipe operation if header remains same in all the
screen/pages.


Regards,
Robert

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #234382]: I want to use automated tools for load and stress testing of Mobile Games (iOS Android platform). Could you please update me whether your tool help me out on

2013-08-22 Thread Gurmeet Singh
Question #234382 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234382

Status: Answered = Open

Gurmeet Singh is still having a problem:
Thanks a lot Roman Podolyan !

Below are the steps that I need to run:

1) Stress Testing: we download ā€˜nā€™ numbers of applications/data in our
device to full its maximum memory limit and then run the given
application, save some checkpoints and play it till the device get
crashed. In a successful stress test, the application will come back to
normality along with all of its saved data, even after the most terrible
break down.

2) Load Testing:  we create a dummy server and invite as many as users
to check the load. The goal of load testing is to expose the defects in
application related to buffer overflow, memory leaks and mismanagement
of memory.

So can you find tell me whether these tests can be performed using
Sikuli or not?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #234382]: I want to use automated tools for load and stress testing of Mobile Games (iOS Android platform). Could you please update me whether your tool help me out on

2013-08-22 Thread Roman Podolyan
Question #234382 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234382

Roman Podolyan posted a new comment:
I don't see where Sikuli fits in this context. It is not general testing
framework or what. It is build around visual search and user-level
keyboard and mouse action event simulation, pasting and so on.

So, if your tests don't have to use visual search (my were, because the
visuals were the only thing I could read from iOS simulator and Mac
display to generate input, read some state signs  and determine if iOS
app under test crashed), you don't need Sikuli for that. There is no any
special functions or procedures to do that kinds of testing, and there
is no built-in reporting tools in Sikuli, so it seems that there is
nothing you could take advantage of.

But I might get you wrong, so please tell me what you expect from Sikuli except 
visual search and mouse-keyboard events.
If you see where you need them, like I make of them my Simulator controls and 
checking if app crashed and XCode stopped the simulator, then you can use it.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #234433]: help!!! does sikuli support alpha, misp, ppc architecture?

2013-08-22 Thread Roman Podolyan
Question #234433 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234433

Status: Open = Answered

Roman Podolyan proposed the following answer:
Sikuli is basically visual search tool. It is not about architectures at
all, it is about JVM and some native libraries.

If you can get your architecture working with some sort of remote
desktop, you can have Sikuli work on  that remote, passing what Sikuli
does back to machine with different architecture.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #234426]: how to do parameterisation in sikuli?

2013-08-22 Thread Roman Podolyan
Question #234426 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234426

Status: Open = Answered

Roman Podolyan proposed the following answer:
Sikuli is combined with general-purpose Jython scripting, so basically
you can code any parametrization you need, say, put the parameters
required and text file, read them from it by Python or Java functions
and process how you need them.

Also, there are text on Internet  telling how to connect Sikuli to the
test frameworks like Robot Framework, and RF has some parametrizaton.

Did this tell enough on topic?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #234382]: I want to use automated tools for load and stress testing of Mobile Games (iOS Android platform). Could you please update me whether your tool help me out on

2013-08-22 Thread Gurmeet Singh
Question #234382 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234382

Gurmeet Singh gave more information on the question:
I need to check the server performance through my device/simulator so is
it possible through to Sikuli?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #234382]: I want to use automated tools for load and stress testing of Mobile Games (iOS Android platform). Could you please update me whether your tool help me out on

2013-08-22 Thread Roman Podolyan
Question #234382 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234382

Status: Open = Answered

Roman Podolyan proposed the following answer:
Sorry, again did not get you.

I sit in office next to a team of load/performance testers, and  they
use instruments like Jmeter for that job. They generate a lot of
requests or page loadings, and the requests and pages are the only thing
the server gives out. The server admin guy monitors the server state
with his tools.  I think you need tools like that too.

And I wonder, what server load do you expect to get from Sikuli. Sikuli
is just not for generating high server load. In my monkey script it gave
hell to just one application, not the server.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #234414]: Downloaded on friends computer, sikuli wont disappear when click run

2013-08-22 Thread Roman Podolyan
Question #234414 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234414

Status: Open = Answered

Roman Podolyan proposed the following answer:
Can you double-check the Sikuli version, can't you? It is important to know. 
 
I think I might encounter a problem like that myself (I don't remember too 
well, because it was like 2 years ago, and I'm not on that job and on that Mac 
anymore).  The quick workaround I invented was to make first steps of script 
some clicking on icons on Doc bar, to hide Sikuli by Sikuli and then switch to 
the Simulator or other testing app. 

Hope that help you.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #234382]: I want to use automated tools for load and stress testing of Mobile Games (iOS Android platform). Could you please update me whether your tool help me out on

2013-08-22 Thread Gurmeet Singh
Question #234382 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234382

Status: Answered = Solved

Gurmeet Singh confirmed that the question is solved:
Thanks Roman !!

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #234082]: Stand-alone jar of Sikuli

2013-08-22 Thread Zhang Jiaqiang
Question #234082 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234082

Zhang Jiaqiang posted a new comment:
Hi RaiMan,

I am in the hurry. It's possible to share with me the workaround ?


Best regards,
Jiaqiang

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #234082]: Stand-alone jar of Sikuli

2013-08-22 Thread Eugene S
Question #234082 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234082

Eugene S posted a new comment:
RaiMan gave a link for direct jar download in one of the comments in the
below question:

https://answers.launchpad.net/sikuli/+question/234061

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #234486]: Region area manipulation. How does that work?

2013-08-22 Thread Eugene S
New question #234486 on Sikuli:
https://answers.launchpad.net/sikuli/+question/234486

Hi,

Please consider the following piece of code:

reg = find(imageName.png)
regN = Region(reg.x, reg.y, reg.h, reg.w)
regN.highlight(1)

Here I haven't done any changes to this region coordinates, so I do not expect 
to see any changes in regN.
What I expect to see in this case, is the same region as reg.

However when it's highlighted, I see that the region is rotated. I see the 
following output in the log:
[log] highlight M[128,392 69x24]@S(0)[0,0 1280x1024] S:1.00 Center:162,404 for 
1.0 secs
[log] highlight R[128,392 24x69]@S(0)[0,0 1280x1024] E:Y, T:3.0 for 1.0 secs


Can someone please explain what happened here?
And what some of the attributes mean? Specifically: M/R, @S, S:1, E:Y, T:3, 
Center

Are these attributes documented somewhere?


Thanks!
Eugene

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp