macos opera.app脚本
mac-opera的Python项目详细描述
安装
$ [sudo] pip install mac-opera
配置
$ exportOPERA_TIMEOUT=10# 5 by default
脚本使用
$ exportOPERA_TIMEOUT=10# 5 by default
脚本使用
command | ^{ |
---|---|
^{ | ^{ |
^{ | ^{ |
^{ | ^{ |
^{ | ^{ |
^{ | ^{ |
^{ | ^{ |
^{ | ^{ |
^{ | ^{ |
^{ | ^{ |
^{ | ^{ |
^{ | ^{ |
^{ | ^{ |
^{ | ^{ |
示例
网址
$ opera urls https://github.com/ https://google.com/ $ opera url https://github.com/
打开/刷新
$ opera open "https://github.com/""https://google.com/" $ opera refresh "https://github.com/"
全屏
$ opera fullscreen-enter
$ opera fullscreen-detect
1
$ opera fullscreen-exit
最前面(1
或0
)
$ opera frontmost
0
Opera.app
过程
$ opera pid 42 $ opera isready 5# timeout 5 seconds1 $ opera kill