本文整理汇总了Python中org.sikuli.script.Screen.all方法的典型用法代码示例。如果您正苦于以下问题:Python Screen.all方法的具体用法?Python Screen.all怎么用?Python Screen.all使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.sikuli.script.Screen
的用法示例。
在下文中一共展示了Screen.all方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: reset
# 需要导入模块: from org.sikuli.script import Screen [as 别名]
# 或者: from org.sikuli.script.Screen import all [as 别名]
def reset():
JScreen.resetMonitors();
use();
ALL = JScreen.all()
示例2: dir
# 需要导入模块: from org.sikuli.script import Screen [as 别名]
# 或者: from org.sikuli.script.Screen import all [as 别名]
]
# Debug.log(3, "Sikuli: _exposeAllMethods: %s called from: %s", anyObject, theGlobals['__name__'])
tosave = []
if not saved:
saved = []
for name in dir(anyObject):
if name in exclude_list: continue
try:
if not inspect.ismethod(getattr(anyObject, name)): continue
except:
continue
if name[0] != '_' and name[:7] != 'super__':
try:
saved.remove(name)
except:
pass
tosave.append(name)
# print "added:", name
theGlobals[name] = eval("anyObject." + name)
if name == 'checkWith': Debug.log(3, "%s %s", name, str(dict[name])[1:])
for name in saved:
if name in theGlobals:
# print "removed:", name
theGlobals.pop(name)
return tosave
############### set SCREEN as primary screen at startup ################
use()
ALL = JScreen.all().getRegion()
Debug.log(3, "Jython: sikuli: Sikuli: ending init")
示例3: dir
# 需要导入模块: from org.sikuli.script import Screen [as 别名]
# 或者: from org.sikuli.script.Screen import all [as 别名]
#Debug.log(3, "Sikuli: _exposeAllMethods: %s called from: %s", anyObject, theGlobals['__name__'])
tosave = []
if not saved:
saved = []
for name in dir(anyObject):
if name in exclude_list: continue
try:
if not inspect.ismethod(getattr(anyObject,name)): continue
except:
continue
if name[0] != '_' and name[:7] != 'super__':
try:
saved.remove(name)
except:
pass
tosave.append(name)
#print "added:", name
theGlobals[name] = eval("anyObject."+name)
if name == 'checkWith': Debug.log(3, "%s %s", name, str(dict[name])[1:])
for name in saved:
if name in theGlobals:
#print "removed:", name
theGlobals.pop(name)
return tosave
############### set SCREEN as primary screen at startup ################
use()
ALL = JScreen.all()
Debug.log(3, "Jython: sikuli: Sikuli: ending init")
示例4: all
# 需要导入模块: from org.sikuli.script import Screen [as 别名]
# 或者: from org.sikuli.script.Screen import all [as 别名]
def all(cls):
return JScreen.all()