Search found 17055 matches

by boiler
Today, 15:24
Forum: Ask for Help (v2)
Topic: How to modify the text in the GUI?
Replies: 2
Views: 49

Re: How to modify the text in the GUI?

Don't create the Gui in the hotkey. Create it once, and then just show it (Shift key in this example) or change the text (Ctrl key in this example): #Requires AutoHotkey v2.0 myGui := Gui("-SysMenu +ToolWindow +AlwaysOnTop -Caption -DPIScale +E0x20") myGui.Add("Text", "vMyText", "Test") Shift::myGui...
by boiler
Today, 15:15
Forum: Ask for Help (v2)
Topic: Moved to Windows 11 - Script not working
Replies: 4
Views: 90

Re: Moved to Windows 11 - Script not working

Here's the v2 translation: #Requires AutoHotkey v2.0 ;======================================================================================== ;--------------------------------------------------------------------3dsMax----------------------------------------------------------------------- ;=========...
by boiler
Today, 15:02
Forum: Ask for Help (v2)
Topic: Need Help with ControlClick
Replies: 2
Views: 131

Re: Need Help with ControlClick

The control name appears after "ClassNN:" in the Window Spy display. So you can try the line below, but if you see that the ClassNN doesn't change as you move the cursor onto other controls on that window, then it's not going to work. And it may not work anyway since not all windows will accept virt...
by boiler
Today, 14:40
Forum: Ask for Help (v2)
Topic: Moved to Windows 11 - Script not working
Replies: 4
Views: 90

Re: Moved to Windows 11 - Script not working

revel - AHK v2 has different syntax than v1. To learn how to write v2 code, see the v2 documentation . Are you also asking for help translating this to v2, or do you just want help with the v1 version? If the latter, I'll move the thread to the v1 section of the forum. Also, please use [code][/code...
by boiler
Today, 07:24
Forum: Ask for Help (v2)
Topic: With keyboard launcher (Run command), Win + key is not focused. Is this on spec of Windows?
Replies: 5
Views: 249

Re: With keyboard launcher (Run command), Win + key is not focused. Is this on spec of Windows?

@Hiroki-H -- Please put [code][/code] tags around your code when posting code on the forum. Thank you. The moderators have been adding them for you on your prior posts.
by boiler
Today, 04:03
Forum: Editors
Topic: What editors do you use for use with DLLs and COM?
Replies: 4
Views: 254

Re: What editors do you use for use with DLLs and COM?

I’m not sure what you’re asking. To connect to and interface with a COM object, there’s nothing to write in C or any other language. Just interface with the object per the Microsoft specs directly in AHK. Is that what you mean? Is below an example of what you were thinking might be written in C/C++/...
by boiler
Today, 03:30
Forum: Ask for Help (v2)
Topic: Why the text color doesn't change Topic is solved
Replies: 2
Views: 149

Re: Why the text color doesn't change Topic is solved

The option starts with a c. It’s the same reason it’s cRed and not Red. So you just need to add a c before the color value:

Code: Select all

ctl.Opt('c' cc)
by boiler
Yesterday, 22:18
Forum: Ask for Help (v1)
Topic: How to program a "hard space"
Replies: 5
Views: 279

Re: How to program a "hard space"

@NimRinon — The moderators have added code tags to each your posts so far and have added comments asking you to do the same. Please don’t post code again without putting [code]code[/code] tags around it. Thank you.
by boiler
Yesterday, 14:17
Forum: Ask for Help (v1)
Topic: Security warning for v 1.1
Replies: 2
Views: 293

Re: Security warning for v 1.1

You probably would have to override your protection. As far as feeling comfortable with it, if you download the zip file from the download page, you can compare the hash code that lexikos shows in the announcement to know it's the same file.
by boiler
Yesterday, 10:58
Forum: Ask for Help (v1)
Topic: Why does this script sometimes does nothing?
Replies: 15
Views: 1003

Re: Why does this script sometimes does nothing?

I don't know why that would be happening. So you're saying that this Reload version also intermittently fails to move the window after the program closes and you run it again and the window appears again?
by boiler
20 May 2024, 15:38
Forum: Ask for Help (v2)
Topic: Script to add plugin to FF
Replies: 3
Views: 288

Re: Script to add plugin to FF

MileHiDave - Please don't make any more posts that contain code without adding [code][/code] tags! Here is how you do it: add code tags.png The code, I think, should work now but I am still having issues: You keep saying this as if you feel confident in your grasp of AHK syntax, but the various thi...
by boiler
20 May 2024, 12:57
Forum: Ask for Help (v1)
Topic: Why does this script sometimes does nothing?
Replies: 15
Views: 1003

Re: Why does this script sometimes does nothing?

You can try that. If you’re going to do that, then there’s no reason for the loop because the Reload will start it over before it has a chance to loop, so it’s like a built in loop: Menu, Tray, Icon, Icons\shell32_184.ico WinWait, ahk_class ApplicationFrameWindow ahk_exe ApplicationFrameHost.exe Win...
by boiler
20 May 2024, 12:54
Forum: Gaming Help (v1)
Topic: Hold key does not work
Replies: 3
Views: 293

Re: Hold key does not work

It only presses it down once, and it holds it down. That’s what you have the hotkey coded to do. You don’t have it set up to press the key over and over. Before the correction, it was releasing it immediately. Now it holds it down until you press Numpad1 again. Perhaps holding it down doesn’t have t...
by boiler
20 May 2024, 07:43
Forum: Ask for Help (v2)
Topic: Unable to execute code that waits for one process to exit before exiting another process. Topic is solved
Replies: 2
Views: 167

Re: Unable to execute code that waits for one process to exit before exiting another process. Topic is solved

For one thing, aren't you finding that your script immediately ends as soon as you run it? You would have to add Persistent at the top for it to continue running so the timer could keep going. And then, what are you trying to accomplish with the line below and why?

Code: Select all

SetTimer , 0
by boiler
19 May 2024, 23:00
Forum: Scripts and Functions (v2)
Topic: CSVtoDict v2
Replies: 12
Views: 1308

Re: CSVtoDict v2

…none of the solutions worked in all cases for me because the tool that I'm working on has some special requirements for CSV parsing: Users could save data from Excel with multi-line quoted values, so the file can have \n and \r\n line endings. Users could edit the CSV file from a text editor, so t...
by boiler
19 May 2024, 22:51
Forum: Bug Reports
Topic: loop parse "CSV" doesn't work for some CSV
Replies: 9
Views: 502

Re: loop parse "CSV" doesn't work for some CSV

Your example of malformed CSV is not appearing in OP’s example. This is one row: Test 1,"1 1 1" The breaks within it keep it within the same row because they are inside quote (making them all within the second cell of that row. Then there is a line break separating that row from the next one, which ...
by boiler
19 May 2024, 19:40
Forum: Gaming Help (v1)
Topic: Hold key does not work
Replies: 3
Views: 293

Re: Hold key does not work

You have it triggering the w hotkey when you send it from the Numpad1 hotkey’s routine, which causes it to release right after you send it. You say it used to work, but I don’t see how it could have. Change the ~w:: to ~$w:: to prevent it from getting triggered when sending the w down.
by boiler
19 May 2024, 19:33
Forum: Bug Reports
Topic: loop parse "CSV" doesn't work for some CSV
Replies: 9
Views: 502

Re: loop parse "CSV" doesn't work for some CSV

I don’t believe your example is malformed. They are just line breaks inside of a quoted field, so it should be handled with a well-written library.
by boiler
19 May 2024, 03:50
Forum: Scripts and Functions (v2)
Topic: CSVtoDict v2
Replies: 12
Views: 1308

Re: CSVtoDict v2

This is a first cut at something that splits the lines appropriately and produces the desired output when quoted fields contain line breaks. Caveats are that it doesn't handle cases where the CSV file contains escaped quote characters (although that would be an easy modification), and it wouldn't be...
by boiler
19 May 2024, 02:38
Forum: Scripts and Functions (v2)
Topic: CSVtoDict v2
Replies: 12
Views: 1308

Re: CSVtoDict v2

That is more complicated because you can't simply split strings on line breaks. You would have to write a function that doesn't split on line breaks if they are between a pair of quotation marks.

Go to advanced search