Search found 499 matches
- 07 May 2024, 08:15
- Forum: Wish List
- Topic: add FileWrite function in alpha version
- Replies: 9
- Views: 1009
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.
- 30 Apr 2024, 21:00
- Forum: Ask for Help (v2)
- Topic: Gui Edit (TextBox) auto show/hide scrollbar on mouse hover?
- Replies: 6
- Views: 591
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...
- 29 Apr 2024, 20:20
- Forum: Ask for Help (v2)
- Topic: Gui Edit (TextBox) auto show/hide scrollbar on mouse hover?
- Replies: 6
- Views: 591
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...
- 25 Apr 2024, 03:14
- Forum: Ask for Help (v2)
- Topic: Reposition a MsgBox? Topic is solved
- Replies: 5
- Views: 332
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 ...
- 24 Apr 2024, 21:30
- Forum: Ask for Help (v2)
- Topic: Reposition a MsgBox? Topic is solved
- Replies: 5
- Views: 332
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")
- 24 Apr 2024, 08:49
- Forum: Ask for Help (v2)
- Topic: Is it possible to create an on screen fireworks visual effect Topic is solved
- Replies: 6
- Views: 362
Re: Is it possible to create an on screen fireworks visual effect Topic is solved
I found this AutoIt implementation https://www.autoitscript.com/forum/files/file/382-gdi-simple-firework/
Someone adept at Gdip could try to translate this into AHK
Someone adept at Gdip could try to translate this into 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
- 22 Apr 2024, 19:21
- Forum: Scripts and Functions (v2)
- Topic: Sequence generator
- Replies: 8
- Views: 1677
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...
- 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
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?
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?
- 22 Apr 2024, 02:57
- Forum: Scripts and Functions (v2)
- Topic: Sequence generator
- Replies: 8
- Views: 1677
Re: Sequence generator
Like so MainGui := Gui("+AlwaysOnTop", "Series Generator")
- 21 Apr 2024, 23:21
- Forum: Scripts and Functions (v1)
- Topic: SelectArea() improved
- Replies: 0
- Views: 308
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...
- 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
- 20 Apr 2024, 19:09
- Forum: Scripts and Functions (v2)
- Topic: Sequence generator
- Replies: 8
- Views: 1677
- 14 Apr 2024, 20:00
- Forum: Scripts and Functions (v2)
- Topic: ChildProcess
- Replies: 1
- Views: 398
Re: ChildProcess
Finally! I've been waiting for this.
- 08 Apr 2024, 06:32
- Forum: Other Utilities & Resources
- Topic: Best way to automate web forms?
- Replies: 1
- Views: 549
Re: Best way to automate web forms?
Check out UIAutomation and FindText.
- 02 Apr 2024, 03:01
- Forum: Wish List
- Topic: Break, continue - allow expression mode
- Replies: 28
- Views: 10274
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
- 01 Apr 2024, 02:07
- Forum: General Discussion
- Topic: How many have Spinning HDs vs SSDs?
- Replies: 13
- Views: 646
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 ...
- 30 Mar 2024, 10:06
- Forum: Other Utilities & Resources
- Topic: General purpose config editor?
- Replies: 2
- Views: 625
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
- 28 Mar 2024, 22:01
- Forum: Ask for Help (v2)
- Topic: Why the interpreter complains about multiple statements inside an arrow function?
- Replies: 3
- Views: 185
Re: Why the interpreter complains about multiple statements inside an arrow function?
That's fantastic!lexikos wrote: ↑28 Mar 2024, 19:51However, v2.1-alpha.3+ permits function definition expressions, where you just write a proper function definition inline (without =>, and optionally omitting the name).
- 27 Mar 2024, 23:04
- Forum: Scripts and Functions (v2)
- Topic: LV_GridColor()
- Replies: 3
- Views: 1408
Re: LV_GridColor()
Can you backport this to v1? I can't find a v1 version of this.