Jump to content

Fullscreen browserobject


Recommended Posts

hi :x i got this code:

#include <GUIConstants.au3>
#Include <WindowsConstants.au3>
#include <IE.au3>
$GUI = GUICreate('Runescape', @DesktopWidth, @DesktopHeight, 0, 0, BitOR($WS_POPUP, $WS_EX_TOPMOST))
$object = ObjCreate("Shell.Explorer.2")
$object_ctrl = GUICtrlCreateObj($object, 0, 0, @DesktopWidth, @DesktopHeight)

GUISetState()
_IENavigate($object, "http://www.runescape.com")


While 1
    $msg = GUIGetMsg()
    Select
        
    Case $msg = $GUI_EVENT_CLOSE
        Exit
    EndSelect
WEnd

$object_ctrl = GUICtrlCreateObj($object, 0, 0, @DesktopWidth, @DesktopHeight won't accept: , 0, 0, BitOR($WS_POPUP, $WS_EX_TOPMOST))

witch means i can see a white line around the whole windows. the gui is full screen, but not the browser object :S

can anyone help me?

Link to comment
Share on other sites

Its the tiniest of borders, I had to really to see it.

If you make and place your gui a few pixels wider/higher than your screen you wont see it.

There is probably a better solution, but your not helping yourself in hinting that this is the beginnings of a game bot.

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

Monkey's are, like, natures humans.

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