Jump to content

AutoIt Windows Screenshooter v1.84 Build 2019-08-18


UEZ
 Share

Recommended Posts

Thanks for your feedback! :)

Hmm, odd. I cannot reproduce the freezes and/or crashes. Does it crash/freeze after or before fade out when you close the program?

Exit button and X button calling the same exit function. ;)

Someone else with same problem?

Br,

UEZ

When Capturing some Window(Like Scite), it Crashed. Following Picture is Crashing Window info:
Link to comment
Share on other sites

Hi,

thanks for your feedback but I´m unable to understand your screenshot because I cannot speek Chinease.

I assume your are using WinXP. I tried to reproduce the bug on WinXP here in Turkey and yes it is crashing when trying to capture the prog windows itself latest on second call.

It seems to be that DllCall("User32.dll", "int", "PrintWindow", "hwnd", $hWnd, "handle", $hMemDC, "int", 0) is causing the problem when _GDIPlus_BitmapDispose($hBmp) is called.

When you add $hBmp = 0 to the function Capture_Window in line 473 is it still crashing?

Func Capture_Window($hWnd, $w, $h)
    _GDIPlus_BitmapDispose($hBmp) ;otherwise memory leak
    $hBmp = 0
    _WinAPI_DeleteObject($hBitmap_s)
    $undo_chk = False
    Local $hDC_Capture = _WinAPI_GetWindowDC($hWnd)
    Local $hMemDC = _WinAPI_CreateCompatibleDC($hDC_Capture)
    $hBitmap_s = _WinAPI_CreateCompatibleBitmap($hDC_Capture, $w, $h)
    _WinAPI_SelectObject($hMemDC, $hBitmap_s)
    DllCall("User32.dll", "int", "PrintWindow", "hwnd", $hWnd, "handle", $hMemDC, "int", 0)
    _WinAPI_ReleaseDC($hWnd, $hDC_Capture)
    _WinAPI_DeleteDC($hMemDC)
    $hBmp = _GDIPlus_BitmapCreateFromHBITMAP($hBitmap_s)
    Update_Resolution_Info($hBmp)
    Draw2Graphic($hBmp)
    $hClipboard_Bitmap = $hBitmap_s
    $z = 10
    $scroll_x = 0
    $scroll_y = 0
    Zoom(-1)
EndFunc   ;==>Capture_Window

The odd thing is that I cannot reproduce it at my own PCs. And as mentioned it is running on Vista+ operating sytems with Aero enabled best!

Br,

UEZ

PS: after 4 weeks without coding it is very hard find back to AutoIt again

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Hi,

thanks for your feedback but I´m unable to understand your screenshot because I cannot speek Chinease.

Sorry, I forgot language case.

By the way, to my surprise, you could know the characters of my screenshot was Chinese characters!

I assume your are using WinXP. I tried to reproduce the bug on WinXP here in Turkey and yes it is crashing when trying to capture the prog windows itself latest on second call.

It seems to be that DllCall("User32.dll", "int", "PrintWindow", "hwnd", $hWnd, "handle", $hMemDC, "int", 0) is causing the problem when _GDIPlus_BitmapDispose($hBmp) is called.

When you add $hBmp = 0 to the function Capture_Window in line 473 is it still crashing?

Func Capture_Window($hWnd, $w, $h)
    _GDIPlus_BitmapDispose($hBmp) ;otherwise memory leak
    $hBmp = 0
    _WinAPI_DeleteObject($hBitmap_s)
    $undo_chk = False
    Local $hDC_Capture = _WinAPI_GetWindowDC($hWnd)
    Local $hMemDC = _WinAPI_CreateCompatibleDC($hDC_Capture)
    $hBitmap_s = _WinAPI_CreateCompatibleBitmap($hDC_Capture, $w, $h)
    _WinAPI_SelectObject($hMemDC, $hBitmap_s)
    DllCall("User32.dll", "int", "PrintWindow", "hwnd", $hWnd, "handle", $hMemDC, "int", 0)
    _WinAPI_ReleaseDC($hWnd, $hDC_Capture)
    _WinAPI_DeleteDC($hMemDC)
    $hBmp = _GDIPlus_BitmapCreateFromHBITMAP($hBitmap_s)
    Update_Resolution_Info($hBmp)
    Draw2Graphic($hBmp)
    $hClipboard_Bitmap = $hBitmap_s
    $z = 10
    $scroll_x = 0
    $scroll_y = 0
    Zoom(-1)
EndFunc   ;==>Capture_Window

The odd thing is that I cannot reproduce it at my own PCs. And as mentioned it is running on Vista+ operating sytems with Aero enabled best!

Br,

UEZ

PS: after 4 weeks without coding it is very hard find back to AutoIt again

Yes, I am using WinXP-sp3. When Inserting the line("$hBmp = 0"), It can Capture itself Window!

But using the version of Ver1.20, I also happened to meeting it Crashed when clicking "X"

Does it improve this problem in Ver1.22?

Edited by happytc
Link to comment
Share on other sites

Hello,

maybe this is a bug, maybe it is a feature.

if i select the Screenshooter-GUI from the list, and select it again, and again, and again, this happens:

Posted Image

Grüße aus Hessen (translated: greetings from Hessen / germany), Andy

Edited by andygo
Link to comment
Share on other sites

By the way, to my surprise, you could know the characters of my screenshot was Chinese characters!

It was just an assumption. If it is not Chinese than I`m sorry ...

Yes, I am using WinXP-sp3. When Inserting the line("$hBmp = 0"), It can Capture itself Window!

But using the version of Ver1.20, I also happened to meeting it Crashed when clicking "X"

Does it improve this problem in Ver1.22?

I cannot reproduce the crash when clicking on the X! I need to know where it is crashing exactly in the exit function for you. Can you insert some debug to console lines to the exit function to see where it is crashing exactly (as mentioned post#19)?

Further can you test it with the latest version, too?

Hello,

maybe this is a bug, maybe it is a feature.

if i select the Screenshooter-GUI from the list, and select it again, and again, and again, this happens:

Grüße aus Hessen (translated: greetings from Hessen / germany), Andy

It is neither bug nor a feature - it is a normal behaviour because you take a screenshot from a screenshot and from screenshot... which will be displayed appropriately. :)

Br,

UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

I cannot reproduce the crash when clicking on the X! I need to know where it is crashing exactly in the exit function for you. Can you insert some debug to console lines to the exit function to see where it is crashing exactly (as mentioned post#19)?

Further can you test it with the latest version, too?

I cannot make it to reappear, too. May come by something with luck, but not by searching for it.

BTW: The Script(V1.22) on post #1 has error: Line 1020, 1024 - Colon changed to be irrecognizable

Link to comment
Share on other sites

Well, in Turkey I downloaded the current version and compiled it without any problem!

Line 1015 - 1029 (Func Wait())

Func Wait()
    Switch Mod($i, 5)
        Case 0
            ControlSetText("Screenshooting Web Site", "", "Static1", "Please wait while taking screenshot " & ChrW(8250))
        Case 1
            ControlSetText("Screenshooting Web Site", "", "Static1", "Please wait while taking screenshot —" & ChrW(8250))
        Case 2
            ControlSetText("Screenshooting Web Site", "", "Static1", "Please wait while taking screenshot ——" & ChrW(8250))
        Case 3
            ControlSetText("Screenshooting Web Site", "", "Static1", "Please wait while taking screenshot ———" & ChrW(8250))
        Case 4
            ControlSetText("Screenshooting Web Site", "", "Static1", "Please wait while taking screenshot ————" & ChrW(8250))
    EndSwitch
    $i += 1
EndFunc

I will release the fixed version for WinXP ($hBmp = 0 -> post #22) soon.

Br,

UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Updated to version v1.23 -> the crash bug on WinXP should be fixed now. Further added function to send image to printer.

I cannot reproduce the crash when pressing the X.

Br,

UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Fine piece of work m8, i downloaded both to have a play and to see the detail and its waaaay beyond my comprehension lol

Don't know how you keep track of all the bits

One thought i had on the select by window list section maybe remove the program itself from the list as you would normally not need a shot of it.

Not a criticism just a thought.

Chimaera

Link to comment
Share on other sites

Fine piece of work m8, i downloaded both to have a play and to see the detail and its waaaay beyond my comprehension lol

Don't know how you keep track of all the bits

One thought i had on the select by window list section maybe remove the program itself from the list as you would normally not need a shot of it.

Not a criticism just a thought.

Chimaera

Thanks for your comment. Maybe later I will create a settings menu where you can set several settings like to remove the program itself from the list, etc.

Indeed, it is not easy to keep track of all the bits particularly after several weeks and a holiday. :)

Br,

UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Well, in Turkey I downloaded the current version and compiled it without any problem!

Line 1015 - 1029 (Func Wait())

Func Wait()
    Switch Mod($i, 5)
        Case 0
            ControlSetText("Screenshooting Web Site", "", "Static1", "Please wait while taking screenshot " & ChrW(8250))
        Case 1
            ControlSetText("Screenshooting Web Site", "", "Static1", "Please wait while taking screenshot —" & ChrW(8250))
        Case 2
            ControlSetText("Screenshooting Web Site", "", "Static1", "Please wait while taking screenshot ——" & ChrW(8250))
        Case 3
            ControlSetText("Screenshooting Web Site", "", "Static1", "Please wait while taking screenshot ———" & ChrW(8250))
        Case 4
            ControlSetText("Screenshooting Web Site", "", "Static1", "Please wait while taking screenshot ————" & ChrW(8250))
    EndSwitch
    $i += 1
EndFunc

I will release the fixed version for WinXP ($hBmp = 0 -> post #22) soon.

Br,

UEZ

Run the Ver1.2.3(WinXP-SP3, SciTE v2.27 , AutoIt v3.3.6.1): Edited by happytc
Link to comment
Share on other sites

Can you remove all & ChrW(8250) entries and try again?

Anybody else with the same problem?

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Can you remove all & ChrW(8250) entries and try again?

Anybody else with the same problem?

Br,

UEZ

Replace Wait() function by your post on #27, it's ok!

But I happened to meet it crashed again. Seem to click the window lists many times, then click "X", it probably crashed.

Error infos be shown as in the figure:

(Translated it into English:

AutoIt v3: autoit3.exe - Application error

The instruction at "0x01450057" referenced memory at "0x01450057". The memory could not be "read".

Click OK to terminate the program.

Click Cancel to debug the program.)

Link to comment
Share on other sites

how to grab region in the window it has extended style of $WS_EX_LAYERED, like following script to generating window

Using 'Grab Screen' of Windows Screenshooter to capture region of this window, the screenshot is blank

#include <GUIConstants.au3>
#include <windowsconstants.au3>
#include <editconstants.au3>
#include <sendmessage.au3>
#include <ButtonConstants.au3>
#include <winapi.au3>


#region - GUI Create
$gui1 = GUICreate("Parent GUI", 800, 500, 100, 100)
GUICtrlCreatePic(@ScriptDir&"\2.jpg", 0, 50, 800, 450)
GUICtrlSetState(-1,$GUI_DISABLE)
$button1=GUICtrlCreateButton("ok",0,0,50,50,$BS_ICON)
GUICtrlSetImage(-1, "shell32.dll", 22)
$button2=GUICtrlCreateButton("ok",80,0,50,50,$BS_ICON)
GUICtrlSetImage(-1, "shell32.dll", 23)
$button3=GUICtrlCreateButton("ok",160,0,50,50,$BS_ICON)
GUICtrlSetImage(-1, "shell32.dll", 24)
$button4=GUICtrlCreateButton("ok",240,0,50,50,$BS_ICON)
GUICtrlSetImage(-1, "shell32.dll", 25)
$button5=GUICtrlCreateButton("ok",320,0,50,50,$BS_ICON)
GUICtrlSetImage(-1, "shell32.dll", 26)


GUISetState()
$gui2 = GUICreate("child", 800, 448, 103, 180, $WS_POPUP, BitOR(0x2000000, $WS_EX_LAYERED), $gui1);$WS_EX_COMPOSITED
$ed1 = GUICtrlCreateEdit("", -2, -2, 804, 452, BitOR($ES_READONLY, $ES_AUTOVSCROLL, $ES_WANTRETURN, $WS_VSCROLL))
GUICtrlSetBkColor(-1, 0xABCDEF)
GUICtrlSetFont(-1, 12, 800, 1, "Arail")
;GUICtrlSetColor(-1, 0xffff00)
GUICtrlSetCursor(-1,2)
$text = FileRead(@ScriptFullPath)
GUICtrlSetData(-1, $text)
_WinAPI_SetLayeredWindowAttributes($gui2, 0xABCDEF, 255)
GUISetState()
GUIRegisterMsg($WM_COMMAND, "WM_COMMANDER")
GUIRegisterMsg($WM_MOVE, "shift_child")
#endregion
_SendMessage($gui1, $WM_NCACTIVATE, 1)
#region - GUI SelectLoop
controlsend($gui2,"",$ed1,"^{HOME}")
While 1
    $extMsg = GUIGetMsg(1)
    $msg = $extMsg[0]
    Switch $extMsg[1]
        Case $gui1
            Select
                Case $msg = $GUI_EVENT_CLOSE
                    Exit
                Case $msg =$button1
                    $file=FileOpenDialog("",@ScriptDir&"","all files(*.*) |text(*.txt)" )
                    $text=FileRead($file)
                    GUICtrlSetData($ed1,$text)
                    GUICtrlSetState($ed1,$GUI_FOCUS)
                    ;GUISwitch($gui2,$ed1)
                Case $msg =$button2
                    GUICtrlSetFont($ed1,-1, 18, 400, 4, "mshei")
                Case $msg =$button3

                Case $msg =$button4

                Case $msg =$button5

            EndSelect

    EndSwitch
WEnd
#endregion

Func shift_child($hwnd, $msg, $wparam, $lparam)
    If $hwnd = $gui1 Then
        Local $wp = WinGetPos($gui1)
        WinMove($gui2, '', $wp[0] + 3, $wp[1] + 80)
    EndIf

EndFunc  ;==>shift_child

Func WM_COMMANDER($hwnd, $msg, $wparam, $lparam)
    $nNotifyCode = BitShift($wparam, 16)
    $nID = BitAND($wparam, 0x0000FFFF)
    $hCtrl = $lparam
    If $nID = $ed1 Then
        If $nNotifyCode = $EN_SETFOCUS Then
            _SendMessage($gui1, $WM_NCACTIVATE, 1);, 0)
            Send("{HOME}")
        EndIf

        If $nNotifyCode = $EN_KILLFOCUS and _
            wingettitle("") <> "Parent GUI" _
             Then _SendMessage($gui1, $WM_NCACTIVATE, 0);, 0)
    EndIf
    Return $GUI_RUNDEFMSG
EndFunc  ;==>setparentactive
Link to comment
Share on other sites

In my WinXP vm I was able to reproduce the crash when clicking on the X button but the odd thing is that it crashed when Exit is called

in Func _Exit(). :)

Currently I don't know how to debug it properly ;)

With Win7 x64 I cannot reproduce it!

Regarding the code from your post #34: You are right that the "child" window is not displayed properly when grabbing the screen area but it is working properly on my Win7!

As mentionied there are some limitations running Windows Screenshooter using WinXP. I tested with other au3 codes and also with Irfan View and it is also not possible to make a screenshot from the child window - JShot is working properly....

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

@Posts #34 and #35: A layered window is drawn by the graphic card, not by the OS. So you have to use the right handle; ie. the window's handle directly! If you use the $hDesktopWnd the window will be invisible (which is the case for both '_ScreenCapture_Capture' and '_ScreenCapture_CaptureWnd')...

Here is a function that really uses the handle of the window that you want to take a screenshot a _ScreenCapture_CaptureWndV2

Now, one would have to write a _ScreenCapture_CaptureV2 that takes into account the layered windows as well...

Edited by Chess
Link to comment
Share on other sites

@Posts #34 and #35: A layered window is drawn by the graphic card, not by the OS. So you have to use the right handle; ie. the window's handle directly! If you use the $hDesktopWnd the window will be invisible (which is the case for both '_ScreenCapture_Capture' and '_ScreenCapture_CaptureWnd')...

Here is a function that really uses the handle of the window that you want to take a screenshot a _ScreenCapture_CaptureWndV2

Now, one would have to write a _ScreenCapture_CaptureV2 that takes into account the layered windows as well...

But how to use your function(_ScreenCapture_CaptureWndV2) to capture selected region including all or part of LAYERED Window?

Link to comment
Share on other sites

Added windows build-in printscreen function:

PRINTSCREEN: take screenshot from whole screen using PRINTSCREEN key

ALT+PRINTSCREEN: take a screenshot from active window using ALT+PRINTSCREEN key

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

  • 2 weeks later...

I need some help!

I added a binary string (little wave file) to play it from memory when a capturing is done e.g. by pressing F12.

Now the strange thing: when I compile the script and start it from the script dir it will NOT play any sound on capturing but when I copy/move the compiled script to another folder and start there the exe I can hear the sound! :mellow:

I embedded this code to Windows Screenshooter:

Global Const $SND_SYNC = 0, $SND_ASYNC = 1, $SND_NODEFAULT = 2, $SND_MEMORY = 4, $SND_NOWAIT = 0x2000
Global $binCapture_snd = Capture_Sound()
Global $ByteStruct = DllStructCreate("byte[" & BinaryLen($binCapture_snd) & "]")
DllStructSetData($ByteStruct, 1, $binCapture_snd)
$binCapture_snd = 0
Global Const $BytePtr = DllStructGetPtr($ByteStruct)
Global Const $fuSound = BitOR($SND_MEMORY, $SND_ASYNC, $SND_NODEFAULT, $SND_NOWAIT)
sndPlaySound($BytePtr, $fuSound) ;http://msdn.microsoft.com/en-us/library/aa910369.aspx

Sleep(1500)

Func sndPlaySound($lpszSound, $fuSound)
    Local $Type = "wstr", $aRes
    If IsPtr($lpszSound) Then $Type = "ptr"
    $aRes = DllCall("winmm.dll", "int", "sndPlaySound", $Type, $lpszSound, "dword", $fuSound)
    If @error Then Return SetError(1, 0, 0)
    Return $aRes[0]
EndFunc   ;==>sndPlaySound

Func Capture_Sound() ;capture sound
    Local _
    $Capture_Sound = '0x524946466024000057415645666D74201000000001000100225600002256000001000800646174613B24000080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080807F8080808080807F7D7D878879797D8B8B75808283827F7874828986807B7F827B7C867F777C888B7D77818C7E717B89857A757E88857C7D8785728782766B829778777B79667F84AC99827375617A8B9E97726560748EA290655C818B6B728E808C88877963799292886A6F84798294907662728D948765686F8A9D856F6B74899E988275625F7A969E8481887A73688085757474747B8384807B808380858A7E6A727A838682857A7D888B7A74767A828383827E8082777175818788808187837D7D7C6F7683888888808080786F76848D7F7A8687806E697D90857B818E8B7B627D7D78829C987161718B8D8298A1886A6777676289968E8B828271667074646B84A2A5958975605F6F869C92817E7D7C806B68798A86837E79858B806E717A88897D7B7D807C7A85888578757E8588867971757E82807A808E8271778A8B7A7777787B7D89898380838178727A86857E8083827E7E7C787C8383808085857671787F808284857F7B817F7D84857B7B85827B7589867D7379888B83717A7C838180867F71748184858480818480'
    $Capture_Sound &= '7C808486837A7B807D7D8382807E808382857D76787E86898A847F7C78797D8585808283827C7F817D787A7C7F8687837D7B7D7D80817F7D7F7F8184817C7F8880787A7E8082838C7D7A747D7F84828082807F7B83837C7A7A82828980757D84807D7F83817D80817B7D81807B8185807B7D83807E807F7F7E8282817C7C808081807F807F7D7D7E808080807E8084807C7E80807E7E8080807F808080807D7D8181817F807F7F8080807E8080807F7E7F808080808083817F7E7D81827F807E7D807F82807F7F8081818282818081808080818281818080828182808080818282807F8080807F8080807F7F7F8081807F8080807F7E7F828280807F7E8082817E7D7E81817E7E7E7F8080807F7D7E8082807F7B8081817E7D8081827F7E7E8081817F7D7D808080808182827F7E8080818181808080807F7D808180808082818081807F7F80807F7E808281807F807F808482807E7E80808282807F808080808280808182807F7F80808080808080807F7D818180808080807E7E80807E7E80828080808080808183827F7E7D808180808181807F7E7F8280818080818080807F7F8080807E808281807F7D80828181807F7F7F7F7F8082807F7F80808080807E7E808280807F7F807F7E8080807F7E8282807D7D7D7E7F7F7F7F807F7E807F7F7E7E7E7E807F7F807F7F7D7D7F7F7E7E7F80807F7E80807E7E807E8081807F'
    $Capture_Sound &= '7F7E7F8080808080808180807F808080807E7E807E7E7F80807F8080808080807E7E808080807E7F7F7F8080808081818080807F80807F7D80807F7E80807F808080807F7F807F7F8081817E7F80807F80808080808080807F80807F7F80807F7F8080808080808080808180807F808080807F807F8080807F808081818080807F7E7C7C7D83837F807F83827E7D7C8580827E797F85827D7580768A917D7A727C8A8E6F7B848580727C828781857C7D83787B787D828381817B7D857C817C80817A7D80808B8A7E7A75807A8885877F6F787D82858584797580808987797E7F807D7B8585877D797E857D80808A817D7A818682807E7D80807C7A808082807D817E818383857D7F7E7D7E7D7C7C8284858080817F7D7A8085827F7D7D807F7D8080807D8084857F7D8181807D7E8081807A7D8181807F7E818282807F7C7C838474857A7F91718B728285798A7786767A8A79837C85807F8A7882767D8C847D797B7F88857F73777E7F85857D787D7E7F87817C7C7E7F82847E80807C7C807A80807F8182807C7D807C82827F8280808280797C808280807F7E817E7E7D7E7C80837F818080828281807E7D7D80827F7F7D7E807F807F7F807F818080807F7F7F808282817E7E7F818081807F808081807D7F8080807F8080808183827E7D7E8282807E7E80807F81807E7F8081807D7D80807F80808080807D7D7F80818080'
    $Capture_Sound &= '7F7E7E7F808080807D7E80807F7F7D7E7E7F7F807F7F7E7E7F7E807F7E7E7D80818181807E7E808081807F7E7F7F8080807F7E7F7F7F807F80808081808080808080808180807F8081808181807E7E7F808282807E7D7F81807F7E7F7F80807F817D8280807D7D7E7F7F89867A8077798D80887D7A8285867F80747C828B807F77747C8984858C807A7A79767F8388827C7E807C7D8081817D7C7F81817E8384807B777F837F8082817D7E7F7E7F7F8382807D7F7E7B7D837D8385838077807C7E867A80828085817C7D7C817D7F807C827C82838082807D79777A8083838082847D827874857A86887A7F74838A8180777B7A7F8B82818076787A7D838580777A72757B868A807C77828B8E88867F807D7F737379868C7B6E6B89948F8871717695857E7C7C85807F877078817E7E788C8277777A818B8A85766E8280887A7C767B858178767E84928E83746E74857E87858C88847B777782837F7772777D8587887A7C7F7F857D8377807F7A7C7E888A7370868A8874747F8A887F7B857C747E7F807B7F80817A7B808482827D828B837D757482888C74797A8091858370747B8577798491857F748285807372758FA38A6F686B626684A2A2A4916F4F5C80A69A808E70698C938368687D9A857E7864788A9A8F6956749486787F8B8E8A716B7086A0936A688E94735C6B8B958F846A667B918B6E7C8C837389917769667A'
    $Capture_Sound &= '93877D858374686C787F94A695806A5F6877899B8E7C8188837466677C90958775868276726E8399947F736C80828389847C6C6A8189928F7F7170818485787C8185857E867F7A7A74767780858984898A7D6B808075798688827D7C807C7B747781898881827D7A777D85818B7F7377757D7B898C8B7F7974758284787D858D877B73737D88827C8285847E7E7E7A788088857F7C7A7780888377777E84818085877A787F86807A82817D7A7C858786848076768085818285807C7C84847C7C807F817E807D777C8389888885807B767B80817A7F8485827F7D7C7B7C8386807F807D83847F8180817B7780868986817E7C7A7E8282817D7D7D7F81838480808182827F7B7C828483817D7D7F80807E808282808182807E7E7D7E7C7C7E7D8082807D7C7F8487837E7B7C80817E7E7E807F7E807F7F7F818485848180817E7C7E7F808080818384827E7E808081818283817E7E7E7F8083817F7F82807C7F828583807D7E8082817E7E7F7E7F80818282828080828181807F817F7D808282807E808484817E7F82837D7A7F8587807C7D83837F7F8183807D7C808586817C7E81827F7D808483807D8083837F7E8082817F8082807D7D8084847F7D8185827D7E807E7B7D828584807D8083817E807F7E7D7F80808082828281807E7E807F7E80828382817F7E8080807F80807E7E8081828280808082807D7D807F7C808280'
    $Capture_Sound &= '7F7F8080807E8183807D7D7E80818081817F7E7E81827F7C7E84837C7C8084807B8084817A797E848684837F7A788085807B7D818483807C7D7F828382807D7A7C7F8484807E7A7C80807D7D7F82828583807D7B7E85827C7B7B7E818284847E7A7C8485807E808080807F7D7D7F807F7D7F808080818585817D7C7D807D7D8287837D7C7D80817F7F8081858582807F7D7E80807C7D7E8283827F7D808181807C7A7D7F808180818280807D7D7F7F808081827E797D81847E797A7E81838383827F7C7D807E7B7E82828081807D7D8184807E7E808486807C7B7F817E7B7D82837F8385837C788085807D7E8184818082807D80847F7E7D8081808085827B7F817E7D7C818483827F7C7F82807D8082818081817E7A7B80828180828583817B7A7A7D818281827F7F84857D73778388807B80837F7D7F807F7C7E82827F7E8082827D798083807C7F8584817D7D80807E7D8082807E8082807A797D85857F7E81807F7D7E7E8080838581807F80817F797A8083807E8384807D7C80807D7C818281807F80817D7B8081807E7D828383817E7A7D81807E7B80807F7F7F817D7C7F837F7A7E84847D7B7C8182807E7D80808083857E7B7D85827A7A8085808080807E7F7E7A7D858885827F7B7C8080797C8485838483807C807F7B80868481817D7A7C7E7E7F8385828081848180807C7D8084807D7C7E82828080818485817D'
    $Capture_Sound &= '7E80817F7D7F82817E7D80807F80828080807E7D7B7C828784807D7E82817E7D7E7F8281807E80807C7E7F838381837F7C7A7F82827F7B818580787881837E838684817F807E7C7E8283807E8081827D7B7F7E7B7D81858787837F7A7B7D7F82817F7E808080818280808085827F7D7B7F8180807E797B8085807D82807D8085848082837F797A80827B7A8288857F7C7C7D80838080828282807C7D807F7B8086857F7D8083827E7B7C8285848280807D81817F807D7E80827F7D7F7E7B808484807D80827D7D7F848480797A83857E7A7A7E808080817F7A7E7D7E8284837E7C7D80817F7D7F80807F7E7F807D7B7E83858383807C7C80807D7F7E808285827D78777C8688818284827F7D7C7D7D7A7D8487847E78747C88887F7D81837F797982817A7D8588807B797B7F82807C7C848880757680827B7B7F85837A787D81807A808080807F7E7C7D80818283858177777E8280808484807B7B7D7C7D80828485827D76777D81828185888379777E807A7C828989827C7A7A797A7E858886857D787A7D7C8289858180817E79797D827E7E828B88797474797F8483858A867B7679767F7F81858A8D83786D6F7E888585838182807971797F7B7B858C86766F7685897E7D858B89807573807F7A7E868C877A727883827C7F8A8E8474717B7F7D7C818989837C7A7B7E7D7F858888837872787E80858788847F7A77797C7D'
    $Capture_Sound &= '828B8D887F7675757A8185898885827A7373798185898D877E797679797A858E90837A7C7873797F878E90837C7F7D72767D7F848D90857A72717781888B908B7F7A7D7672767D888C8B877C746F76838B85838B8C88766B747E807E858489827A757980837B818D897C737A7E7A777F8A8D847B787A7D7C7B80888B887B73747C7D7E83888D877A75787F7C78808C8C817573787F7D7E878C8B857C787777797E868B8980797B7D7877808C8E897F7D807E71727E898C88807D7C77777D8284888C897D7673787A7D858A8E867D7A7E7D7679828587888580777575808684848785827D77747A8080838686857C75777E8080858A88837E7A7179807F808888827D7B767D857F7B858E887B747A7F7C7A82888684807A767D8380808588857F797A7C7D7A808A8B857C77787D8282808585827E7A7A797A7C828C8B8078767C7E7B7D848B88807B7D7D77757881888A87807A77787D7B7D858E8B7E767A7E76717C8B8C85817F7C77787D807C83919180717B867C6F7B888E878381807C73748488858488837D7C787A7E7E818689867D797678808380838A89807F7D77757A80888A847F7E7A7380857D7B858D897E75747A7A787F8C8D857D7A797C7E7B7E858587817D777776767F8A8B86807C7B78777B80888884827F7C797577808A8D847E7B7B7C7776818A8B847E82817771778285878A86827B787C78747D8A8D88'
    $Capture_Sound &= '807F7C7A7A787D848887837E7D7A7D78757E8B8D857D80817A7376808787857F7A7E7975777E83858B888280797071777D80868E8B84807875797E7D7C888F8A807874717679808C8E89817A777A78777A878D8882807E7873757D888D8886827B7777797B828A8987847D78787978808B8B88827F7C77767A8187888584817E7772767E83868584827B7977777D8388878381807E78777B8589858282807D7B7A767B868A86807D807E78777B84888480807F7E7C7E7C7C828788837D807E7A7B7C7E808586817E7D79787A7D80868C867F7F7F7B75777C82898A83817F797A7D7E7F848A8681807F7875787B80888A82807F7D7B7A7C808889828082817A77777C838B8882807D7C79777C868B848081807A787A7D8085898883807C7C7A777D8689858281807B7A7A7E82828382808081807976808889837F80807D7A7B7B8084858483807A7A7D7D7E858A87807A7C7E7A777A868D89837F80817C7B7F80808588877F7D7F7B78797D8788868180837B767C7D7E82888A83807F76777F7C828B8A837E837F747377838B8A848082807473767A7F8992897F787676767A82878C8881817B7574797D80898E8F867B72727479818B8E89827E7D7874767D878C8885817B7573777E85898788877E78777476808B8B88837D797A79777C868B8984807D7878797D84868986807F7A797A7D7D7E8B8D847E7A7D7C7779828781'
    $Capture_Sound &= '8487807B7A7D80808081858B857B787980807D8082868280807E7D80807F7D7A818886817C8081797A8080808487857D7A787B807C7B848C887E7F81756C7480858489887F77757A7D7C7C84908B7F7C7A7976777F83878885807C7A7A787981888C88807F7B7777797F86898987817D7C7D7A777E888C89827E7A797A7A7C82878987817B7A7C7A777C858A8985807C7C7E7E7D7D808488847E7D7E7E7C7D7E81888A827C797B7F7B7D81838080827E7F7F7D7D807F80838B837A797A817E777C8388827F807D79777C85817F8288867D7A808278737C84888581827E777A81857B77848F897979847D717A83878484827D7A7A7E7F7E7F858C887D7A7E7E76757D82868784807D7E7C7A7A7D838787827D7E7974767D85878686807E807E79777A7F828584807D79787A7C7D808788857F787A7C7B777A868D86817C7B7D7B7A7B81858583807F7C7C7C7D7D7D8289847E7D7A797A7C8083848385807A7A7B808080808588837D7E7D7D7D7A7A7F898881807B7A7A7D80807B7F8A89817B7E80797B7F7F8487837F797D7E7C7E7C7C838B897D7B807D7A7B7C80868885807C7A787A7D8084898B857D7C7A76767C818588877F7C7D7C79777D858989837F7D7875777F82838889837C7A7D7E7B7C81868884807A767A81807D7F8688827D7D7F7D7A7D8082848483807D7B7C7D808183828182807F7D7C797B81838587817A'
    $Capture_Sound &= '7D828078777E85868382807E77798183807D8287857D787A80807A7E82838182807D7B7A8082837E7E858882797B7F80807F7C7D888B837A78818279777B82878585827A79797E827F808487817C7F807A787E8384828785807C7A7B7A7A7D868E857B787B7D807E7E808589817B7B7C7A787B838988847D787A7C7D7D7F8488847D7A7B7E7D7C808281818080807D7B7D82807E7E8388807D7D8084807C7C7F82828180807D8084837E7A7A88887C787D8485787A8086857C7A807F808082817D8186857E787C82827D7C7B8085807C7E8380737E85827E828B8474737F82817A79858F877477827E777C83898580827E787A7A7B8080818482857D827B7C7B83887D8686767A807D807F8185858783787A807E7C7E84868A8077777F807E7D80838488847E77757B8280828687847B787B8180797B878A80807B7A7B7D80807D7D8787817C7A7D7E7F80808183817D7B7A7B807F7C7C7E86867E797C8083807F818282807B787D80837F818284828081807A7D83827C78808A827A7D82857B7B8184868082847D80807D7B7C7D828B8B7C777E807D7F7F7C848A847E797D7C7A7E80838284857D7C7D7D7C797F8587877E7A7E7D79798081808685807D7A7A797C81848587837E7C7C7B7A7C82858888837D7A7C7D7A7D848885817E7E7E7C797A81868785827B787C817F797F8888827E7D7F7F7C7B818483837F7D7D7B7C'
    $Capture_Sound &= '7D8082828382807E7B7F7D7B7F8187848080807F7D7D787F81808A8F8272707D8982737D8880797D80808080817976818E8D8077797F80777E828183807F7A7A7D82888170778C8E817780847371808A837C84877D76798181797B858B82767D857C6F748085838584807C797D7C7D808285837D7C7D7D7B7A7F858888837D797B807F7A7B8288857E7A7C7E7E7C7E818285827E7E7875798084848687807B777B83807778828B88847C7B7C7A7D7F82808488837D74777E8280807E8688807D7A7B7A797C838785868277777D8682787D848A82797B777B7D7D828382838A877D777D7F7A787F828286837F7D7B7C80827B7B8286847F7D7D7677808383858681797D7D7C7E807B7F888B81787B7E7D7C80838485847D77797A7A7D80878988807B7C7A7B7D7E828786827E7A797A7E808081878A82797A7F7C7A7C81848182817E7B787C8184807F86867D7A797E81808081838182817C7C7D7D8081808082838079797D7E81848281828080807A7B7D8282807E8086817D7E817F7A7F8085807C7D827E7C7E807E83837D8086857D7A80837D777A828884818181817D7A7E7F7C7D8586807B7D807D7D7D8187867F7C7F7E7C7B828280848580797C82807A7A808686827F7C7D7E7C7D8080828483807B7A7C7D7E7E82828382807D7E7E7E7D808284827E7B7D8080807F7E7E8083817D7D80828080808184827E7F808080'
    $Capture_Sound &= '8183827F7C80827E8083817F8081807D84867E7E818280777A84877F7E8582807C7B80827D7F848B817B7C7F827B747D8687827B808380797A84857B77858F827A7A8281797A7F8489837C7A7B807D7D7F7F81868880777E827B787F818086867F7A7A7E808283828284837D7B8181777781878584807B80807E7C8082808287807D7E7E7D7B7F8484838280807E7D7D7B7E8485827F7C7B7C7F807D7F8586817C7C7F807D7C7C8186858080807A7A7F828280808284807C7D7C787D82868482837E7C797F847D77808B877B7A7D7F7C7C838780787D89867E7E807D7679808587837F7B7B80807F7D7E808789827A7B807F7F7F7F808688807A7A807C7A7F81828488847B787D7C7C7D7D8389877E7A807D777B84888281847E7A7B7B7C7C7E80888B80787A7B7B7D80808385837E77797F807B7C8689827F7E7E7E7C7C7D80848482807C7B7B7B7D80838584827D7B7D7D76787E84868582807D7C7D7D7D7C808286837E7A7A7C7B7F7D7D8287827F7D7F807A787D83838484807D79787D83827E8189867D777C857F76788288827E7F7F7E7B7A818380828483807B7D807B7A7E818585847E7C817E7A7B7E80828687807D7C79777B7E7F848B847C7B7D7C787A818688847F7E7D7A78797D828688827B7A7A7B7B7B808688847E7E7F7A79787D828789847E7A7D807B777D888984807D807E77777D82848586847C787B7F'
    $Capture_Sound &= '7C7A7F8B8A837D7C817F76777F86878080817E7C7A7D7D7B7E8788837D7C807D797C80828582807D8080777B8084858488837C797B807D777A868F897B78807D7674808B8A8480807F7B76777A80838688807C7F7E777980837F858A847D78777B7C7E7F888F8378797E7F797A828B8E827A7C7F7C797C81858A89827C79787B7D81878888827D7B7B7B7A7F84878783807B797B7D7C7E848C8C8279757A7E7C7E858D877C7A7D7E7B777A858B87807D7F7B7A7F7F80808387827A7A7D7D7777838C8B81797B7F7E7D7D7E818684807F7E8179778089858088867C777A807F7A7A87908B79747C7E7C7E80868886827D7B7A7B7A7D878787867E7A7A7D7C7F83878787807D7F7A777F8482808588827A767A808080848A88807B7A7A7D7D7A80878A878077747B827E7D878B897F78797B7A7880888987807C7E807D797D85888482807C79797C808487857F7F7F7F7B787980898C837E7C7B7B7B7C828A8B837F7E7E7D77767E898B86807E7D79797D7E838385837D82827D777E848282848180807D7E7D7A7B8189847F7D79777C8482838A86797780807D777A828A8B827F79737A8685807F8487817D777D7E7779848E88817A717B898277808A88817E797D7F787580898A857B747E857A717C8A8F86787782807776828E8A81767A82807777858B87837D7A7B7A7A7D858985807A79807F7977848D88817D808076747A'
    $Capture_Sound &= '838889867E77797A7E787F88848280807B797677838C847C7C7E7D7D81807F878785807D7E80776F7D89877F7D7F7B777E838282838585817A7C7B7575818985807C797A817F7B80888E8A8077797B767780848481787A85857B727D8B8B867D7E8078747A8186827B7C81847B767A8088857E7C7E7B787B7E7F8381787D878377767F8585817C7D7E7D7C7E8184827D7E82847E797D8385818080807A7A7E80808587837D7D7E807E7B8388827D7F847F77767D85867F81827D7A7C848080828484807D7B7B7777808887857D727382827B808789827D7A7D7C7677808587837A7882857D7479858C857D7D7F79747A83848380777C85857973808B867D7A838076778087857F7A8088867B778086837F7D80807B7B818483817E7E82847C787D8889827E7D7E7B7C7F7E8084817B7B83827B7F85837F7F807F7A777D838482827F7C7D7A7D7E7D818688827E7E7C7B787E8585827F7D7D7F7C797C858884807D7D80807E818082807F7D7B7E80808081868880797F85807779848B847C7D817D7A808283817F7D808083807D8487847E7E807C787C8285817E81807D7E7C7F83837E82898278777E84807C7D82817C7D8082827E7A808880787B8285827E7C80817C7C808182817D7B7F82807D828585807B7D83817E80828281807C7A7F8382808386857E797F88827D7E7F82807F7E80807F7F7D8185857E787F88827879'
    $Capture_Sound &= '8188847C76808380808286857C757982827B79828C897D797F817D7B7F8187837A7D82847E7A8287827C82847F77798488827C81847E78788085827D838D8279777D84827D7B84857F7C7F81817F7A8084807F80808183807C80807F807D7E82847B7C807F7E808385807C7A8081807E7F8082807C7A7F80807F8183817D7B7C828180818281807B7A8182807E7E8583807B767E81818080828380777A8683817C8084817E757B8084827D7E8683787A80857A768289897F7B7E7A797B8088847D7D82827A717C88898281857C72747E83807E808886817D797D82827D8087817A7B7E7F7B7D8085827F7D7D8083807D8087827D7D7D7D7E7D7B808484807E7E81807C7D8486807D81807F7F7D7D8083827E807F807E777E87867F7D82827D797C8483817E7C81827D7678828881797E867D7781878377778284807D807D797B7F81827D7A82857F7B7D8182817E80817B777D84837F7A80837E7B7B8085828182807E7A7A7E80807E8082817F7D81857E777E88857C7780867F777B8682777983878077788487827E7F8282807A7A807E7E8086857D797B82827D7E7E818584807A80827E7D7F817D7A80857B797E82818086837C7F85877E777A84857F7D807E7A7D80807D7D82858686807C7D7E8081807E7C7A7D817D7D7E818181807E7D7C807F7F87857A767F837D7B82827C787E87837A7D89847574858E8575768284'
    $Capture_Sound &= '7F7C7D848079778084807D8086837F7B7F867E767B82817E7A7A8585807A7B83857F7A8085817C7E807F7D7F7E7E7B7E82857F7D7D7A7D828281807D808282807F7F7A808386827D7C808282827F8180807C81847F7D80827D7D83827C7A8189828082827F7D81817C7E7E7D7B7F837D7E8185827E7D7C81878481807F807D7B81837F797B82847F7A7F85837F7A7D82847F7D81857F777D8581797B85857F7D80827C7B88867F7A7D84837E7C7F827D787D85887B72828A837B7C8688817D7E807B777E828580787883838080818283817F7F7D7B7C818482807D7E8180817D7D8085848080807B787B7E7F80807C7E85858080817F7E8182807D7B7F81807C7F80808080828178798A8A81787D847E7E7F82827A75808B85787888847C797D8582828282827D797C82837D7E8484807A7C83837D7E85857D797E82827C7B8881807D8082827E7A7A84857C7D8588827B7A7F837F8085838277757D8182838080808181797D83837E7E8081807A7F81807F7F8184817A7A8082807C7D7F827F7D8182807B7D81807C7B82837D7A7D807F7D7B8184827E7E7E80807F8181817A7D7E82807D818380787E83818081807D7D7A80827F7C8288847B7A84857F798085817B7D88877E77808A837974828A847B7C857F74788387827A7A8385827B7D84837F7B80857F7B8081807D7B797F82848282807D7A7C828483817F80797D79'
    $Capture_Sound &= '7B8581877F7E817D837A7A848387807C817B76818088817A8181837D7D857D787B7F80807E80827D7D7F82807F82837F7E7C7F86827B7A81827D7B86837D8082837D797A7D827E808686817A7A81817D7E80807F7B8085807A7A8284817D7B80827F7D83827D797B8183807C7D7F7E7E818582787B8587807B7C82837E7D818179788086807476838A867F8082807C7B7E827C7D7F8581797A7C7E7D80817D7D8285807F81857E7B7F81817E807D7B7D80807F7E7D828684817D7E82807D7E817F7C7E81807E7D8185837E78808483838080807A777D82807E8284807B7A8182808084837C7A8085827A7982857E787B81827A7A8285827B7C82827D7D80807A787F85857F7B7E807B7C828380807A7D7F827F7D80827E7A787D8381797F88818C767A74828688877B81898B7E7C797189726E76797785A291898585786777878B74828B7475807F84907A736A7E84868A91948D7D727573776F71818E8C887D787B7980868D8E83808480777880807A79827E7A7D7E887E79757A7F818C807A7D7A7E7F7D8688858580827A7B7D8087817F8582817D787D80848081827C7B7C80807F828080827D7C80888581817F7D7B7A7B7E7F828082817E7A7A8181808284857C787A7F848182817F7D7E8585807D7B818581807D7A7D8085827F7D817E887D8B7A7F798083797A8588877C6A7C80827F838C827E7E777D80858886887D'
    $Capture_Sound &= '817776798089857B7E8480777D7F7C747F878B7A787E82847A7C837E8285888A7F7A7A807E82838283807B7A7A7F8081807C828282807F7C7C808080807C818282807E828485827D7B7A7D7F82857F79797D8280828381807F8182808080807F8082807E7F7F838400'
    Return Binary($Capture_Sound)
EndFunc

Can someone test this? Any explanation for this behaviour?

I'm using Win7 x64 with latest AutoIt version! Script will not be compiled as x64!

Thanks for your help!

Br,

UEZ

Edit: when I start the exe in script dir with runas and a different user it is working. Hmm, maybe a profile problem?

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

UEZ, on Windows 7/32 bit I can hear a camera sound when I take a screenshot with Windows Screenshoter, also when I run the compiled script you have posted above.

Link to comment
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
 Share

×
×
  • Create New...