Search found 496 matches
- 25 Apr 2024, 03:14
- Forum: Ask for Help (v2)
- Topic: Reposition a MsgBox?
- Replies: 5
- Views: 221
Re: Reposition a MsgBox?
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?
- Replies: 5
- Views: 221
Re: Reposition a MsgBox?
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: 241
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: 144
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: 1327
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: 144
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: 1327
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: 146
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: 144
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: 1327
- 14 Apr 2024, 20:00
- Forum: Scripts and Functions (v2)
- Topic: ChildProcess
- Replies: 1
- Views: 169
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: 183
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: 10011
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: 12
- Views: 249
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: 246
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: 123
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: 1171
Re: LV_GridColor()
Can you backport this to v1? I can't find a v1 version of this.
- 26 Mar 2024, 22:34
- Forum: Other Utilities & Resources
- Topic: General purpose config editor?
- Replies: 2
- Views: 246
General purpose config editor?
Oftentimes I have to design a GUI for user settings that doesn't really require much embellishment on the input data. I have used Ini for such applications where the user can edit the config file with any text editor. Although, it becomes unwieldy when it comes to lists and nested entries. Moreover,...
- 26 Mar 2024, 05:25
- Forum: Ask for Help (v2)
- Topic: copy on one machine, paste on another machine...
- Replies: 5
- Views: 154
Re: copy on one machine, paste on another machine...
ntfy.sh is perfect for this. Here's a preliminary implementation (text-only): #Requires AutoHotkey v2 #SingleInstance Force Persistent HOST := "ntfy.sh" SECRET := "XXXXXXXX" ; Replace this with an arbitrary string OnClipboardChange ClipSender ClipSender(DataType) { Global CS If DataType != 1 Return...
- 25 Mar 2024, 21:11
- Forum: Ask for Help (v2)
- Topic: DirCreate deny access Topic is solved
- Replies: 3
- Views: 92