This is not the best way, but until I (or someone else) finds the correct COM function/property, this works:

code:

$ie=createobject("InternetExplorer.Application") ; create object


$ie.height=964 ; ****
$ie.width=1280
$ie.left=0
$ie.top=0


Set the .Width to the current screen res width (other scripts on this board can find this)

Set the .Height to the current screen res height -30 for each line of the start bar. Most people have one line.


---- OR ----


code:

$=sendkeys("~ x")

make sure ie has focus. This is ALT+SPACE to get the window menu then X for maXimize.


cj

------------------
cj's scripts page
cj's User Guide - 14 May 2001

chrismat@ozemail.com.au


 


[This message has been edited by cj (edited 14 May 2001).]