-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
贡献个mac的applescript脚本,实现自动点击试用按钮 #28
Comments
感觉有点麻烦,我加了个command脚本,试试看 |
这个脚本主要是为了自动点击试用按钮,跳过人工点击。 |
我这里没运行成功 |
提示啥呢?需要跟 navicat.scpt 与 reset_navicat.sh 同目录,给 reset_navicat.sh 分配可执行权限,chmod 777 reset_navicat.sh , 在终端cd到该目录,osascript navicat.scpt mac会提示终端申请辅助功能,打开后,再次执行,一般就可以了(需要把navicat进程退出后再点,否则会报错) |
告诉我navicat试用已经结束,而我已经运行脚本并且在安全性隐私中的辅助功能将navicat 添加进去了。 |
这个脚本很简单,就是模拟鼠标点击 |
大伙的navicat卡顿吗,我的m2 用 navicat perimum 16 感觉好卡 |
先分配权限
chmod 777 ./reset_navicat.sh
保存为
navicat.scpt
与reset_navicat.sh
同目录osascript navicat.scpt
会提示获取辅助功能权限,去系统里允许就行了。
再次执行
osascript navicat.scpt
The text was updated successfully, but these errors were encountered: