Jump to content

switched from xp to Win7 64bit


alfa
 Share

Recommended Posts

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

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...