← Back to team overview

sikuli-driver team mailing list archive

[Bug 769837] [NEW] X-1.0rc2: using paste(): Env.getClipboard() does not access real clipboard anymore

 

Public bug reported:

After using paste() the first time, Env.getClipboard() only returns the
last pasted content, no matter what the "real" clipboard may contain.

-------------------------------------------------------------------------

I'm trying to get a few lines of text into variables in a for loop using Env.getClipboard() but it only works on the first loop.
On the second loopiteration  Env.getClipboard seems to always return the last value of the first one.

I've checked the clipboard and the values are being correctly copied.

Any ideia what might be causing this? runing v. X-1.0rc2 Mac OS 10.6.7

Thanks in advance.

** Affects: sikuli
     Importance: Undecided
         Status: New

** Summary changed:

- using paste(): Env.getClipboard() does not access real clipboard anymore
+ X-1.0rc2: using paste(): Env.getClipboard() does not access real clipboard anymore

** Description changed:

+ After using paste() the first time, Env.getClipboard() only returns the
+ last pasted content, no matter what the "real" clipboard may contain.
+ 
+ -------------------------------------------------------------------------
+ 
  I'm trying to get a few lines of text into variables in a for loop using Env.getClipboard() but it only works on the first loop.
  On the second loopiteration  Env.getClipboard seems to always return the last value of the first one.
  
  I've checked the clipboard and the values are being correctly copied.
  
  Any ideia what might be causing this? runing v. X-1.0rc2 Mac OS 10.6.7
  
  Thanks in advance.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/769837

Title:
  X-1.0rc2: using paste(): Env.getClipboard() does not access real
  clipboard anymore

Status in Sikuli:
  New

Bug description:
  After using paste() the first time, Env.getClipboard() only returns
  the last pasted content, no matter what the "real" clipboard may
  contain.

  -------------------------------------------------------------------------

  I'm trying to get a few lines of text into variables in a for loop using Env.getClipboard() but it only works on the first loop.
  On the second loopiteration  Env.getClipboard seems to always return the last value of the first one.

  I've checked the clipboard and the values are being correctly copied.

  Any ideia what might be causing this? runing v. X-1.0rc2 Mac OS 10.6.7

  Thanks in advance.


Follow ups

References