← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #245098]: How to get text extract text from Clipboard?

 

Question #245098 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/245098

    Status: Answered => Open

jeff radom is still having a problem:
Env method shows deprecated in my Java project. I use a Mac and my Java code in Eclipse looks like:
			s.doubleClick ("unit_200.png");
			s.type("c", Key.CMD);
			Thread.sleep(3000);
			String lineUnitPrice;
			lineUnitPrice = App.getClipboard();

A string on a Browser window is located but lineUnitPrice always empty
or sometimes keep a value from previous runs.  I've tried many other
ways but still cannot get Clipboard values which I need for assertions

Thanks

Jeff

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.