[Sikuli-driver] [Bug 769837] Re: [1.0] Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste()

2013-10-31 Thread Philippe Trounev
Hi Guys, The workaround for this is a custom Clipboard function using jython from java.awt import Robot from java.awt import Toolkit from java.awt.event import KeyEvent from java.awt.datatransfer import Clipboard from java.awt.datatransfer import ClipboardOwner from java.awt.datatransfer import

[Sikuli-driver] [Bug 1195259] Re: [1.0] Intermittent Problem with Paste Function in SIkuli

2013-10-31 Thread Philippe Trounev
Hello, We have resolved this bug by implementing a custom paste class. The root cause of the problem here is the Windows clipboard locking as windows locks clipboard after too many consequential uses. A way to reproduce this error is load a csv file with 1000 variables Do a simple script to

[Sikuli-driver] [Bug 1195259] Re: [1.0.1] Intermittent Problem with Paste Function in SIkuli

2013-10-31 Thread Philippe Trounev
Sure, Here you go, it still has a few bugs in it (it pastes the comma for the comma separated values, but it works fine for me) from java.awt import Robot from java.awt import Toolkit from java.awt.event import KeyEvent from java.awt.datatransfer import Clipboard from java.awt.datatransfer

[Sikuli-driver] [Question #231466]: Intermittent Problem with Paste Function in SIkuli

2013-06-27 Thread Philippe Trounev
New question #231466 on Sikuli: https://answers.launchpad.net/sikuli/+question/231466 Hello, If I run a script that loads data from a CSV, assigns text from the rows to variables and pastes the variables into certain cells of an application that I am automating , I experience an intermittent

Re: [Sikuli-driver] [Question #231466]: Intermittent Problem with Paste Function in SIkuli

2013-06-27 Thread Philippe Trounev
Question #231466 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231466 Status: Open = Solved Philippe Trounev confirmed that the question is solved: Sometimes it also mixes up data which it is pasting and pastes a value of a previously called variable over the value

Re: [Sikuli-driver] [Question #231065]: Pasting special text with special characters endcoding from CSV file

2013-06-21 Thread Philippe Trounev
Question #231065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231065 Status: Answered = Solved Philippe Trounev confirmed that the question is solved: Thank you RaiMan this works! Also if someone has to paste a large number of unicode text items from the CSV

Re: [Sikuli-driver] [Question #231065]: HowTo: Pasting non-ASCII/unicode/UTF-8 text (special endcoding) from CSV file

2013-06-21 Thread Philippe Trounev
Question #231065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231065 Status: Solved = Open Philippe Trounev is still having a problem: Hi, This is very strange, but basically, i reinstalled sikuli and the code stopped working. It does not recognize Unicode anymore

Re: [Sikuli-driver] [Question #231065]: HowTo: Pasting non-ASCII/unicode/UTF-8 text (special endcoding) from CSV file

2013-06-21 Thread Philippe Trounev
Question #231065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231065 Status: Open = Solved Philippe Trounev confirmed that the question is solved: ok, looks like it also relates to the keyboard driver (layout) in some way, when I alt shift to a different set it somehow

[Sikuli-driver] [Question #231065]: Pasting special text with special characters endcoding from CSV file

2013-06-20 Thread Philippe Trounev
New question #231065 on Sikuli: https://answers.launchpad.net/sikuli/+question/231065 Hello, When i try to import utf-8 encoded file and use paste function to paste text with special characters into a box, i get distorted special characters such as boxes, squares etc. Here is what I am doing

Re: [Sikuli-driver] [Question #229988]: How to implement Try Catch error handling in Sikuli Script

2013-06-03 Thread Philippe Trounev
Question #229988 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/229988 Status: Answered = Solved Philippe Trounev confirmed that the question is solved: Thank so much Robert, I tested it and it works. I am only using this form of exception handling as the last result

[Sikuli-driver] [Question #229988]: How to implement Try Catch error handling in Sikuli Script

2013-05-31 Thread Philippe Trounev
New question #229988 on Sikuli: https://answers.launchpad.net/sikuli/+question/229988 Hello, When I try to implement the try catch functionality in my script. Let me explain the scenario first. I have a file with data The script goes through each row of the data and dynamically populates data