Re: [Sikuli-driver] [Question #171725]: Multiple if else indent problem

2012-05-09 Thread vitalliuss
Question #171725 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/171725 vitalliuss posted a new comment: Hi aakash, I've got the same issue on Windows 7 x86, could you please specify the way to fix this? Thanks in advance, Vitali -- You received this question notific

[Sikuli-driver] [Question #189458]: Sikuli-script.dll for calling API from .NET

2012-03-02 Thread vitalliuss
New question #189458 on Sikuli: https://answers.launchpad.net/sikuli/+question/189458 Hi all, I was able to run Sikuli from Java by attaching sikuli-script.jar to Eclipse project. I'm going to make the same with C#.Net project, but this action require convertion sikuli-script.jar into dll file.

Re: [Sikuli-driver] [Question #183596]: Press SHIFT+HOME

2012-01-03 Thread vitalliuss
Question #183596 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/183596 Status: Answered => Solved vitalliuss confirmed that the question is solved: Thanks RaiMan, this solves my question. -- You received this question notification because you are a member of Sik

Re: [Sikuli-driver] [Question #183596]: Press SHIFT+HOME

2012-01-03 Thread vitalliuss
Question #183596 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/183596 vitalliuss confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact

[Sikuli-driver] [Question #183596]: Press SHIFT+HOME

2012-01-03 Thread vitalliuss
New question #183596 on Sikuli: https://answers.launchpad.net/sikuli/+question/183596 Hi, I've got an issue with pressing SHIFT+HOME combination (select all text in the line before mouse pointer). Several solutions have been checked: 1) type(KEY_SHIFT, Key.HOME) 2) type(Key.HOME, KEY_SHIFT) 3)

Re: [Sikuli-driver] [Question #172679]: App.open failed: c:\Program Files (x86)\Mozilla Firefox\firefox.exe not found

2011-09-29 Thread vitalliuss
Question #172679 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/172679 Status: Open => Answered vitalliuss proposed the following answer: Try the following path: openApp("C:\Program Files (x86)\Mozilla Firefox\\firefox.exe") -- You received this question

Re: [Sikuli-driver] [Question #172656]: calculate an age using two dates

2011-09-29 Thread vitalliuss
Question #172656 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/172656 vitalliuss posted a new comment: @RaiMan Well done, this solution seems to be best. Unfortunately ideal solution requires leap years support. For example if "now" will be set to 23th of May

Re: [Sikuli-driver] [Question #172656]: calculate an age using two dates

2011-09-28 Thread vitalliuss
Question #172656 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/172656 Status: Open => Answered vitalliuss proposed the following answer: Try this: from datetime import * d = date(1990, 5, 29) now = date.today() timedelta = now-d years = str(timedelta/365).sp

Re: [Sikuli-driver] [Question #169226]: Cyrillic sumbol in function paste()

2011-08-29 Thread vitalliuss
Question #169226 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169226 vitalliuss posted a new comment: 2 afterfriday: Looks like magic. I don't think there is a difference between licensed and unlicensed Windows. But I remember that on Windows XP there was a propert

Re: [Sikuli-driver] [Question #169226]: Cyrillic sumbol in function paste()

2011-08-29 Thread vitalliuss
Question #169226 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169226 vitalliuss posted a new comment: @RaiMan: Just told afterday that I've tried this solution on Win7 Enterprise but got same result - only question marks. If RaiMan could write cyrillic on German s

Re: [Sikuli-driver] [Question #169226]: Cyrillic sumbol in function paste()

2011-08-29 Thread vitalliuss
Question #169226 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169226 vitalliuss posted a new comment: 2 afterday: Только что пробовал на Win7 Enterprise - тот же результат, одни вопросы. Фишка с кодировками не прокатила. Если у RaiMan получилось с немецкой винды написать

Re: [Sikuli-driver] [Question #169074]: Is there a way to take snpashot during sikuli tests ?

2011-08-25 Thread vitalliuss
Question #169074 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169074 Status: Open => Answered vitalliuss proposed the following answer: Try this: import shutil import os f = capture(getBounds()) #take screenshot shutil.move(f, destination + name) #save as im

Re: [Sikuli-driver] [Question #169128]: writting to file, reading from file, string parsing in Sikuli IDE?

2011-08-25 Thread vitalliuss
Question #169128 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169128 Status: Open => Answered vitalliuss proposed the following answer: To write a file use the following: text = "some text here" f = open(filename, 'w') f.write(text) f.flush() f.cl

Re: [Sikuli-driver] [Question #168734]: use in

2011-08-23 Thread vitalliuss
Question #168734 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/168734 Status: Open => Answered vitalliuss proposed the following answer: If I understand you right there is necessity to get image x and y. Try this: image = find( ) click(image) print("X:"+s

Re: [Sikuli-driver] [Question #168895]: How to click on windows desktop icon?

2011-08-23 Thread vitalliuss
Question #168895 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/168895 Status: Open => Answered vitalliuss proposed the following answer: Maybe for demo program it is better to show how sikuli perform this task with 3-string script: wait("imgs/spotlight

Re: [Sikuli-driver] [Question #168896]: Jython or Java?

2011-08-23 Thread vitalliuss
Question #168896 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/168896 Status: Open => Answered vitalliuss proposed the following answer: I write scripts (automated tests) in jython and launching them using sikuli console runner. It's easy to use SciTE text ed

Re: [Sikuli-driver] [Question #166372]: x1.0-rc3 and Jython2.5.2

2011-08-01 Thread vitalliuss
Question #166372 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/166372 Status: Answered => Open vitalliuss is still having a problem: I've got some difficulties with replacing jython in sikuli-script.jar. After unpacking sikuli-script.jar the following folders s

Re: [Sikuli-driver] [Question #166372]: x1.0-rc3 and Jython2.5.2

2011-08-01 Thread vitalliuss
Question #166372 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/166372 vitalliuss posted a new comment: Good idea. I'll try to rebuild my 32bit jar with new Jython. Many thanks, RaiMan. -- You received this question notification because you are a member of Sikuli Dr

[Sikuli-driver] [Question #166372]: x1.0-rc3 and Jython2.5.2

2011-07-29 Thread vitalliuss
New question #166372 on Sikuli: https://answers.launchpad.net/sikuli/+question/166372 Will new release be working with Jython 2.5.2? I'm going to connect to Oracle DB and as I understand new version of Jython provides a possibility. -- You received this question notification because you are a m

Re: [Sikuli-driver] [Question #166288]: sikuli on vmware

2011-07-29 Thread vitalliuss
Question #166288 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/166288 vitalliuss proposed the following answer: I'm using Sikuli with windows xp on VWware. It works perfect. If you want script to continue running when window is minimized try to choose PCoIP conne