Jump to content

Maximum Size


smita
 Share

Recommended Posts

#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

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

Link to comment
Share on other sites

#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

#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

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

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...