[Sikuli-driver] [Question #268017]: How do I get my environment variables in sikuli?

2015-06-11 Thread Steven
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

Re: [Sikuli-driver] [Question #268016]: array of numeric values

2015-06-11 Thread retano
Question #268016 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268016 retano posted a new comment: forgive my noobiness ) could you specify the code how to initialize the array/list and write to it (or point the docs)? I also have to mention, that I need to write 2 values for

Re: [Sikuli-driver] [Question #268016]: array of numeric values

2015-06-11 Thread RaiMan
Question #268016 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268016 RaiMan proposed the following answer: ok, the 1st loop needs some termination condition if shouldTerminate: # evaluate wether you should terminate the loop break # leave the loop -- You received this

Re: [Sikuli-driver] [Question #268016]: array of numeric values

2015-06-11 Thread RaiMan
Question #268016 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268016 Status: Open = Answered RaiMan proposed the following answer: values = [] # empty list while True: # collection loop # click and select next value on page type(c, Key.CTRL) # copy to clipboard

[Sikuli-driver] [Question #268015]: Feature request: actions to go directly to clipboard

2015-06-11 Thread Zeks
New question #268015 on Sikuli: https://answers.launchpad.net/sikuli/+question/268015 As I go further away from running most scripts in Sikuli IDE I've realized that the only activity it is superior for is taking screenshots wrapped in waitFor, click, exists etc... Now that I realized it, it

Re: [Sikuli-driver] [Question #268015]: Feature request: actions to go directly to clipboard

2015-06-11 Thread RaiMan
Question #268015 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268015 Status: Open = Answered RaiMan proposed the following answer: Thanks for the idea. made it a request bug. Not sure, wether it will be available already in 1.1.0 final. simply watch out for changes on

[Sikuli-driver] [Question #268016]: array of numeric values

2015-06-11 Thread retano
New question #268016 on Sikuli: https://answers.launchpad.net/sikuli/+question/268016 Hello, I have a webpage with set of numeric values (~400) and I have to copy these values into Excel. What I'd like to do is create an array, copy all those values, evaluate them as numeric, then open Excel

Re: [Sikuli-driver] [Question #268015]: Feature request: actions to go directly to clipboard

2015-06-11 Thread RaiMan
Question #268015 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268015 Linked to bug: #1464209 https://bugs.launchpad.net/bugs/1464209 [request] IDE: generated actions/commands should also be copied to clipboard, to be available for pasting into other IDE's --

[Sikuli-driver] [Question #268015]: Status of bug #1464209 changed to 'In Progress' in Sikuli

2015-06-11 Thread RaiMan
Bug #1464209 status changed in Sikuli: New = In Progress https://bugs.launchpad.net/sikuli/+bug/1464209 [request] IDE: generated actions/commands should also be copied to clipboard, to be available for pasting into other IDE's This bug is linked to #268015. Feature request: actions to go

Re: [Sikuli-driver] [Question #268016]: array of numeric values

2015-06-11 Thread RaiMan
Question #268016 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268016 RaiMan requested more information: possible to have a live look at the page? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #268016]: array of numeric values

2015-06-11 Thread RaiMan
Question #268016 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268016 Status: Open = Answered RaiMan proposed the following answer: You might try the Region.text() function. ... but this is not really a job for SikuliX. What about accessing the page content directly

[Sikuli-driver] [Bug 1463866] Re: Sikuli 1.1.0 tries to close my IDE

2015-06-11 Thread Pierre Best
Reproduces with 1.1.0-20150610 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1463866 Title: Sikuli 1.1.0 tries to close my IDE Status in Sikuli: New Bug description: IntelliJ IDEA

[Sikuli-driver] [Bug 1463866] Re: Sikuli 1.1.0 tries to close my IDE

2015-06-11 Thread Pierre Best
def start_app(path_to_app, window_title): p = os.path.normpath(path_to_app) if not os.path.exists(p): die('cannot find %s: expected - %s' % (window_title, p)) app = App.open(p) if not app: die('cannot start %s' % window_title) ... then more stuff that waits for the

Re: [Sikuli-driver] [Question #268016]: array of numeric values

2015-06-11 Thread retano
Question #268016 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268016 Status: Answered = Open retano is still having a problem: . -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #267998]: Push/Pop and addImagePath

2015-06-11 Thread Zeks
Question #267998 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267998 Zeks posted a new comment: Hm, but what will happen if the image name is in someContext.sikuli, but the actual search function is in entirely separate module? I usually do stuff like

[Sikuli-driver] [Bug 1464207] Re: IDE deleting screenshots is undesirable behaviour.

2015-06-11 Thread RaiMan
the so called not-used-images are only deleted when the script is saved. You might switch off the behaviour: Preferences - more options - delete not used images (at top) ** Changed in: sikuli Status: New = Invalid -- You received this bug notification because you are a member of Sikuli

Re: [Sikuli-driver] [Question #267998]: Push/Pop and addImagePath

2015-06-11 Thread RaiMan
Question #267998 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267998 RaiMan proposed the following answer: Image names not given as absolute path will always be searched on the current image path, where the current bundle path (main script) will always be the first entry.

[Sikuli-driver] [Bug 1464209] [NEW] [request] IDE: generated actions/commands should also be copied to clipboard, to be available for pasting into other IDE's

2015-06-11 Thread RaiMan
Public bug reported: As I go further away from running most scripts in Sikuli IDE I've realized that the only activity it is superior for is taking screenshots wrapped in waitFor, click, exists etc... Now that I realized it, it turns out that what I REALLY want is to copy the text appearing in

Re: [Sikuli-driver] [Question #267998]: Push/Pop and addImagePath

2015-06-11 Thread Zeks
Question #267998 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267998 Zeks posted a new comment: Kinda related to that: I want some selector in the ide where I can (with 1 click) choose from a set of directories one that is currently used to save screenshots. Say, I want to

[Sikuli-driver] [Bug 1463866] Re: Sikuli 1.1.0 tries to close my IDE

2015-06-11 Thread RaiMan
ok, thanks. How did you create the App instance? -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1463866 Title: Sikuli 1.1.0 tries to close my IDE Status in Sikuli: New Bug description:

Re: [Sikuli-driver] [Question #268016]: array of numeric values

2015-06-11 Thread RaiMan
Question #268016 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268016 Status: Open = Answered RaiMan proposed the following answer: then you should just loop a around the collection and store the values in an intermediate array/list or map. To then get the values into an

Re: [Sikuli-driver] [Question #268017]: How do I get my environment variables in sikuli?

2015-06-11 Thread RaiMan
Question #268017 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268017 Status: Open = Needs information RaiMan requested more information: What system? just tested on Windows 8: - before running: set SOMEVAR=TEST - runsikulix.cmd - print os.environ[SOMEVAR] works and

Re: [Sikuli-driver] [Question #268016]: array of numeric values

2015-06-11 Thread retano
Question #268016 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268016 Status: Answered = Open retano is still having a problem: the problem is that values are not presented all at one time - I have to click, select etc and then again. -- You received this question

Re: [Sikuli-driver] [Question #268016]: array of numeric values

2015-06-11 Thread retano
Question #268016 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268016 retano posted a new comment: I cannot provide live link, it is some sort of mail account. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact

[Sikuli-driver] [Question #268022]: How to enable full error traceback

2015-06-11 Thread Chp
New question #268022 on Sikuli: https://answers.launchpad.net/sikuli/+question/268022 Hi RaiMan. Here is my code: http://joxi.ru/XYmEg7MiBvzyA6 __ # coding=utf-8 import sys from os.path import dirname from os import putenv from sikuli.Sikuli import

Re: [Sikuli-driver] [Question #268022]: How to enable full error traceback

2015-06-11 Thread Chp
Question #268022 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268022 Chp gave more information on the question: example in run my script: # coding=utf-8 import sys from os.path import dirname from os import putenv from sikuli.Sikuli import getBundlePath TEST_DIR =

[Sikuli-driver] [Bug 1464277] Re: [request] Gui element for IDE to allow quick selection of screenshot folder

2015-06-11 Thread RaiMan
** Changed in: sikuli Status: New = In Progress ** Changed in: sikuli Importance: Undecided = High ** Changed in: sikuli Assignee: (unassigned) = RaiMan (raimund-hocke) ** Changed in: sikuli Milestone: None = 2.0.0 -- You received this bug notification because you are a

Re: [Sikuli-driver] [Question #268022]: How to enable full error traceback

2015-06-11 Thread RaiMan
Question #268022 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268022 Status: Open = Answered RaiMan proposed the following answer: ok, then my suggestion makes no sense (you would have to change too many things in your coding). I will have a look, wether I can add a

[Sikuli-driver] [Bug 1464277] [NEW] [request] Gui element for IDE to allow quick selection of screenshot folder

2015-06-11 Thread Zeks
Public bug reported: Any serious project will have its screenshot database structured in some way. Currently, the application can only take screenshots into the current script's folder which is not very convenient and requires excessive copy/pasting of taken images into different folders. As I

Re: [Sikuli-driver] [Question #268022]: How to enable full error traceback

2015-06-11 Thread Chp
Question #268022 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268022 Status: Answered = Open Chp is still having a problem: I try to run as you say, and I have everything working, I changed a lot of things to upgrade to version 1.1. I understand I just need to do at the

[Sikuli-driver] [Bug 1444325] Re: [1.1.0] Mac OSX 10.10: IDE Search feature not available (compatibility problems)

2015-06-11 Thread HAL-9000
Out of curiosity, what is the incompatible library? Digging around in Sikuli, it would appear MacUtil to be most likely offender. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1444325 Title:

Re: [Sikuli-driver] [Question #268022]: How to enable full error traceback

2015-06-11 Thread Chp
Question #268022 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268022 Status: Answered = Open Chp is still having a problem: I run skript from command line: D:\\Distributiv\\Sikuli\\Sikuli1.1\\runsikulix.cmd, -r, script_path, --args, home=1,eoe=1, I work in IntelliJ

Re: [Sikuli-driver] [Question #268022]: How to enable full error traceback

2015-06-11 Thread RaiMan
Question #268022 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268022 Linked to bug: #1464225 https://bugs.launchpad.net/bugs/1464225 [1.1.0] IDE: Jython: exception trace not complete/accessible -- You received this question notification because you are a member

[Sikuli-driver] [Bug 1464225] [NEW] [1.1.0] IDE: Jython: exception trace not complete/accessible

2015-06-11 Thread RaiMan
Public bug reported: Hi RaiMan. Here is my code: http://joxi.ru/XYmEg7MiBvzyA6 __ # coding=utf-8 import sys from os.path import dirname from os import putenv from sikuli.Sikuli import getBundlePath TEST_DIR = dirname(dirname(dirname(getBundlePath(

Re: [Sikuli-driver] [Question #268022]: How to enable full error traceback

2015-06-11 Thread RaiMan
Question #268022 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268022 Status: Open = Answered RaiMan proposed the following answer: made it a bug for now. not sure when I will fix it. meanwhile you should run your scripts from command line. java -cp sikulix.jar

Re: [Sikuli-driver] [Question #267998]: Push/Pop and addImagePath

2015-06-11 Thread RaiMan
Question #267998 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267998 Status: Open = Answered RaiMan proposed the following answer: With Python scripting and SikuliX, the smoothest way to organise your images is the following: what you name a context can be a module

Re: [Sikuli-driver] [Question #267998]: Push/Pop and addImagePath

2015-06-11 Thread RaiMan
Question #267998 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267998 RaiMan posted a new comment: to address your question: I do not understand the difference between a combination of addImagePath/removeImagePath and glPushContext/glPopContext. in both cases you have to say

[Sikuli-driver] [Bug 1464105] Re: [1.1.0] Jython 2.7: urllib.FancyURLopener only works the first time after import urllib

2015-06-11 Thread RaiMan
for such special Python/Jython module problems you have to go to the Jython homepage and look out for a solution or bug report. ** Summary changed: - when I use Python package to post some message, it'll throw exception + [1.1.0] Jython 2.7: urllib.FancyURLopener only works the first time after

Re: [Sikuli-driver] [Question #267957]: I am new on sikuli and started using sikuli as project requirement.PLease tell me any advance sikuli tutorial website

2015-06-11 Thread RaiMan
Question #267957 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267957 RaiMan proposed the following answer: @Zeks -- Abstract away interface elements such as buttons and table cells again good point. to better support such solutions is on the list for version 2 ... but

[Sikuli-driver] [Bug 1462935] Re: [1.1.0] Only recognise two monitors --- fixed 2015-06-09+

2015-06-11 Thread RaiMan
apparently not yet fixed, sorry. Since I do not have any chance, to test with more than 2 monitors, I would highly appreciate, if you test again with tomorrows build. I will add some more debug info. Then you only need to post the section * show environment for IDE (build ...) *