spymare Posted January 1, 2011 Posted January 1, 2011 hi 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?
JohnOne Posted January 1, 2011 Posted January 1, 2011 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.
spymare Posted January 1, 2011 Author Posted January 1, 2011 (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 January 1, 2011 by spymare
JohnOne Posted January 1, 2011 Posted January 1, 2011 So did you try what I suggested? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
spymare Posted January 1, 2011 Author Posted January 1, 2011 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 :/
JohnOne Posted January 1, 2011 Posted January 1, 2011 $GUI = GUICreate('Runescape', @DesktopWidth + 6, @DesktopHeight + 6, @DesktopWidth - (@DesktopWidth + 3), @DesktopHeight - (@DesktopHeight + 3), BitOR($WS_POPUP, $WS_EX_TOPMOST)) AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
JohnOne Posted January 1, 2011 Posted January 1, 2011 Hmm, works fine for me, no visible border. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
spymare Posted January 1, 2011 Author Posted January 1, 2011 hmm the problem is not the $GUI, but the $object_ctrl, $GUI is already full screen with no borders
hench Posted January 1, 2011 Posted January 1, 2011 you could try this and use an embedded internet explorer in kiosk mode !
spymare Posted January 6, 2011 Author Posted January 6, 2011 i need a solution for this asap :S please someone help
hench Posted January 9, 2011 Posted January 9, 2011 hiya, sometime a coder gotta use methods that work even he doesnt like em!!! good luck!! hench
trancexx Posted January 9, 2011 Posted January 9, 2011 This is so dumb that it hurts. $object_ctrl = GUICtrlCreateObj($object, -2, -2, @DesktopWidth + 4, @DesktopHeight + 4) ♡♡♡ . eMyvnE
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now