Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/27/2023 in Posts

  1. @TheDcoder, Thanks for the reply. Well, I am cooking something interesting for AutoIt. A gui library fpr AutoIt. All heavy works are happening inside the dll. So after creating a window class, I need to transfer the necessary properties from the dll function to autoit. Currently map is in my radar. I am planning to use Scripting.Dictionary also. There are more than 20-25 properties and event name indexes to transfer. Anyhow, I am searching for new ways to do it.
    1 point
  2. Melba23

    Clamp function.

    kevinalberts, Welcome to the AutoIt forums. Here is my take on a "clamp" function: - @extended shows whether the passed value has been "clamped": For $i = 1 To 20 ConsoleWrite(_Clamp($i, 5, 15) & " - " & @extended & @CRLF) Next Func _Clamp($iValue, $iMin, $iMax) Local $fClamp = False If $iValue < $iMin Then $iValue = $iMin $fClamp = True ElseIf $iValue > $iMax Then $iValue = $iMax $fClamp = True EndIf Return SetError(0, $fClamp, $iValue) EndFunc I have left @error alone so you can do some initial checking on the passed value to see if it meets your requirements. M23
    1 point
  3. jchd

    Kobo Cover Fixer

    Missing images you should be able to recreate. Examine the case where all 3 formats exist, look at image parameters (color depth, size, ..., exif data) and resize existing images to the required missing format. I don't get the folder/subfolder logic either.
    0 points
×
×
  • Create New...