mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-08-07 20:49:35 +08:00
上传一些的样例命令
This commit is contained in:
parent
872f2841bf
commit
4fab9e0da7
1
CommandCollections/html界面示例.json
Normal file
1
CommandCollections/html界面示例.json
Normal file
@ -0,0 +1 @@
|
||||
{"base64Ico":"","cmd":"<h1>这是一个标题</h1><br>\n<a href='xx'>这是一个链接</a><br>\n<h2>这还是一个标题</h2><br>","features":{"cmds":["html界面示例"],"code":"regex_2jzbdl2air0","explain":"html界面示例","icon":"logo/php.png"},"hasSubInput":false,"noKeyword":false,"output":"html","program":"php"}
|
1
CommandCollections/ping当前域名.json
Normal file
1
CommandCollections/ping当前域名.json
Normal file
@ -0,0 +1 @@
|
||||
{"base64Ico":"","cmd":"#coding:utf8\nimport os\nimport re\nhost = re.findall(r'(.*\\/\\/|^)(.*?)(:|/|$).*', \"{{BrowserUrl}}\")[0][1]\nif {{isWin}}:\n\tcmd = \"ping -n 2 %s\" %host\nelse:\n\tcmd = \"ping -c 2 %s\" %host\nprint os.popen(cmd).read()","features":{"cmds":[{"label":"ping当前域名","match":{"app":"/chrome|iexplore|safari/i"},"type":"window"}],"code":"window_2kkl16x3wug","explain":"ping当前域名","icon":"logo/python.png"},"hasSubInput":false,"noKeyword":true,"output":"text","program":"python"}
|
@ -1 +0,0 @@
|
||||
{"base64Ico":"","cmd":"$url = ((\"{{BrowserUrl}}\" -split \"//\")[-1] -split \":\")[0]\nping -n 2 $url","features":{"cmds":[{"label":"ping当前域名","match":{"app":"/chrome|msedge|iexplore/i"},"type":"window"}],"code":"window_2kkl16x3wug","explain":"ping当前域名","icon":"logo/powershell.png"},"hasSubInput":false,"noKeyword":true,"output":"text","program":"powershell"}
|
File diff suppressed because one or more lines are too long
1
CommandCollections/窗口信息.json
Normal file
1
CommandCollections/窗口信息.json
Normal file
@ -0,0 +1 @@
|
||||
{"base64Ico":"","cmd":"#coding:utf8\nimport json\nprint json.loads('''{{WindowInfo}}'''.replace('\\\\', '\\\\\\\\'))","features":{"cmds":[{"label":"窗口信息","match":{"app":"/.*?/"},"type":"window"}],"code":"window_1jqv4x7tbtj","explain":"窗口信息","icon":"logo/python.png"},"hasSubInput":false,"noKeyword":true,"output":"text","program":"python"}
|
@ -1 +1 @@
|
||||
{"base64Ico":"","cmd":"{{input}}","features":{"cmds":[{"label":" 计算器","match":"/^[0-9+\\-*/%^]*$/","minNum":1,"type":"regex"}],"code":"key_bmu5bjsykw","explain":" 计算器","icon":"logo/powershell.png"},"hasSubInput":false,"noKeyword":true,"output":"text","program":"powershell"}
|
||||
{"base64Ico":"","cmd":"print({{input}})","features":{"cmds":[{"label":" 计算器","match":"/^[0-9+\\-*/%.xb^]*$/","minNum":1,"type":"regex"}],"code":"key_bmu5bjsykw","explain":" 计算器","icon":"logo/python.png"},"hasSubInput":false,"noKeyword":true,"output":"text","program":"python"}
|
Loading…
x
Reference in New Issue
Block a user