Jump to content

argumentum

MVPs
  • Posts

    5,215
  • Joined

  • Last visited

  • Days Won

    165

argumentum last won the day on October 25

argumentum had the most liked content!

About argumentum

Profile Information

  • Member Title
    ✨Universalist ✨
  • Location
    I'm in your browser now =)
  • WWW
    https://www.youtube.com/watch?v=SjwX-zMRxO0&t=5s
  • Interests
    Relax

Recent Profile Visitors

13,613 profile views

argumentum's Achievements

  1. The manifest in my view is "I can do this and, I can do this and, I can do this and, ... " So, you have a manifest that say "in can do it all", and you do what you can. But at least you're not limited by the OS saying "oh no, you can't do that". That's my take.
  2. ..we'll still need those *.manifest for testing the scripts w/o compiling. Hopefully @Jon get's to compile the next AutoIt3 version with this in it.
  3. SciTE is compiled depending on these libraries to be at least from the same version and will not do anything other than those libraries. It takes a minute to do and you'd see results right away if that was the culprit. Your hardware is what is. No need to dig deep into what you have or not. That PC is 6 or 7 years old ( my guess ) and that's that. But it feels much slower with SciTE. That library update is not a big deal. Am not after "what was the problem" or who solved it. Just to fix it. Nah, the x86 should work just as well. But the VCredist needs to be up to date.** If that wasn't it then, windows 10 IoT enterprise end of life is in 2027, and there should be a way to buy it online if you need the support. ** I mean the SciTE editor. The one on the site and not the beta ( v5 ) that has a 64 and 32 bit compile.
  4. re-install/update the VCredist x86. Maybe that's all there is to it.
  5. Why not Koda like ? That will be easier for you and the user 🤔 My 2 cents.
  6. It is a pleasure to see people getting the hang of it and realizing their visions 🍷
  7. "One of the reasons FastFind is so much quicker than AutoIt's native pixel search functions is it's use of SnapShots. A SnapShot is basically a pixel map of a specified area on screen as it looked at the time the SnapShot was taken. This pixel information is stored in active memory, which means your script can access it much, much faster than the time it would take to make a new pixel request from the screen. Once a SnapShot is taken, search operations can be performed on that SnapShot until that memory is freed or overwritten." Yes, you could take a screenshot and search the BMP. I forgot what thread it was at but working code ( other than this DLL ) can be found in the forum ( if you find it ). @paw, thanks for the link. I never use pixel... anything but it looks good
  8. ...there is also IPC. The code could ask the other code to show itself.
  9. You could have more instances looking for it and report via IPC ( my take on "how" here ) and there are a few in the WiKi that you can try. This way if you run 8 chunks of screen, it'll 8 times faster of whatever technique you use.
  10. #NoTrayIcon #include <AutoItConstants.au3> #include <TrayConstants.au3> #include <GUIConstantsEx.au3> #include <MsgBoxConstants.au3> #include <StaticConstants.au3> Global $hGUI Opt("TrayMenuMode", 3) Opt("TrayAutoPause", 0) Opt("TrayOnEventMode", 1) TraySetOnEvent($TRAY_EVENT_PRIMARYDOWN, 'idGUI') TraySetClick(16) Global $idGUI = TrayCreateItem("Show GUI") TrayItemSetOnEvent($idGUI, "idGUI") TrayCreateItem("") Global $idExit = TrayCreateItem('Exit') TrayItemSetOnEvent($idExit, "_Exit") TraySetIcon(@AutoItExe, 1) TraySetToolTip("Show GUI") Example() Func Example() Local $sDefaultstatus = "Ready" $hGUI = GUICreate("My GUI menu", 300, 200) Local $idMnu_File = GUICtrlCreateMenu("&File") Local $idMnu_Help = GUICtrlCreateMenu("Help") Local $idMni_Info = GUICtrlCreateMenuItem("About", $idMnu_Help) Local $idMnu_View = GUICtrlCreateMenu("View", -1, 1) Local $idBtn_Hide = GUICtrlCreateButton("Hide GUI", 50, 130, 70, 20) GUICtrlSetState(-1, $GUI_FOCUS) Local $idBtn_Cancel = GUICtrlCreateButton("Exit", 180, 130, 70, 20) Local $idLbl_Status = GUICtrlCreateLabel($sDefaultstatus, 0, 165, 300, 16, BitOR($SS_SIMPLE, $SS_SUNKEN)) GUISetState(@SW_SHOW) ; Loop until the user exits. While 1 Switch GUIGetMsg() Case $idBtn_Hide ;~ GUISetState(@SW_HIDE, $hGUI) WinSetState($hGUI, "", @SW_HIDE) Case $idBtn_Cancel, $GUI_EVENT_CLOSE ExitLoop Case $idMni_Info MsgBox($MB_SYSTEMMODAL, "Info", "Only a test...") EndSwitch WEnd GUIDelete() EndFunc ;==>Example Func _Exit() Exit EndFunc Func idGUI() If Not BitAND(WinGetState($hGUI), $WIN_STATE_VISIBLE) Then WinSetState($hGUI, "", @SW_SHOW) ;~ ; get GUI window state ;~ Local $iState = WinGetState($hGUI) ;~ If $iState <> $WIN_STATE_VISIBLE Then GUISetState(@SW_SHOW, $hGUI) EndFunc yes, is an old bug, and the way it is. Fortunately you can get around it.
  11. I'd have to look at it but "I ain't got time for that" Since you ( and UEZ ) are doing stuff to it, might as well ... add a $g_DarkModeType = 1, or 2, for the old/new style.. 🤷‍♂️ Good to know that M$ are attending to it
  12. so, you'll be updating the current "mod" zip we all use with these new values ? 😅
  13. Any of this code ( https://www.autoitscript.com/forum/topic/191058-datetime-pick-coloring ) useful ?
  14. AM NOT A DOG ! ( didn't see your post until now ) this is in full screen on 100% this is full screen in 200% Hope this helps. I know that helping would be getting more involved. Ain't got much attention surplus these days.
  15. ... Local $sFile = StringLeft(@AutoItExe, StringInStr(@AutoItExe, "\", 0, -1) -1 ) & "\Examples\GUI\logo4.gif" Local $hImage = _GDIPlus_ImageLoadFromFile($sFile) ;create an image object based on a file Global $hWorkerW = _WinAPI_FindWindowEx($hProgman, 0, "WorkerW", "") If Not $hWorkerW Then ; dah Local $aEnumWindows = _WinAPI_EnumWindows(False) For $n = 1 To UBound($aEnumWindows) - 1 If $aEnumWindows[$n][1] <> "WorkerW" Then ContinueLoop If _WinAPI_GetParent($aEnumWindows[$n][0]) = $hProgman Then $hWorkerW = $aEnumWindows[$n][0] ExitLoop ; but is likely one at the end of the Z-order EndIf Next EndIf If $hWorkerW = 0 Then Exit MsgBox(16, "ERROR", "Couldn't find WorkerW under Progman", 30) ... OnAutoItExitRegister(CleanupResources) While GUIGetMsg() <> $GUI_EVENT_CLOSE WEnd CleanupResources() Func CleanupResources() Local Static $iRunOnce = 0 If $iRunOnce Then Return ConsoleWrite('+ Func CleanupResources() - WinExists: ' & WinExists($hGUI) & ' - ' & (IsInt(Execute("@exitCode")) ? 'TrayExit' : 'GuiClosed') & @CRLF) ;cleanup resources _GDIPlus_BrushDispose($hTexture) _GDIPlus_ImageDispose($hImage) _GDIPlus_GraphicsDispose($hGraphics) _GDIPlus_Shutdown() GUIDelete($hGUI) $iRunOnce = 1 EndFunc ... ...be mindful of everyone and everything ?
×
×
  • Create New...