示例#1
0
def parseapp(path, style='appscript'):
	sdef = copyscriptingdefinition(path)
	if sdef is None:
		raise RuntimeError, "Can't get sdef (requires OS 10.4+)."
	return parsexml(sdef, path, style)
示例#2
0
def parseapp(path, style='appscript'):
	sdef = copyscriptingdefinition(path)
	return parsexml(sdef, path, style)
示例#3
0
def parseapp(path, style='appscript'):
    sdef = copyscriptingdefinition(path)
    if sdef is None:
        raise RuntimeError, "Can't get sdef (requires OS 10.4+)."
    return parsexml(sdef, path, style)