Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/31/2016 in all areas

  1. OK I know a wind up when I see one. I'm out. Best of luck.
    1 point
  2. $sText = WinGetText("[ACTIVE]") ConsoleWrite($sText) Paste the whole thing here.
    1 point
  3. UEZ

    Draw Images Faster

    @Loken: change the _CreateNewBmp32 function to this (added one line) to increase quality. Func _CreateNewBmp32($iWidth, $iHeight, ByRef $ptr, ByRef $hbmp) ;erstellt leere 32-bit-Bitmap; Rückgabe $HDC und $ptr und handle auf die Bitmapdaten $hcdc = _WinAPI_CreateCompatibleDC(0) ;Desktop-Kompatiblen DeviceContext erstellen lassen _WinAPI_SetStretchBltMode($hcdc, $STRETCH_HALFTONE) $tBMI = DllStructCreate($tagBITMAPINFO) ;Struktur der Bitmapinfo erstellen und Daten eintragen DllStructSetData($tBMI, 1, DllStructGetSize($tBMI) - 4) ;Structgröße abzüglich der Daten für die Palette DllStructSetData($tBMI, 2, $iWidth) DllStructSetData($tBMI, 3, -$iHeight) ;minus =standard = bottomup DllStructSetData($tBMI, 4, 1) DllStructSetData($tBMI, 5, 32) ;32 Bit = 4 Bytes => AABBGGRR $adib = DllCall('gdi32.dll', 'ptr', 'CreateDIBSection', 'hwnd', 0, 'ptr', DllStructGetPtr($tBMI), 'uint', $DIB_RGB_COLORS, 'ptr*', 0, 'ptr', 0, 'uint', 0) $hbmp = $adib[0] ;hbitmap handle auf die Bitmap, auch per GDI+ zu verwenden $ptr = $adib[4] ;pointer auf den Anfang der Bitmapdaten, vom Assembler verwendet ;_arraydisplay($adib) _WinAPI_SelectObject($hcdc, $hbmp) ;objekt hbitmap in DC Return $hcdc ;DC der Bitmap zurückgeben EndFunc ;==>_CreateNewBmp32 Do you want to display one image to the GUI or the entired desktop permanently?
    1 point
  4. To belated thanks, TheSaint by the story on all form builder for Autoit. I prefer to improve the GuiBuilder Resurrected (profile model 0.9). Soon I submit this in the forum for those who want to use it or collaborate to improve this. Sorry for my 'Terrible' English... Regards Daniel.
    1 point
  5. Try this at the start of your remote function $sMsgtoDiskplay=""&StringToBinary($msg); Convert to binary hex Consolewrite("Message recieved:"&$sMsgtoDiskplay&@CRLF) Msgbox(0,"Message recieved",$sMsgtoDiskplay) You should see "0x7374617274" There might be additional invisible characters that scapy is adding on.
    1 point
  6. Loken

    About ScreenCapture.au3

    #include <ScreenCapture.au3> $Server = @computername $path = "C:\autoit-v3-setup\Examples\Ting" Example() msgbox(4096,'test',$path) Func Example() ; Capture full screen ConsoleWrite('Filepath: '&$path & $Server & ".jpg"&@CRLF) _ScreenCapture_Capture($path & $Server & ".jpg") EndFunc ;==>Example You are using $Server and $Path variables into Exmaple function. And you are trying to call Example function before define the variables. lol
    1 point
×
×
  • Create New...