Sign in to follow this  
Followers 0
alfa

switched from xp to Win7 64bit

4 posts in this topic

Hello,

I have a problem with my previous scripts.

I used use a WINXP for my scritps, now i had to switch to win7. 

The first thing I tried after I setup the machine was to try to run the scripts and nope :(

This is what i try to run.

#include <IE.au3>
#include <Excel.au3>

Global $Paused
HotKeySet("{ESC}", "Terminate")
Func Terminate()
    Exit 0
EndFunc


$oIE = _IECreate("https://portal")
_IELoadWait ($oIE, 1000)
Sleep (500)
;;~ Send("{TAB 10}")
MouseClick("left", 524, 327, 1, 0) ;Username
Sleep (500)
Send("username")
sleep (50)
Send("{TAB}")
sleep (1000)
Send("pass")
sleep (50)
Send("{ENTER}")
sleep (50)
_IELoadWait ($oIE, 1000)

and this is what i get

>"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\aozben\Desktop\AutoIt3\Projects\Wip.au3"    
--> IE.au3 T3.0-1 Error from function _IELoadWait, $_IEStatus_ClientDisconnected (-2147023179, Browser has been deleted prior to operation.)
--> IE.au3 T3.0-1 Error from function _IELoadWait, $_IEStatus_InvalidObjectType ()
--> IE.au3 T3.0-1 Error from function _IELoadWait, $_IEStatus_InvalidObjectType ()
--> IE.au3 T3.0-1 Error from function _IENavigate, $_IEStatus_InvalidObjectType

I think i am going to have a lot more questions about this winxp to win7 issue, pls be patient with me :)

Thanks in advance

Alp

 

Share this post


Link to post
Share on other sites



Am i the only one that had issues with xp to 7 ? :(

Share this post


Link to post
Share on other sites

Well, on Win8 I've got no error :/ I'm not sure if it helps, but you can try to add #RequireAdmin at the top of your script.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0