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
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
mac-opera-2019.7.11.tar.gz
(4.0 kB
view hashes)