Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/25/2017 in all areas

  1. This thread feels like a broken record ..
    2 points
  2. It's located in equity.js AFAICS.
    1 point
  3. monoceres

    AVI writing udf

    Yep, 7 months later and I finally did it! It's a UDF for creating uncompressed avi:s from bitmap files (support for compressing the video, may or may not appear). The structure is very easy: Start the avi libraryCreate a avi fileAdd bitmaps to itClose the aviStop the avi libraryDownload:AVIWriter.au3 Previous downloads: 55 Example: ; Example by ProgAndy #include <ScreenCapture.au3> #include "AVIWriter.au3" Hotkeyset("{ESC}","close") Break(0) FileDelete(@DesktopDir & "\test.avi") _StartAviLibrary() $avi = _CreateAvi(@DesktopDir & "\test.avi", 5,200,200) Do $m = MouseGetPos() $hBmp = _ScreenCapture_Capture("", $m[0] - 100, $m[1] - 100, $m[0] + 100, $m[1] + 100, True) _AddHBitmapToAvi($avi, $hBmp) _WinAPI_DeleteObject($hBmp) Sleep(200) Until False Func close() _CloseAvi($avi) _StopAviLibrary() exit EndFunc;==>close Enjoy! Link to FireFox's AviScreencapture tool that relies on this udf.
    1 point
  4. Have you done as proposed and looked at ... Doubt anybody will code it for you unless you give it a start yourself first and have something to show us. The other option could be to check out WinHttp.au3 by @trancexx. Jos
    1 point
  5. kiendp

    Countdown timer

    Thank you! I'd found your post yet, and then I tried another way and solved my problems
    1 point
  6. Jos

    SCITE

    Just had a play and added the option to copy the comments with the current available Tidy version in Beta: Jos
    1 point
  7. zauber3r, And so? If you want to detect a mouseclick then that is the way to do it - unless you want to get even more exotic and start registering Windows messages, which is even more code..... M23
    1 point
  8. Belini, This is how I do it: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> ; Set resize mode for controls Opt("GUIResizeMode", $GUI_DOCKAUTO) Global $iGUIInitSize = 500 $hGUI = GUICreate("Test", $iGUIInitSize, 500, -1, -1, BitOR($WS_SIZEBOX, $WS_SYSMENU)) $cButton = GUICtrlCreateButton("Resizing text", 10, 10, 80, 30) $iLast_Control = GUICtrlCreateDummy() GUISetState() GUIRegisterMsg($WM_SIZE, "_WM_SIZE") While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Func _WM_SIZE($hWnd, $iMsg, $wParam, $lParam) #forceref $iMsg, $wParam, $lParam If $hWnd = $hGUI Then ; Calculate required font size Local $aGUI_Size = WinGetClientSize($hGUI) $iFontSize = Int(2 * (.25 + (8 * $aGUI_Size[0] / $iGUIInitSize))) / 2 ; Reset font size for all controls on main GUI For $i = 0 To $iLast_Control GUICtrlSetFont($i, $iFontSize) Next EndIf EndFunc ;==>_WM_SIZE M23
    1 point
×
×
  • Create New...