print the copied content by env.getclipboard noe working
Bug #1480058 reported by
saravanan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Invalid
|
Undecided
|
Unassigned |
Bug Description
regx=Region(
doubleClick(regx)
type("a",KEY_CMD)
type("c",KEY_CMD)
var= Env.getClipboard()
print(var)
i need the output the selected content which was copied eg content is "1234" i have select and copied and get that in Env.getClipboard() and if i print that it should return 1234 as output . but iam getting output "Env.getClipBoa
iam using sikuli 1.01 linux system
please suggest
thank you
To post a comment you must log in.
I suggest asking your question in the users forum before raising a defect.
First of all, read the documentation (or other questions in the user forum) carefully. The key combination that you need to execute should be:
type("a", KeyModifier.CTRL)
type("c", KeyModifier.CTRL)
Second, in latest version of Sikuli, Env.getClipboard() is deprecated. App.getClipboard() should be used instead.