Jump to content

Recommended Posts

Posted (edited)

When I put an explorer object in a gui and go to a page where

no vertical scroll is needed, it still shows up.

$hGui = GUICreate("",400,600,100,50)
$Obj = ObjCreate("Shell.Explorer.2")
$CtrlObj = GUICtrlCreateObj($Obj,5,5,350,590)
GUISetState()
$Obj.Navigate2("http://www.google.com")
Sleep(10000)

Is there any way to omit it ?

EDIT:

Also tried this way

#include <IE.au3>
$hGui = GUICreate("",400,600,100,50)
$Obj = ObjCreate("Shell.Explorer.2")
$CtrlObj = GUICtrlCreateObj($Obj,5,5,350,590)
GUISetState()
;$Obj.Navigate2("http://www.google.com")
_IENavigate($Obj, "www.google.com")
_IELoadWait($Obj)
$Obj.document.body.scroll = "no"
Sleep(10000)
Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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
  • Recently Browsing   0 members

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