Skip to main content

macOS Opera.app scripts

Project description

Installation

$ [sudo] pip install mac-opera
$ [sudo] npm i -g mac-opera

Config

$ export OPERA_TIMEOUT=10 # 5 by default

Examples

url(s)

$ opera urls
https://github.com/
https://google.com/
$ opera url
https://github.com/

open/refresh

$ opera open "https://github.com/" "https://google.com/"
$ opera refresh "https://github.com/"

fullscreen

$ opera fullscreen-enter
$ opera fullscreen-detect
1
$ opera fullscreen-exit

frontmost (1 or 0)

$ opera frontmost
0

Opera.app process

$ opera pid
42
$ opera isready 5 # timeout 5 seconds
1
$ opera kill

readme42.com

Project details


Download files

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

Files for mac-opera, version 2020.12.3
Filename, size File type Python version Upload date Hashes
Filename, size mac-opera-2020.12.3.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page