Skip to main content

run applescript

Project description


$ [sudo] pip install applescript


>>> import applescript
>>> r ='return 1')
>>> r ='path/to/file.applescript')

>>> r.code
>>> r.out
'hello world'
>>> r.err

tell application "appname"

>>>"Terminal",'do script "ls"')
>>>"Terminal",'do script "ls"',background=True)

javascript (JXA)


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

applescript-2021.2.9.tar.gz (2.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page