Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/27/2023 in all areas

  1. New version available 3.3.16.1 now required.
    2 points
  2. BugFix version - 27 Dec 23 Fixed: No default value set for the MaxWidth parameter - took 12 years for someone to notice it! New UDF and new examples in first post. M23
    2 points
  3. Hello. So for some time now, I've been thinking about the possibilities with a package manager for AutoIt, like npm for UDF's and such. I am curious if anyone else would be interested in such a thing, or if it would be useless/problematic in practice? My personal problem with the idea so far, is the hurdle of legality and hosting options. Your thought(s) on this matter would be greatly appreciated. Edit: Package repo web page: https://au3pm.github.io/ Docs: https://genius257.github.io/au3pm/ Project: https://github.com/genius257/au3pm/ Latest release: https://github.com/genius257/au3pm/releases/tag/0.3.1 Download link: https://github.com/genius257/au3pm/releases/download/0.3.1/au3pm.exe
    1 point
  4. Of course, like I told you before : You need to hook on your GUI, not globally. Global $hHook = _WinAPI_SetWindowsHookEx($WH_KEYBOARD, DllCallbackGetPtr($hStub), 0, _WinAPI_GetCurrentThreadId())
    1 point
  5. @argumentum Thanks for the suggestions. I'll add those in my next release. I remember now that discussion. And as TimRude noticed just above you, setting Combine taskbar buttons to Never (in Win10) also solves this issue...
    1 point
  6. Global Const $ARRAY_OF_FOLDERS = StringSplit(StringLeft(@AutoItExe, StringInStr(@AutoItExe, "\", 0, -1) -1) & "\Include" & @CR & "C:\YourPath", @CR, 2) ; ["C:\Apps\AutoIt", "C:\Program Files (x86)\AutoIt3\Include"] .. also .. $hGUI = GUICreate($GUI_TITLE, 800, 490, 190, 120, $WS_THICKFRAME + $GUI_SS_DEFAULT_GUI) DllCall('shell32.dll', 'long', 'SetCurrentProcessExplicitAppUserModelID', 'wstr', $GUI_TITLE) ; look at _WinAPI_SetCurrentProcessExplicitAppUserModelID() This what I did to mine. Thanks for the update
    1 point
  7. Updated the initial post with a link to the latest updated SciTE4AutoIt3 beta installer and portable zip file. These contain all the current/latest versions so no need for other stuff after the update. Don't forget to make a Backup first to ensure there is an easy rollback in case of issues. Jos
    1 point
  8. version 0.3.1 released. https://github.com/genius257/au3pm/releases/tag/0.3.1 changes: Fixed issues with collecting available AutoIt3 versions (52f5b8d) Changed AutoIt dependency support from just "AutoIt" with non complient semantic versioning, to "autoit1", "autoit2" and "autoit3" that are complient with semantic versioning Deprecated "AutoIt" dependency Fixed issues with wrong parsing and stringification of escaped chars in JSON strings. (a787859) Changed the run command, to also support no additional parameters (177a9ce)
    1 point
  9. ioa747

    Draw multiple circles

    #include <GUIConstantsEx.au3> #include <ColorConstants.au3> GUICreate("My Draw", 300, 300) $NumCircles = 5 $size = 10 $xPos = 20 $yPos = 50 $Colour = "0x21FA06" GUISetState(@SW_SHOW) $circle = GUICtrlCreateGraphic(0, 0, 300, 300) GUICtrlSetGraphic(-1, $GUI_GR_COLOR, $Colour, $Colour) For $ThisCircle = 0 to 4 GUICtrlSetGraphic(-1, $GUI_GR_ELLIPSE, $xPos + (($ThisCircle + 1) * $size * 1.3), $yPos, $size, $size) GUICtrlSetGraphic(-1, $GUI_GR_REFRESH) ConsoleWrite($ThisCircle & @CRLF) Sleep(500) Next ;~ sleep(1000) ;********************************** While 1 Switch GUIGetMsg() Case -3 ;$GUI_EVENT_CLOSE ExitLoop EndSwitch WEnd ;**********************************
    1 point
  10. tubaba

    Tooltip for disabled control

    #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> GUICreate("test", 800, 400) For $X = 0 To 300 Step 90 For $Y = 0 To 300 Step 20 $Spectrascope = GUICtrlCreateCheckbox('test me', $X, $Y, 90, 20) If Mod($X, 20) = 0 Then GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlSetTip(-1, $X) GUICtrlCreatePic("", $X, $Y, 90, 20, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS)) GUICtrlSetTip(-1, $X) Next Next GUISetState() Do Sleep(10) Until GUIGetMsg() = -3
    1 point
  11. Hi, Something like this I guess : #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> #include <GUIMenu.au3> Local $hGUI = GUICreate("Control Panel", 1024, 720, -1, -1, -1, $WS_EX_TOOLWINDOW) Local $hSysMenu = _GUICtrlMenu_GetSystemMenu($hGUI) _GUICtrlMenu_DeleteMenu($hSysMenu, $SC_MINIMIZE, False) _GUICtrlMenu_DeleteMenu($hSysMenu, $SC_MAXIMIZE, False) GUISetState(@SW_SHOW, $hGUI) While GUIGetMsg() <> $GUI_EVENT_CLOSE Sleep(10) WEndBr, FireFox.
    1 point
×
×
  • Create New...