Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Set Pos Scroll Internet Explorer_Server

$
0
0

Hi all members in Autoit Forum.

I try to set pos in internet explorer_sever. But it 's not working.

 

This is my code.

Who can fix it for me?

AutoIt         
#include <GuiScrollBars.au3> #include <ScrollBarConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Example() Func Example()    $IE = ObjCreate("Shell.Explorer.2")     $GUI=GUICreate("Test", 640, 450, (@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS, $WS_CLIPCHILDREN))     $oIE=GUICtrlCreateObj($IE, 10, 40, 600, 360)     $hand=GUICtrlGetHandle($oiE)     CONSOLEWRITE($hand)     GUISetState() ;Show GUI     $SPAM='Auto it <br>'    FOR $I=1 to 6        $SPAM &= $SPAM    NEXT    $F=FILEOPEN(@desktopdir & '/ie.html',2+128)    FILEWRITE($F,$SPAM)    FILECLOSE($F)    $IE.navigate(@desktopdir & '/ie.html')    _GUIScrollBars_SETScrollInfoPos($GUI, $SB_VERT,5)     While 1           IF GUIGetMsg() = $GUI_EVENT_CLOSE then                 Exit          EndIf       WEND EndFunc   ;==>Example

Thanks!


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>