and*_*rsg 6 php macos applescript get
我使用Hazel在我的Mac上组织下载的文件.我看到每次触发规则时我都可以让它运行applescripts.
我想知道是否有可能让它发送如下:
http://my.server.com?type=Show&name=Big+Bang+Theory
然后我可以创建一个记录所有下载的小页面.
reg*_*633 13
当然,命令行实用程序curl是一种方式.Applescripts可以使用命令行实用程序和"do shell script"命令.所以试试这个......
set theURL to "http://my.server.com?type=Show&name=Big+Bang+Theory"
do shell script "curl " & quoted form of theURL
Run Code Online (Sandbox Code Playgroud)
以上将页面结果返回到applescript.也许您只想在默认浏览器中打开链接...
set theURL to "http://my.server.com?type=Show&name=Big+Bang+Theory"
open location theURL
Run Code Online (Sandbox Code Playgroud)
所以请你选择!
| 归档时间: |
|
| 查看次数: |
7270 次 |
| 最近记录: |