Skip to main content

osascript(applescript, flags=None) function - osascript (AppleScript) python implementation (OS X)

Project description

https://img.shields.io/badge/Language-Python-blue.svg?style=plastic https://img.shields.io/pypi/pyversions/osascript.svg https://img.shields.io/pypi/v/osascript.svg

https://api.codacy.com/project/badge/Grade/0602d537ebdd4a059139afbf07b43fc5 https://codeclimate.com/github/russianidiot/osascript.py/badges/gpa.svg https://landscape.io/github/russianidiot/osascript.py/master/landscape.svg?style=flat https://scrutinizer-ci.com/g/russianidiot/osascript.py/badges/quality-score.png?b=master

Install

`[sudo] pip install osascript`

Usage

>>> from osascript import osascript

>>> returncode,stdout,stderr = osascript(code)

Examples

>>> returncode,stdout,stderr = osascript('display dialog "42"')

Feedback github_follow github_issues

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

osascript-0.0.29.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file osascript-0.0.29.tar.gz.

File metadata

  • Download URL: osascript-0.0.29.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for osascript-0.0.29.tar.gz
Algorithm Hash digest
SHA256 f1eb66463f3d801a59ff0bc0cf60eb7fac79b88936ed70294870a7a8746414dc
MD5 c2c2bed299f9a71e26f574b4277b5607
BLAKE2b-256 136783b34a04a5d17539bd85588db8965ff9af5a86a8d7418c5aed529ea6185a

See more details on using hashes here.

Supported by

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