Jump to content
Sign in to follow this  
smita

Maximum Size

Recommended Posts

smita

#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?

Share this post


Link to post
Share on other sites
Ranmaru

#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. :P

You can use the @SW_MAXIMIZE macro with the WinSetState function.


Share this post


Link to post
Share on other sites
rasim

#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

Share this post


Link to post
Share on other sites
BrettF
smita

#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)

Share this post


Link to post
Share on other sites
Ranmaru

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.


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  

×