def useRemote(adr, port=0): global remoteScreen import org.sikuli.script.ScreenRemote as SR SCREEN = SR(adr, str(port)) if SCREEN.isValid(): return use(SCREEN, True) else: return None
def useRemote(adr, port = 0): global remoteScreen import org.sikuli.script.ScreenRemote as SR SCREEN = SR(adr, str(port)) if SCREEN.isValid(): return use(SCREEN, True) else: return None