[R] ScreenShot ?

Aide et conseils concernant AutoIt et ses outils.
Règles du forum
.
Répondre
XcessiV
Niveau 4
Niveau 4
Messages : 53
Enregistré le : mar. 07 août 2007 14:05
Localisation : Grenoble
Status : Hors ligne

[R] ScreenShot ?

#1

Message 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 ^^
:) Merci à la AutoIt French Team pour son aide :)
Avatar du membre
Voodoo
Niveau 6
Niveau 6
Messages : 298
Enregistré le : ven. 20 juil. 2007 20:45
Status : Hors ligne

#2

Message 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
Répondre