Search found 501 matches

by william_ahk
Today, 03:47
Forum: Scripts and Functions (v2)
Topic: Sudoku
Replies: 1
Views: 168

Re: Sudoku

This is amazing!!
by william_ahk
Yesterday, 09:41
Forum: Scripts and Functions (v1)
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 77
Views: 21435

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

I'm curious about how ScriptGuard2 works. Where is the random password stored? How safe is it?
by william_ahk
07 May 2024, 08:15
Forum: Wish List
Topic: add FileWrite function in alpha version
Replies: 9
Views: 1075

Re: add FileWrite function in alpha version

I second this, I use the above much more frequent than FileAppend. There should be a function for this.
by william_ahk
30 Apr 2024, 21:00
Forum: Ask for Help (v2)
Topic: Gui Edit (TextBox) auto show/hide scrollbar on mouse hover?
Replies: 6
Views: 609

Re: Gui Edit (TextBox) auto show/hide scrollbar on mouse hover?

Seven0528 Thank you for taking an interest. That's a lot of code! :crazy: During my testing it seems like there's something fishy about the Redraw function. It would reshow the scrollbar despite -VScroll. If we call it three or more times with some delay in between, the scrollbar would be finally g...
by william_ahk
29 Apr 2024, 20:20
Forum: Ask for Help (v2)
Topic: Gui Edit (TextBox) auto show/hide scrollbar on mouse hover?
Replies: 6
Views: 609

Gui Edit (TextBox) auto show/hide scrollbar on mouse hover?

I attempted the following. But it's a bit buggy - when the mouse flies over the scrollbar it would get stuck. #Requires AutoHotkey v2.0 #SingleInstance Force WM_COMMAND := 0x0111 WM_MOUSEMOVE := 0x0200 WM_MOUSELEAVE := 0x02A3 G := Gui() TB := G.AddEdit("-E0x200 +ReadOnly w200 r5", "Lorem ipsum dolor...
by william_ahk
25 Apr 2024, 03:14
Forum: Ask for Help (v2)
Topic: Reposition a MsgBox? Topic is solved
Replies: 5
Views: 334

Re: Reposition a MsgBox? Topic is solved

Draken I didn't discover this message code. It was well established in v1 in this thread , I just translated it into v2. It appears to be WM_COMMNOTIFY according to this table https://www.autoitscript.com/autoit3/docs/appendix/WinMsgCodes.htm but I have no idea what that means. :D The AND operator ...
by william_ahk
24 Apr 2024, 21:30
Forum: Ask for Help (v2)
Topic: Reposition a MsgBox? Topic is solved
Replies: 5
Views: 334

Re: Reposition a MsgBox? Topic is solved

This method is more reliable

Code: Select all

OnMessage(0x44, CB := (*)=>(DetectHiddenWindows(True), WinExist("ahk_class #32770 ahk_pid " ProcessExist()) && WinMove(A_ScreenWidth-300)))
MsgBox("Right")
OnMessage(0x44, CB, 0)
MsgBox("Normal")
by william_ahk
22 Apr 2024, 19:30
Forum: Ask for Help (v2)
Topic: Gui Edit control accept file paste? Topic is solved
Replies: 4
Views: 207

Re: Gui Edit control accept file paste? Topic is solved

Yeah I guess I'll have to make a custom context menu in that case. But anyway, this is sufficient to me :D
by william_ahk
22 Apr 2024, 19:21
Forum: Scripts and Functions (v2)
Topic: Sequence generator
Replies: 8
Views: 1681

Re: Sequence generator

Template is fed into the Format function, supporting any format option defined in the docs. kunkel321 I have mentioned this in the post :D For the format string you tested, the syntax of the first parameter of Format is {Index:Format} . Index can only be 1 in this case as only a single value is pro...
by william_ahk
22 Apr 2024, 06:36
Forum: Ask for Help (v2)
Topic: Gui Edit control accept file paste? Topic is solved
Replies: 4
Views: 207

Re: Gui Edit control accept file paste? Topic is solved

Yes that's just what I need :thumbup:
This would cover most cases. But just a thought - is there any wizardry we can apply to Context Menu - Paste (or Shift+Ins) without modifying the clipboard?
by william_ahk
22 Apr 2024, 02:57
Forum: Scripts and Functions (v2)
Topic: Sequence generator
Replies: 8
Views: 1681

Re: Sequence generator

Like so MainGui := Gui("+AlwaysOnTop", "Series Generator")
by william_ahk
21 Apr 2024, 23:21
Forum: Scripts and Functions (v1)
Topic: SelectArea() improved
Replies: 0
Views: 326

SelectArea() improved

Modified the return value type to associative array, added built-in mouse drag support and cross cursor style. Feel free to improve the structure and report any bugs. Function: SelectArea(Options:="") { ; original by Learning One https://www.autohotkey.com/board/topic/57646-function-selectarea/ /* R...
by william_ahk
21 Apr 2024, 21:05
Forum: Ask for Help (v2)
Topic: Gui Edit control accept file paste? Topic is solved
Replies: 4
Views: 207

Gui Edit control accept file paste? Topic is solved

How can we make the Edit control to recognize the CF_HDROP format as a string, so that when we paste a file into it the filepath would be taken in? I don't want to register hotkeys to achieve this like ^v::MyGui.FocusedCtrl.Value := A_Clipboard
by william_ahk
20 Apr 2024, 19:09
Forum: Scripts and Functions (v2)
Topic: Sequence generator
Replies: 8
Views: 1681

Re: Sequence generator

peter_ahk wrote:
20 Apr 2024, 16:06
very nice, would it be ok if i add this as a tool to my macro lancher in there i am working on a setup gui to batch change button postions and this would be a great tool to include in there to generate a position list
Of course :)
by william_ahk
14 Apr 2024, 20:00
Forum: Scripts and Functions (v2)
Topic: ChildProcess
Replies: 1
Views: 404

Re: ChildProcess

Finally! I've been waiting for this. :bravo:
by william_ahk
02 Apr 2024, 03:01
Forum: Wish List
Topic: Break, continue - allow expression mode
Replies: 28
Views: 10313

Re: Break, continue - allow expression mode

Another way I just discovered, braces are used but lines are saved, also makes semantic sense.

Code: Select all

for index, item in list {
} until item = input && found := index
by william_ahk
01 Apr 2024, 02:07
Forum: General Discussion
Topic: How many have Spinning HDs vs SSDs?
Replies: 13
Views: 689

Re: How many have Spinning HDs vs SSDs?

I used to have the system installed on an HDD and there was this one software that writes its config periodically to the disk, and I can hear the noise every 2 seconds. It was absolutely annoying and I uninstalled it. :lol: But in the case of logs I suppose there is no other way around the constant ...
by william_ahk
30 Mar 2024, 10:06
Forum: Other Utilities & Resources
Topic: General purpose config editor?
Replies: 2
Views: 641

Re: General purpose config editor?

list Thanks! This seems really interesting, I will use it in one of my projects. During my re search, I found that this sort of control is called PropertyGrid and is well established in the .NET world. I also found this fully functional demo . It doesn't feature a TreeView though. configeditor.png

Go to advanced search