← 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

RaiMan proposed the following answer:
@obiwan
he is on Mac, so
s.type("c", Key.CMD)

is ok.

I guess a wait could help:

   s.doubleClick ("unit_200.png");
   s.wait(1);
   s.type("c", Key.CMD);
   s.wait(1);
   String lineUnitPrice;
   lineUnitPrice = App.getClipboard();

seems to be a typical situation where the GUI needs some time to get
ready again.

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