Skip to main content

macOS Opera.app scripts

Project description

Installation

$ [sudo] pip install mac-opera

Config

$ export OPERA_TIMEOUT=10 # 5 by default

Scripts usage

command usage
opera usage: opera command [args]
opera-close usage: opera-close url ...
opera-frontmost usage: opera-frontmost
opera-fullscreen-detect usage: opera-fullscreen-detect
opera-fullscreen-enter usage: opera-fullscreen-enter
opera-fullscreen-exit usage: opera-fullscreen-exit
opera-isready usage: opera-isready timeout
opera-kill usage: opera-kill
opera-open usage: opera-open url ...
opera-pid usage: opera-pid
opera-refresh usage: opera-refresh url ...
opera-url usage: opera-url
opera-urls usage: opera-urls

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

python-readme-generator

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 2019.7.11
Filename, size & hash File type Python version Upload date
mac-opera-2019.7.11.tar.gz (4.0 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page