Re: [Sikuli-driver] [Question #700878]: How to replace targetOffset from a variable already set targetOffset.
Question #700878 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/700878 Status: Answered => Solved steven confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #700878]: How to replace targetOffset from a variable already set targetOffset.
New question #700878 on SikuliX: https://answers.launchpad.net/sikuli/+question/700878 How to replace targetOffset from a variable already set targetOffset. def PIC_TT(): TT=Pattern("TT.png").targetOffset(100,0) return TT TTT=PIC_TT() I want change TTT as Pattern("TT.png").targetOffset(50,0) How can I overwrite its targetOffset setting. I try TTT.targetOffset=(50,0) but fail. My "def PIC_TT():" is in another .py file. My sikuliX version is 2.0.5 I use WIN10. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #687980]: Where can I find examples of SikulixServer being used
Question #687980 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687980 Status: Open => Solved Steven Alvarez confirmed that the question is solved: I solved my own problem so I no longer need an answer -- 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
[Sikuli-driver] [Question #687980]: Where can I find examples of SikulixServer being used
New question #687980 on Sikuli: https://answers.launchpad.net/sikuli/+question/687980 I'm trying to utilize the information from the following: https://github.com/RaiMan/SikuliX1/wiki/New-SikulixServer-Design#groups To run a Sikulix server and then execute a script on the server from a different machine. I think that this should be a simple thing to do but after messing around with the commands myself I haven't been able to get it to work. Are there any examples of SikulixServer commands available to look at and understand? -- 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 #675694]: Matching Game - How to?
Question #675694 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675694 Status: Answered => Solved Steven Csukardi confirmed that the question is solved: Thanks RaiMan, that solved my question. -- 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 #675694]: Matching Game - How to?
Question #675694 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675694 Steven Csukardi posted a new comment: I'll read more up on the Observe feature, thank you. -- 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 #675694]: Matching Game - How to?
Question #675694 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675694 Steven Csukardi posted a new comment: Unfortunately I don't have any screenshots and I cannot link the game as it's not on the net. No benefit other than seeing if I could create the project and get it working. My current code, I was able to restrict the section where the arrows point and onAppear was working when it detected any of those arrows. >From there, I was lost on how to hit the up key if the arrow was on the upper location in that region, same for arrows respective to their location. If there isn't an easy solution to this, than no worries! I was hoping there was an example I could see that would point me in the right direction. -- 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
[Sikuli-driver] [Question #675694]: Matching Game - How to?
New question #675694 on Sikuli: https://answers.launchpad.net/sikuli/+question/675694 Very new to Sikuli (and coding). Been trying to automate a matching game but I can't seem to get it working. In a section on the window, arrows will appear around the center, up, down, left and right. They usually appear for a second and start getting quicker as you progress. I was trying to mess around with onAppear to try and match the right image to the right input. left should be Key.LEFT, for example. I'm unsure how to individually identify which arrow is on the screen in quick fashion. Any examples would be very helpful! Thanks -- 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
[Sikuli-driver] [Question #268017]: How do I get my environment variables in sikuli?
New question #268017 on Sikuli: https://answers.launchpad.net/sikuli/+question/268017 I've installed SikuliX from sikulixsetup-1.1.0-20150610.230943-100-forsetup.jar and created a very simple script to start up an application on my machine. The application in question needs a licence which it picks up from a directory specified by an environment variable. When I run the sikuli script either from the command line using runsikulix or from the IDE the required environment variable is gone and my application won't work. I have added a check for the variable in the runsikulix script itself and it is there. I have added a check of the enrivonment by doing print os.environ inside the sikuli script and the variable is not there. Why is this happening? How do I get this back so I can get writing some useful tests? -- 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 1413796] Re: UI Elements Modify Screen Bounds
After trying a few more things, the change happens also when pressing the screenshot button. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1413796 Title: UI Elements Modify Screen Bounds Status in Sikuli: New Bug description: Using SikuliIDE 1.1.0 (2015-01-16_01:00nightly) - python I just recently installed this program on a Windows 7 Enterprise machine. I am using two monitors. I installed Sikuli onto a network drive. When I first open the IDE, there are no problems, everything works the way that it should. Each time that I press one of the UI elements that adds code and takes a screenshot (for example: find, wait, click or rightClick) the screen bounds are changed by 2 pixels on all edges. When I start, the screen bounds used to search are [0,0 1920x1080], then after adding a few elements, I run the code and get log messages like: [log] DOUBLE CLICK on L(83,87)@S(0)[8,8 1904x1064] The mouse events are still zero indexed though so in this case the mouse double clicked 8 pixels low and to the right of the intended target. I looked to see if someone else had logged something like this but didn't see anything. Thanks. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1413796/+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 1413796] [NEW] UI Elements Modify Screen Bounds
Public bug reported: Using SikuliIDE 1.1.0 (2015-01-16_01:00nightly) - python I just recently installed this program on a Windows 7 Enterprise machine. I am using two monitors. I installed Sikuli onto a network drive. When I first open the IDE, there are no problems, everything works the way that it should. Each time that I press one of the UI elements that adds code and takes a screenshot (for example: find, wait, click or rightClick) the screen bounds are changed by 2 pixels on all edges. When I start, the screen bounds used to search are [0,0 1920x1080], then after adding a few elements, I run the code and get log messages like: [log] DOUBLE CLICK on L(83,87)@S(0)[8,8 1904x1064] The mouse events are still zero indexed though so in this case the mouse double clicked 8 pixels low and to the right of the intended target. I looked to see if someone else had logged something like this but didn't see anything. Thanks. ** Affects: sikuli Importance: Undecided Status: New ** Attachment added: Screen Capture https://bugs.launchpad.net/bugs/1413796/+attachment/4303875/+files/Capture.JPG -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1413796 Title: UI Elements Modify Screen Bounds Status in Sikuli: New Bug description: Using SikuliIDE 1.1.0 (2015-01-16_01:00nightly) - python I just recently installed this program on a Windows 7 Enterprise machine. I am using two monitors. I installed Sikuli onto a network drive. When I first open the IDE, there are no problems, everything works the way that it should. Each time that I press one of the UI elements that adds code and takes a screenshot (for example: find, wait, click or rightClick) the screen bounds are changed by 2 pixels on all edges. When I start, the screen bounds used to search are [0,0 1920x1080], then after adding a few elements, I run the code and get log messages like: [log] DOUBLE CLICK on L(83,87)@S(0)[8,8 1904x1064] The mouse events are still zero indexed though so in this case the mouse double clicked 8 pixels low and to the right of the intended target. I looked to see if someone else had logged something like this but didn't see anything. Thanks. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1413796/+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 1325625] [NEW] SikulX 1.1.0 Beta1 No dropdown on Tool menu in Windows 7 64bit
Public bug reported: SikuliX 1.1.0 Beta1. No dopdown appears when you click Tools on the menu in Windows 7 64 bit. ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1325625 Title: SikulX 1.1.0 Beta1 No dropdown on Tool menu in Windows 7 64bit Status in Sikuli: New Bug description: SikuliX 1.1.0 Beta1. No dopdown appears when you click Tools on the menu in Windows 7 64 bit. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1325625/+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 #183032]: uc1.sikuli calls uc1_sc1.sikuli calls uc1_sc1_tc1.sikuli calls actm_delegation1.sikuli
New question #183032 on Sikuli: https://answers.launchpad.net/sikuli/+question/183032 I have 4 scripts where one calls another, nested. uc1.sikuli --- from sikuli import * uc_path = c:\\Users\\\\Documents\\sikuli if not uc_path in sys.path: sys.path.append(uc_path) print uc_path print uc1 import uc1_sc1 --- uc1_sc1.sikuli --- from sikuli import * print uc1_sc1 import uc1_sc1_tc1 --- uc1_sc1_tc1.sikuli --- from sikuli import * print uc1_sc1_tc1 from actm_delegation1 import * --- actm_delegation1.sikuli --- from sikuli import * isLoggedIn = False isMobileInGAL = False isMobileOnMy = False def addMobileToDelegation(): # Add mobile phone number to My Profile # Show in details, Allow editing # login dlg = find(AccessReques.png) ... isMobileOnMy = True # Log out lo = find(1324407046794.png) lo.click(Logout.png) isLoggedIn = False --- And yet, it spits out this --- C:\Users\...\Documents\sikuli uc1 uc1_sc1 C:\Users\...\Documents\sikuli uc1_sc1_tc1 [error] Stopped [error] An error occurs at line 9 [error] Error message: Traceback (most recent call last): File C:\Users\...\AppData\Local\Temp\sikuli-tmp9068862656009163499.py, line 9, in import uc1_sc1 File C:\Program Files (x86)\Sikuli-IDE\sikuli-script.jar\Lib\sikuli\SikuliImporter.py, line 45, in load_module File C:\Program Files (x86)\Sikuli-IDE\sikuli-script.jar\Lib\sikuli\SikuliImporter.py, line 29, in _load_module ImportError: Errors in loading sikuli module: uc1_sc1 Errors in loading sikuli module: uc1_sc1_tc1 No module named actm_delegation1 - HOW TO FIX? Try adding from sikuli import * in the module. - HOW TO FIX? Try adding from sikuli import * in the module. --- Here is my file structure under the C:\\Users\\...\\Documents\\sikuli folder 12/20/2011 03:11 PMDIR . 12/20/2011 03:11 PMDIR .. 12/20/2011 03:11 PMDIR actm_delegation1.sikuli 12/14/2011 12:57 PMDIR add_applications.sikuli 12/14/2011 12:57 PMDIR add_category.sikuli 12/15/2011 03:16 PMDIR add_challenge_policies.sikuli 12/14/2011 04:36 PMDIR add_claim_policy.sikuli 12/14/2011 12:58 PMDIR add_data_class_levels.sikuli 12/14/2011 12:57 PMDIR add_delegations.sikuli 12/15/2011 03:25 PMDIR add_password_policies.sikuli 12/09/2011 04:16 PM35,283 add_workflow.skl 12/13/2011 01:19 PMDIR add_workflows.sikuli 12/20/2011 03:11 PMDIR images.sikuli 12/14/2011 12:26 PMDIR nav_menu.sikuli 12/13/2011 01:27 PMDIR reset_arms.sikuli 12/14/2011 12:54 PMDIR run_all.sikuli 12/08/2011 04:17 PM 1,234 run_all.skl 12/06/2011 09:46 AMDIR testarray.sikuli 12/20/2011 03:11 PMDIR uc1.sikuli 12/20/2011 03:11 PMDIR uc1_sc1.sikuli 12/20/2011 03:11 PMDIR uc1_sc1_tc1.sikuli 2 File(s) 36,517 bytes 19 Dir(s) 251,020,763,136 bytes free -- 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 #183032]: SOLVED: uc1.sikuli calls uc1_sc1.sikuli calls uc1_sc1_tc1.sikuli calls actm_delegation1.sikuli
Question #183032 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/183032 Summary changed to: SOLVED: uc1.sikuli calls uc1_sc1.sikuli calls uc1_sc1_tc1.sikuli calls actm_delegation1.sikuli Description changed to: [[[SOLVED:]]] Apparently, the .html and .py files in the folder were saved as ACTM1_DELEGATION instead of ACTM_DELEGATION1, even though the containing folder was the correct name. Not sure how that happened, but it did. [[[SOLVED:]]] I have 4 scripts where one calls another, nested. uc1.sikuli --- from sikuli import * uc_path = c:\\Users\\\\Documents\\sikuli if not uc_path in sys.path: sys.path.append(uc_path) print uc_path print uc1 import uc1_sc1 --- uc1_sc1.sikuli --- from sikuli import * print uc1_sc1 import uc1_sc1_tc1 --- uc1_sc1_tc1.sikuli --- from sikuli import * print uc1_sc1_tc1 from actm_delegation1 import * --- actm_delegation1.sikuli --- from sikuli import * isLoggedIn = False isMobileInGAL = False isMobileOnMy = False def addMobileToDelegation(): # Add mobile phone number to My Profile # Show in details, Allow editing # login dlg = find(AccessReques.png) ... isMobileOnMy = True # Log out lo = find(1324407046794.png) lo.click(Logout.png) isLoggedIn = False --- And yet, it spits out this --- C:\Users\...\Documents\sikuli uc1 uc1_sc1 C:\Users\...\Documents\sikuli uc1_sc1_tc1 [error] Stopped [error] An error occurs at line 9 [error] Error message: Traceback (most recent call last): File C:\Users\...\AppData\Local\Temp\sikuli-tmp9068862656009163499.py, line 9, in import uc1_sc1 File C:\Program Files (x86)\Sikuli-IDE\sikuli-script.jar\Lib\sikuli\SikuliImporter.py, line 45, in load_module File C:\Program Files (x86)\Sikuli-IDE\sikuli-script.jar\Lib\sikuli\SikuliImporter.py, line 29, in _load_module ImportError: Errors in loading sikuli module: uc1_sc1 Errors in loading sikuli module: uc1_sc1_tc1 No module named actm_delegation1 - HOW TO FIX? Try adding from sikuli import * in the module. - HOW TO FIX? Try adding from sikuli import * in the module. --- Here is my file structure under the C:\\Users\\...\\Documents\\sikuli folder 12/20/2011 03:11 PMDIR . 12/20/2011 03:11 PMDIR .. 12/20/2011 03:11 PMDIR actm_delegation1.sikuli 12/14/2011 12:57 PMDIR add_applications.sikuli 12/14/2011 12:57 PMDIR add_category.sikuli 12/15/2011 03:16 PMDIR add_challenge_policies.sikuli 12/14/2011 04:36 PMDIR add_claim_policy.sikuli 12/14/2011 12:58 PMDIR add_data_class_levels.sikuli 12/14/2011 12:57 PMDIR add_delegations.sikuli 12/15/2011 03:25 PMDIR add_password_policies.sikuli 12/09/2011 04:16 PM35,283 add_workflow.skl 12/13/2011 01:19 PMDIR add_workflows.sikuli 12/20/2011 03:11 PMDIR images.sikuli 12/14/2011 12:26 PMDIR nav_menu.sikuli 12/13/2011 01:27 PMDIR reset_arms.sikuli 12/14/2011 12:54 PMDIR run_all.sikuli 12/08/2011 04:17 PM 1,234 run_all.skl 12/06/2011 09:46 AMDIR testarray.sikuli 12/20/2011 03:11 PMDIR uc1.sikuli 12/20/2011 03:11 PMDIR uc1_sc1.sikuli 12/20/2011 03:11 PMDIR uc1_sc1_tc1.sikuli 2 File(s) 36,517 bytes 19 Dir(s) 251,020,763,136 bytes free -- 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 #183032]: SOLVED: uc1.sikuli calls uc1_sc1.sikuli calls uc1_sc1_tc1.sikuli calls actm_delegation1.sikuli
Question #183032 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/183032 Status: Open = Solved Steven Altsman confirmed that the question is solved: Apparently, the .html and .py files in the folder were saved as ACTM1_DELEGATION instead of ACTM_DELEGATION1, even though the containing folder was the correct name. Not sure how that happened, but it did. -- 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 #150648]: (Chinese (Traditional)) about for loop
A question was asked in a language (Chinese (Traditional)) spoken by none of the registered Sikuli answer contacts. https://answers.launchpad.net/sikuli/+question/150648 my code : a = [ 1 , 2 , 3 , 4 ] type(str(a[3])) type(str(a[2])) type(str(a[1])) type(str(a[0])) then it will printf : 4 3 2 1 but i want to use for loop, how write this ?? -- 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 #150530]: (Chinese (Traditional)) about array
A question was asked in a language (Chinese (Traditional)) spoken by none of the registered Sikuli answer contacts. https://answers.launchpad.net/sikuli/+question/150530 hello I want printf the array output but I don't know how to use this is my code: doubleClick( ) a = [ 0 , 0 , 10 , 20 ] sleep(0.5) type(a[2]) 你好 我想要讓一個陣列跑出它裡面其中一個元素 可是我不知道語法怎麼寫 譬如 我想要讓 a= [ 0 , 0 , 10 , 20 ] 跑出第3個元素 10 下面是我的程式碼 但是跑出來卻說ERROR doubleClick( ) a = [ 0 , 0 , 10 , 20 ] sleep(0.5) type(a[2]) -- 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 #145923]: Crop, resize or modify a captured image
Question #145923 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/145923 Steven Bartel posted a new comment: Note that, simply running popen(python myscript.py) actually still runs myscript.py in the Jython environment. Specifying the version of python that you want to run fixes this, i.e. popen(path/to/python myscript.py) -- 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