je voudrais que le programe prend les valeurs d un fichier texte que je pourais changer au choix une fois transformer en .exe pour rogner l image mais le programe ne reagis pas comment farire
merci de vrote aide
mais sa
#Include <ScreenCapture.au3>
#include <GDIPlus.au3>
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <SliderConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Include <Array.au3>
$1=IniRead ( "screen.ini", "Configuration", "Left", $gui_unchecked)
$2=IniRead ( "screen.ini", "Configuration", "Top", $gui_unchecked)
$3=IniRead ( "screen.ini", "Configuration", "Right", $gui_unchecked)
$4=IniRead ( "screen.ini", "Configuration", "Bottom", $gui_unchecked)
Local $hBmp = _ScreenCapture_Capture("",$1 , $2 , $3 , $4 )
_ScreenCapture_SaveImage(@MyDocumentsDir & "\image\" & "\test.jpg",$hBmp)
MsgBox(48, "Choix", $1& $2& $3& $4 )
#include <GDIPlus.au3>
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <SliderConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Include <Array.au3>
$1=IniRead ( "screen.ini", "Configuration", "Left", $gui_unchecked)
$2=IniRead ( "screen.ini", "Configuration", "Top", $gui_unchecked)
$3=IniRead ( "screen.ini", "Configuration", "Right", $gui_unchecked)
$4=IniRead ( "screen.ini", "Configuration", "Bottom", $gui_unchecked)
Local $hBmp = _ScreenCapture_Capture("",$1 , $2 , $3 , $4 )
_ScreenCapture_SaveImage(@MyDocumentsDir & "\image\" & "\test.jpg",$hBmp)
MsgBox(48, "Choix", $1& $2& $3& $4 )