Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/s/u/Sublime-Extendscript-HEAD/python27/targetIllustrator.py   Sublime-Extendscript(Download)
def main(f):
    app = Dispatch('Illustrator.Application.CS5')
    result = app.DoJavaScriptFile(f) # 执行并返回结果
    print unicode(result).encode('utf-8') # 输出结果至console
 

src/s/u/Sublime-Extendscript-HEAD/targetIllustrator.py   Sublime-Extendscript(Download)
def main(f):
    app = Dispatch('Illustrator.Application.CS5')
    result = app.DoJavaScriptFile(f) # 执行并返回结果
    print(result) # 输出结果至console