Sign in to follow this  
Followers 0
sanhen

_ScreenCap_Capture

11 posts in this topic

#include <A3LClipboard.au3>
#include <A3LScreenCap.au3>
#includH    ÑÕRPÛÛÝ[Ë]LÉÝÂÌÍÙ]OPSÓ [ÈQVH  [ÈÕT  [ÈÔâfײ4T2 ¤uT7&VFRgV÷Cµ67&VVç6÷G2FööÇ2#rcãgV÷C²Ã3Ã#¤((ÀÌØíÕÑѽ¹ÍÑÉÐôU%
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½ÐíÍÑÉÐÅÕ½Ðì°ÔÀ°ÄÀÀ°ÜÀ°ÌÀ¤
GUISetState( )

While 1
    $msg = GUIGetMsg()
    Select
        case &#03ÛÙÈH    ÌÍØ]ÛÝBWÔØÜY[ØÐØJ    ÌÍÙ]H    [È ][ÝËbgV÷C²ÃÃÂÓÂÓÄfÇ6R¢ 66Rb33c¶×6rÒb33c´uTôUdTåEô4Äõ4P¢á¥Ñ1½½À((¹M±Ð)]¹(((

Running a close only a map.

Why not consecutive screenshots?

Share this post


Link to post
Share on other sites



#include <A3LClipboard.au3>
#include <A3LScreenCap.au3>
#incluH ÑÕRPÛÛÝ[Ë]LÉÝÂÕRPÜX]H
    ][ÝÔØÜY[ÚÝÈÛÛÈ
ÈK V÷C²Ã3Ã# ¢b33c¶'WGFöç7F'BÒuT7G&Ä7&VFT'WGFöâgV÷Cµ7F'BgV÷C²ÃÀ°ÜÔ°ÜÀ°ÌÀ¤ìÍÑÉÐÕÑѽ¸((ÀÌØíÕÑѽ¹ÍѽÀôU%
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½ÐíMop",175,75,70,30) ; stop button

GUISetState(@SW_SHOW) ; show gui

WhiHB   ÌÍÛÙÈHÕRQÙ]ÙÊ
BÝÚ]Ú    ÌÍÛÙÈÈÚ[Ú[ÈÙ[XÝÈvF6ÆÆ÷w2WGFærb33c¶×6rW&R6ò÷RFöçBfRFòöâWfW'ÆæP¢ÍÀÌØíÕÑѽ¹ÍÑÉÐ(M¹À ¤ìáÕÑM¹À ¤Õ¹Ñ¥½¸($%Í36;GUI_EVENT_CLOSE
        ExitLoop ; close window
        EndSwitch
Wend

[ÈÛ

BÂÌÍÛÙÌHÕRQÙ]ÙÊ
BÌÍÙ]OPSÓ   [ÈQVH  [ÈõU"fײÔâfײ4T0¢õ67&VVä6ô6GW&Rb33c¶FFRfײgV÷C²ævbg½Ðì°À°À°´Ä°´Ä±±Í¤)U¹Ñ¥°ÀÌØíµÍÈôÀÌØíÕÑѽ¹ÍѽÀ)¹Õ¹(

Share this post


Link to post
Share on other sites

Thanks

Only manual interception when, and why I look to the code only interception of a map. After an interception and click on the button can interception.

Share this post


Link to post
Share on other sites

Or...

#include <A3LScreenCap.au3>

Global $hGUI, $iStart, $iÝÜ   ÌÍÚSÙË ÌÍÙ[XY   ÌÍÚU[YÌÍÚÕRHHÕRPÜX]J   ]÷Cµ67&VVâ6GW&RgV÷C²Â3¢b33c¶7F'BÒuT7G&Ä7&VFT'WGFöâgV÷CMÑÉÐÅÕ½Ðì°ÜÀ°ÜÀ°ÜÔ°ÈÔ¤(ÀÌØí¥MѽÀôU%
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½ÐíMѽÀquot; , 160, 70, 75, 25)
GUICtrlSetState($iStop , $GUI_DISABLE)
GRTÙ]Ý]J
BÚ[HBÝÚ]ÚÕRQÙ]ÙÊ
BØÙH  ÌÍÚTÝ   ÌͶdVæ&ÆVBÒG'VP¢uT7G&Å6WE7FFRb33c¶7F'BÂb33c´uTôD4$ÄR¢U%
ÑɱMÑMÑÑ ÀÌØí¥MѽÀ°ÀÌØíU%}9  1¤(ÀÌØí¥Q¥µÈôQ¥µrInit()
    case $iStop
      $fEnabled = False
      GUICtrlSetS]J ÌÍÚTÝ   ÌÍÑÕRWÑSPH
BÕRPÝÙ]Ý]J  ÌÍÚTÝÜ 3c´uTôD4$ÄR¢66Rb33c´uTôUdTåEô4Äõ4P¢W@¢VæE7vF6¢bÀÌØí¹±¹¡Q¥µÉ¥ ÀÌØí¥Q¥µÈ¤ÐìôÄÀÀÀ¤Ñ¡¸(}Mɹ
ÁCapture(StringFormat("%02d%02d%02d%02d%02d.gif", @MON, @MDAY, @HOTRSÑPÊJB[[

Auto3Lib: A library of over 1200 functions for AutoIt

Share this post


Link to post
Share on other sites

If not automatic, manual, and every time the interception of a screen, it seems not.

Share this post


Link to post
Share on other sites

Above code interception of a button, not the interception again. Why is this?

Share this post


Link to post
Share on other sites

Above code interception of a button, not the interception again. Why is this?

The above question does not make sense in English. If you're struggling with English, you might want to have a friend help you post your question.

Auto3Lib: A library of over 1200 functions for AutoIt

Share this post


Link to post
Share on other sites

Very sorry that I used the machine translation. However, I would like to say is that my code, why print run after only a screen, and the second has not print?

Share this post


Link to post
Share on other sites

Your date-var never changes. :rolleyes:

_ScreenCap_Capture(@MON & @MDAY & @HOUR & @MIN & @SEC &ampÈ    ][ÝËÚY][ÝËLKLK[ÙJB

This works. You might want to change the filename to 1-2-3 and add a counter in your program.

Share this post


Link to post
Share on other sites

thank you very much!

Just like how the timer adjustment?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0