Is there any way to create a copy of a Screen object?
I want to do something like this:
t=copy.deepcopy(s)
Since my code looks like this:
def gScr():
#Post: get the screen to run on
numScr = getNumberScreens()
if(numScr > 1):
sValid=0
sValid = -1
else:
return Screen(0)
s= essential.gScr()
#Region area specified
xReg = find(starImg)
yReg = find(starImg)
widthReg = 1200
heightReg = 600
t=copy.
t.setRect(xReg, yReg, widthReg, heightReg)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: