我實際將檔名改成 .exe, 就是無法執行 >_<
(應該是執行環境不同...不然就是我的電腦有問題...)
撇開程式碼的種類不談...
以下是我寫 vbscript 的寫法 (用記事本,填入下列資料,然後直接改名為 xxx.vbs ) 就可以執行了...
------------------------------------
set IE = WScript.CreateObject("InternetExplorer.Application")
IE.ToolBar = true
IE.StatusBar = true
IE.Resizable = true
IE.Width = 640
IE.Height = 480
IE.Visible = True '開啟IE...
IE.Navigate "http://www.atlaspost.com/farm.php?id=10490"
Do
Loop While IE.Busy
msgbox("第1個")
IE.Navigate "http://www.atlaspost.com/farm.php?id=38577"
Do
Loop While IE.Busy
msgbox("第2個")
IE.Navigate "http://www.atlaspost.com/farm.php?id=243"
Do
Loop While IE.Busy
msgbox("第3個")
IE.Navigate "http://blog.xuite.net/eoe888/H"
Do
Loop While IE.Busy
msgbox("第4個")
IE.Visible = false '隱藏IE(關閉)
------------------------------------
