Page 1 sur 1

[R] ScreenShot ?

Posté : ven. 16 nov. 2007 10:48
par XcessiV
Bonjour, bonjour !

Nouvelle question :

Est il possible de faire un screenshot avec autoit ?
Si oui, comment et est il possible de choisir une qualité, format... ?

mici beaucoup ^^

Posté : ven. 16 nov. 2007 19:59
par Voodoo
hi, telecharge ceci:
http://www.autoitscript.com/forum/index ... opic=33677

Pour un pack d'include tres utile ou tu trouveras ceci: _ScreenCap_Capture () a utilisé avec #include <A3LScreenCap.au3> avec les paramétres suivant:

Code : Tout sélectionner

 _ScreenCap_Capture($sFileName="", $iLeft=0, $iTop=0, $iRight=-1, $iBottom=-1, $fCursor=True)

;Description ...: Captures a region of the screen
; Parameters ....: $sFileName   - Full path and extension of the image file
;                  $iLeft       - X coordinate of the upper left corner of the rectangle
;                  $iTop        - Y coordinate of the upper left corner of the rectangle
;                  $iRight      - X coordinate of the lower right corner of the rectangle.  If this is  -1,  the  current  screen
;                  +width will be used.
;                  $iBottom     - Y coordinate of the lower right corner of the rectangle.  If this is  -1,  the  current  screen
;                  +height will be used.
;                  $fCursor     - If True the cursor will be captured with the image