Sign in to follow this  
Followers 0
spymare

Fullscreen browserobject

18 posts in this topic

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?

Share this post


Link to post
Share on other sites



anyone :x?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

#4 ·  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

Share this post


Link to post
Share on other sites

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 :/

Share this post


Link to post
Share on other sites

didnt fix it :&

Share this post


Link to post
Share on other sites

hmm the problem is not the $GUI, but the $object_ctrl, $GUI is already full screen with no borders

Share this post


Link to post
Share on other sites

you could try this and use an embedded internet explorer in kiosk mode !

Share this post


Link to post
Share on other sites

hmm i don't like that metode :/

Share this post


Link to post
Share on other sites

anyone know anorther way of doing it :x?

Share this post


Link to post
Share on other sites

no one :S?

Share this post


Link to post
Share on other sites

i need a solution for this asap :S please someone help :x

Share this post


Link to post
Share on other sites

anyone :/?

Share this post


Link to post
Share on other sites

hiya,

sometime a coder gotta use methods that work even he doesnt like em!!!

:x

good luck!!

hench

Share this post


Link to post
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
Sign in to follow this  
Followers 0