Page 1 sur 1
[R] Control Scroll bar Obj
Posté : mer. 25 août 2010 20:43
par GELDROC
bonjours je voudrait metre la scroll bar d'un objet IE en bas de page
mais jarive pas a trouver comment
Script Autoit test :
► Afficher le texte
Code : Tout sélectionner
#include <GUIConstants.au3>
#include <IE.au3>
Opt("GUIOnEventMode", 1)
$gui = GUICreate("Ethnel-SAV :: Voir/Imprimer", 220, 220)
GUISetOnEvent($GUI_EVENT_CLOSE, "close")
_IEErrorHandlerRegister()
$ie = _IECreateEmbedded()
$ieobject = GUICtrlCreateObj($ie, 10, 10, 200, 200)
_IENavigate($ie, @ScriptDir & "\Temp.html", 0)
GUISetState()
While 1
Sleep(10)
WEnd
Func close()
Exit
EndFunc
Script test HTML :
► Afficher le texte
Code : Tout sélectionner
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>test edit1</title>
</head>
<body>
<span style="color: rgb(51, 51, 255);">teset coulkeut HTM</span><br>
<span style="color: rgb(255, 0, 0);">test 2</span><br>
<span style="color: rgb(51, 51, 255);">teset coulkeut HTM</span><br>
<span style="color: rgb(255, 0, 0);">test 2</span><br>
<span style="color: rgb(51, 51, 255);">teset coulkeut HTM</span><br>
<span style="color: rgb(255, 0, 0);">test 2</span><br>
<span style="color: rgb(51, 51, 255);">teset coulkeut HTM</span>L<br>
<span style="color: rgb(255, 0, 0);">test 2</span><br>
<span style="color: rgb(51, 51, 255);">teset coulkeut HTM</span>L<br>
<span style="color: rgb(255, 0, 0);">test 2</span><br>
<span style="color: rgb(51, 51, 255);">teset coulkeut HTM</span>L<br>
</body>
</html>
Re: [..] Control Scroll bar Obj
Posté : jeu. 26 août 2010 09:38
par GELDROC
j'ai peut être trouver une piste
mais ca fonctionne toujours pas
.
Re: [R] Control Scroll bar Obj
Posté : mer. 01 sept. 2010 07:09
par GELDROC
bon jai enfin trouver un truc qui fonctionne voila .
► Afficher le texte
Code : Tout sélectionner
While _IEPropertyGet($oIE, "busy")
Sleep(100)
WEnd
$oIE.document.body.scrollTop=1000000000