[Sikuli-driver] [Bug 769837] Re: X-1.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste()
Just want to add that this issue is affecting my scripts as well. -- 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.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste() Status in Sikuli: In Progress Bug description: --1. I use Interactive Sikuli Jython Session to do all this, if I relaunch it and check Env.getClipboard it has the new content. So it seems like Env.getClipboard only gets updated at the start. --2. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/769837/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 769837] Re: X-1.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste()
** Changed in: sikuli Milestone: x1.0 => x1.1 -- 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.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste() Status in Sikuli: In Progress Bug description: --1. I use Interactive Sikuli Jython Session to do all this, if I relaunch it and check Env.getClipboard it has the new content. So it seems like Env.getClipboard only gets updated at the start. --2. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/769837/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 769837] Re: X-1.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste()
** Changed in: sikuli Importance: Undecided => High -- 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.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste() Status in Sikuli: In Progress Bug description: --1. I use Interactive Sikuli Jython Session to do all this, if I relaunch it and check Env.getClipboard it has the new content. So it seems like Env.getClipboard only gets updated at the start. --2. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/769837/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 769837] Re: X-1.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste()
** Tags added: fkt-paste -- 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.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste() Status in Sikuli: In Progress Bug description: --1. I use Interactive Sikuli Jython Session to do all this, if I relaunch it and check Env.getClipboard it has the new content. So it seems like Env.getClipboard only gets updated at the start. --2. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/769837/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 769837] Re: X-1.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste()
** Changed in: sikuli Status: New => In Progress ** Changed in: sikuli Assignee: (unassigned) => RaiMan (raimund-hocke) ** Changed in: sikuli Milestone: None => x1.0 -- 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.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste() Status in Sikuli: In Progress Bug description: --1. I use Interactive Sikuli Jython Session to do all this, if I relaunch it and check Env.getClipboard it has the new content. So it seems like Env.getClipboard only gets updated at the start. --2. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/769837/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 769837] Re: X-1.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste()
I am having the same issue. Would this issue be fixed, anytime soon ? -- 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.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste() Status in Sikuli: New Bug description: --1. I use Interactive Sikuli Jython Session to do all this, if I relaunch it and check Env.getClipboard it has the new content. So it seems like Env.getClipboard only gets updated at the start. --2. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/769837/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 769837] Re: X-1.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste()
Env.getClipboard() will get what was last copied in the IDE and will not change. The waits are not strictly necessary in the code below, but I was just making sure that I was not running into a race condition. To reproduce: 1. create an image around a text box that has text in it for clickPattern 2. in the sikuli IDE copy some text from below such as clickPattern. 3. run the below code sikuli will print: bug:clickPattern instead of bug:text from step 1 if use cmd-v in any editor will be the correct text from step 1 click(clickPattern) type("a",KEY_CMD) wait(1) type("c",KEY_CMD) wait(1) print "bug:" + str(Env.getClipboard()) -- 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.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste() Status in Sikuli: New Bug description: --1. I use Interactive Sikuli Jython Session to do all this, if I relaunch it and check Env.getClipboard it has the new content. So it seems like Env.getClipboard only gets updated at the start. --2. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/769837/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 769837] Re: X-1.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste()
I was running into similar problems yesterday on OSX. I was not doing any pasting. What I was noticing when this was happening was not that Env.getClipboard() was failing to update to the new contents of the clipboard, but in fact somehow Sikuli was keeping the clipboard from working. When it got into this mode copy and pasting from one app to another was not working until I exited the IDE. I could select text in an app, hit CMD-C, and try to paste into another app and it would paste the clipboard before I hit copy. But, unfortunately I can not reproduce this behavior today. -- 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.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste() Status in Sikuli: New Bug description: --1. I use Interactive Sikuli Jython Session to do all this, if I relaunch it and check Env.getClipboard it has the new content. So it seems like Env.getClipboard only gets updated at the start. --2. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/769837/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 769837] Re: X-1.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste()
** Summary changed: - X-1.0rc2: using paste(): Env.getClipboard() does not access real clipboard anymore + X-1.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste() ** Description changed: - After using paste() the first time, Env.getClipboard() only returns the - last pasted content, no matter what the "real" clipboard may contain. + --1. I use Interactive Sikuli Jython Session to do all this, if I + relaunch it and check Env.getClipboard it has the new content. So it + seems like Env.getClipboard only gets updated at the start. + + --2. 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.0rc3: Env.getClipboard() seems to work only once and does not access real clipboard anymore after using paste() Status in Sikuli: New Bug description: --1. I use Interactive Sikuli Jython Session to do all this, if I relaunch it and check Env.getClipboard it has the new content. So it seems like Env.getClipboard only gets updated at the start. --2. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/769837/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp