Jump to content

Werty

Active Members
  • Posts

    1,309
  • Joined

  • Last visited

  • Days Won

    42

Werty last won the day on September 2 2025

Werty had the most liked content!

Profile Information

  • Member Title
    ♥ 96.7k
  • Location
    Danmark

Recent Profile Visitors

2,966 profile views

Werty's Achievements

  1. Rgn is usually _WinAPI_CreateRectRgn() (or CreateRoundRectRgn), but somehow SysDateTimePick32 doesnt want to play along, also behaves weird like it's drawn from bottom up, as in X,Y pos is not the top left corner but the lower left corner. Rgn works fine with SetWindowRgn but not with InvertRgn... #Region DATE $hRgn = _WinAPI_CreateRectRgn(5, 300, 210, 330) _WinAPI_SetWindowRgn($hGui, $hRgn) ;~ _WinAPI_InvertRgn ($hGUI, $hRgn) ; <-- doesnt want to play along for some reason GUICtrlCreateDate("", 5, 280, 200, 20) #EndRegion DATE
  2. Maybe this is what you are looking for...
  3. If you are not already doing it you can enlarge the windows zoom level... Right-Click the desktop and choose "Display Settings" and under "Scale and layout" change the scale level to 150% or whatever suits your needs. Also, in SciTE you can hold down CTRL on your keyboard and use the scroll wheel on your mouse to zoom in and out.
  4. @ioa747, maybe you (or copilot) overlooked something, it's only in the 2nd item he has {HOME}, in the other 3 he has {DOWN}. Or is it me who is overlooking something. 😛
  5. Please make a folder with all the files and then zip the whole folder and upload it, as it is now people have to first make a folder, then download 7 files into it, very few is gonna be bothered with that. Just if you want as much response as possible.
  6. You pretty much got what we are allowed to discuss on that subject, going deeper would be against forum rules as it's not allowed to discuss keylogging or keypresses other than a few simple _IsPressed() which you already got.
  7. Ok that works, kinda, it doesnt trigger until I moved the mouse from the start button and into the window.
  8. Same thing, atleast if I'm doing it right, could you post an example of what exactly you mean?
  9. I'm on win10 and have hidden taskbar, your script triggers when I only hover over the start button, without clicking and opening it.
  10. What about .fr and .es?
  11. Exit test() Func test() Local $sStr = "a ''' 123 ''' b" ConsoleWrite(@CRLF & StringReplace(StringLeft($sStr, StringLen($sStr)/2+1), "'''", "*'") & StringReplace(StringRight($sStr, StringLen($sStr)/2), "'''", "'*") & @CRLF & @CRLF) ; ' a *' 123 *' b ' EndFunc Not pretty but works 😛
  12. f in C# means float, but you are treating them as Hex. So it's just $t =$Hue * 6 in AU3, removing the f.
  13. Then why not use a hardware serial like baseboard serial so the program can only be run on that machine.
  14. May not be related, but in AutoIt after version 3.3.12 there were things that were broken, like stuff I was able to do in 3.3.12 didnt work in later AutoIt versions, but that was concerning ImageMagick.dll COM object, dont know if that also ruined stuff like your problem. Reference post https://www.autoitscript.com/forum/topic/199781-rgb-imgs-to-cmyk-to-tiff/#comment-1433227
  15. Also... Func _RGBSaturation($r, $g, $b) Local $m = $r >= $g ? $r : $g >= $b ? $g : $b If $m = 0 Then Return 0 Return (($m - ($r <= $g ? $r : $g <= $b ? $g : $b)) / $m) * 100 EndFunc ..and then get rid of the _Max() and _Min() functions. With a little more effort the whole thing could probably be a one liner and getting rid of the RGBSaturation() func also.
×
×
  • Create New...