desole Tlem pour cet oubli
dans mon precedent post
bonsoir a tous je suis a la recherche d'un systeme pour convertir un fichier html en pdf
j'ai trouver sur internet un moyen de faire ceci en ligne de commande grace au imhtmltopdf.exe present dans l'archive ci jointe
http://www.sendspace.com/file/hv8q2q
mais voila le soucis c'est que je ne comprend pas la synthaxe a utiliser pour la ligne de commande malgres l'aide contenu dans l'archive :/
si quelqu'un a une solution je serais ravie qu'il me la partage
voila ci dessous un simple script pour mettre en place tout ca
► Afficher le texte
Code : Tout sélectionner
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 384, 115, 228, 170)
$Input1 = GUICtrlCreateInput("Input1", 18, 40, 321, 21)
$Label1 = GUICtrlCreateLabel("chemin du fichier html a convertir", 20, 14, 159, 17)
$Button1 = GUICtrlCreateButton("Convertir vers le bureau", 46, 76, 279, 21)
$Button2 = GUICtrlCreateButton("add", 342, 40, 37, 21)
Global $destination_file = @DesktopDir& "\html converti\"
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
$get_local_html_file = FileOpenDialog("choisir fichier html",@DesktopDir& "\", "Fichier .HTML (*.html)")
GUICtrlSetData($Input1,$get_local_html_file)
Case $button1
EndSwitch
WEnd
ou tous simplement m'explqiuer la synthxe ce serait cool merci beaucoup
