Re: [Sikuli-driver] [Question #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Eugene S
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Eugene S requested more information:
I'm sorry, maybe I misunderstood your situation.
Do you have a script in a *.py file and you try to run it  from command line?

-- 
You received this question notification because your team Sikuli Drivers
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Dwarika
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Dwarika posted a new comment:
yes. its ok.. Let me know is there any thing by which i can increase the
robustness. in current situation some times it works fine some time not.

-- 
You received this question notification because your team Sikuli Drivers
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Dwarika
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Dwarika posted a new comment:
yes got it .but where shall i edit this parameter value. or below is the
way

C:\sikulix\sikuleide.bat -r a.sikuli settings.showactions=true  (is this
the way)

-- 
You received this question notification because your team Sikuli Drivers
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Dwarika
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Dwarika posted a new comment:
 File 
"C:\Users\ADMINI~1\AppData\Local\Temp\2\sikuli-tmp8142810557883572720.py", line 
1, in 
 settings.showactions=true

throwing the above error

-- 
You received this question notification because your team Sikuli Drivers
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Dwarika
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Dwarika posted a new comment:
i wanted to run in slow motion just to have the robustness. is there any
thing by which i can increase the robustness of the script.

please help. its urgent.

-- 
You received this question notification because your team Sikuli Drivers
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Eugene S
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Eugene S proposed the following answer:
you should include it in your script file

-- 
You received this question notification because your team Sikuli Drivers
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Eugene S
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Eugene S proposed the following answer:
I am sorry but have to be more specific. If you want the script to run
slower you can try different techniques. For example:

1. wait for a pattern to appear
wait("pattern.png", waitTime)

2. insert wait time explicitly
import time
time.sleep(waitTime)

3. you can play with sikuli settings class I mentioned before.
Have a look here
http://doc.sikuli.org/region.html#Region.setAutoWaitTimeout

-- 
You received this question notification because your team Sikuli Drivers
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Eugene S
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Eugene S requested more information:
I'm sorry but did you read my previous reply?

-- 
You received this question notification because your team Sikuli Drivers
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Dwarika
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Dwarika posted a new comment:
i want the script to be robust ..it is giving intermittent error. some
time its working fine and some time not. i got below solution but not
sure where to add this parameter , i mean in which file.

Sikuli is too slow or not robust. What can I do?
You can tune a parameter of the vision algorithm, MinTargetSize, to speed up 
the matching process or make it more robust.

1from org.sikuli.script.natives import Vision
2
3Vision.setParameter("MinTargetSize", 6) # A small value such as 6 makes the 
matching algorithm be faster.
4Vision.setParameter("MinTargetSize", 18) # A large value such as 18 makes the 
matching algorithm be more robust.

-- 
You received this question notification because your team Sikuli Drivers
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-09 Thread Dwarika
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Dwarika posted a new comment:
If u see the sikuli Gui it gives the option to run the script with slow
motion where mouse movements becomes slow and red circle comes before
doing any operation.

so is there any switch which runs the script in slow mouse movement.

-- 
You received this question notification because your team Sikuli Drivers
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-09 Thread Dwarika
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Dwarika posted a new comment:
can you please give more details.

-- 
You received this question notification because your team Sikuli Drivers
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-09 Thread Eugene S
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Status: Needs information => Answered

Eugene S proposed the following answer:
try Settings.ShowActions

-- 
You received this question notification because your team Sikuli Drivers
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-09 Thread Eugene S
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Eugene S proposed the following answer:
You asked for a switch that will turn on the slow motion effect like it has in 
GUI.
I think that Settings.ShowActions does that.

Please try it. For example:

Settings.ShowActions = true

-- 
You received this question notification because your team Sikuli Drivers
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-09 Thread Eugene S
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Status: Open => Needs information

Eugene S requested more information:
Please provide more details?
What do you mean by slow motion? Delays between actions? Mouse movement?

-- 
You received this question notification because your team Sikuli Drivers
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