更具体地说:http://colejohnsoncreative.com/personal/ai/currentdegree.php
我想拉该数字(我的城市中的当前温度),并将其显示在对话框中,或者让我的计算机说出来。我想拥有这样的东西:
Say "是 CurrentDegree "
当前温度将被说。
我被告知使用 curl ,但我似乎找不到太多信息。
您可以使用 curl
unix命令下载您的网页:
property theURL : "http://colejohnsoncreative.com/personal/ai/currentdegree.php"
set theValue to do shell script "curl " & theURL
display dialog theValue buttons {"OK"} default button "OK"