smita Posted November 16, 2007 Share Posted November 16, 2007 #include <IE.au3> $oIE = _IECreate ("http://www.pelco.com/",0,1,1) It's not opening the page in maximum size (1024by768) & that's why facing the problem in running the scirpt. Can anyone tell me how to reslove this issue? There is one function @SW_MAXIMIZE but I don't know how to use this? Link to comment Share on other sites More sharing options...
Ranmaru Posted November 16, 2007 Share Posted November 16, 2007 #include <IE.au3>$oIE = _IECreate ("http://www.pelco.com/",0,1,1)It's not opening the page in maximum size (1024by768) & that's why facing the problem in running the scirpt.Can anyone tell me how to reslove this issue? There is one function @SW_MAXIMIZE but I don't know how to use this?@SW_MAXIMIZE is not a function, but a macro.Try the WinSetState function. You can use the @SW_MAXIMIZE macro with the WinSetState function. Link to comment Share on other sites More sharing options...
rasim Posted November 16, 2007 Share Posted November 16, 2007 #include <IE.au3> $oIE = _IECreate ("http://www.pelco.com/",0,1,1) It's not opening the page in maximum size (1024by768) & that's why facing the problem in running the scirpt. Can anyone tell me how to reslove this issue? There is one function @SW_MAXIMIZE but I don't know how to use this? #include <IE.au3> $oIE = _IECreate ("http://www.pelco.com/",0,1,1) $WinArray = WinList("[CLASS:IEFrame]") For $i = 1 To $WinArray[0][0] WinSetState($WinArray[$i][1], "", @SW_MAXIMIZE) Next Link to comment Share on other sites More sharing options...
BrettF Posted November 16, 2007 Share Posted November 16, 2007 _IEPropertySet () Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
smita Posted November 16, 2007 Author Share Posted November 16, 2007 #include <IE.au3> $oIE = _IECreate ("http://www.pelco.com/",0,1,1) $WinArray = WinList("[CLASS:IEFrame]") For $i = 1 To $WinArray[0][0] WinSetState($WinArray[$i][1], "", @SW_MAXIMIZE) Next Hi,Thanks It's working with WinSetState("","",@SW_MAXIMIZE) Link to comment Share on other sites More sharing options...
smita Posted November 16, 2007 Author Share Posted November 16, 2007 #include <IE.au3> $oIE = _IECreate ("http://www.pelco.com/",0,1,1) $WinArray = WinList("[CLASS:IEFrame]") For $i = 1 To $WinArray[0][0] WinSetState($WinArray[$i][1], "", @SW_MAXIMIZE) Next One more doubt , there is one image on the page which I have to click & after clicking that image it will open the new window , I have tried below functions but it's not working: #include <IE.au3> $oIE = _IECreate ("http://www.pelco.com/",0,1,1) _IEImgClick($oIE,"Setup","alt") _IELoadWait($oIE) Link to comment Share on other sites More sharing options...
Ranmaru Posted November 16, 2007 Share Posted November 16, 2007 One more doubt , there is one image on the page which I have to click & after clicking that image it will open the new window , I have tried below functions but it's not working: #include <IE.au3>$oIE = _IECreate ("http://www.pelco.com/",0,1,1)_IEImgClick($oIE,"Setup","alt")_IELoadWait($oIE)If it opens a new window, you should try the _IEAttach() function to attach into that new window. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now