Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted (edited)

it's not the beginning of a game bot.. it's a browser object..

i need it for full screen playing so i have full screen instead of choosing fixed size in rs options.

Edited by spymare
Posted

like this? : -2, -2, @DesktopWidth, @DesktopHeight)

that way it's full screen in the left and in the top, but not to the right side somehow :/

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