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

