Search found 85 matches
- 10 Feb 2023, 12:55
- Forum: Ask for Help (v1)
- Topic: Simple change to Gui breaks functionality
- Replies: 2
- Views: 313
Simple change to Gui breaks functionality
This simple Gui just disables the checkboxes and changes their background colour when the button is clicked. After inserting a couple of tabs, the checkboxes still get disabled, but the background colour doesn't change. Can anyone tell me what's up? Simple Gui Gui, add, Text,, Some stuff here Gui, a...
- 08 Dec 2022, 18:35
- Forum: Ask for Help (v1)
- Topic: Unable to output result from diskpart to text file.
- Replies: 6
- Views: 453
Re: Unable to output result from diskpart to text file.
Marvellous, thank you both.
- 08 Dec 2022, 15:39
- Forum: Ask for Help (v1)
- Topic: Unable to output result from diskpart to text file.
- Replies: 6
- Views: 453
Re: Unable to output result from diskpart to text file.
I haven't to be honest, Mikey. What format would that take?
- 08 Dec 2022, 15:01
- Forum: Ask for Help (v1)
- Topic: Unable to output result from diskpart to text file.
- Replies: 6
- Views: 453
Unable to output result from diskpart to text file.
Code: Select all
RunAs, %ComSpec% /c ""diskpart /s" "C:\path_to\folder name with spaces\commands.txt" > "C:\path_to\folder name with spaces\output.txt""
Code: Select all
list disk
exit
What am I doing wrong?
- 02 Jun 2022, 13:56
- Forum: Ask for Help (v1)
- Topic: Fill marquee control to 100%?
- Replies: 3
- Views: 397
Fill marquee control to 100%?
Came up with the following after scraping the forums, but can't figure how to fill the bar. Is it possible? Gui, +AlwaysOnTop Gui, Add, Progress, HwndMrq -0x1 +0x8 Gui, Add, Button,, Do Stuff Gui, Show return ButtonDoStuff: DllCall("User32.dll\SendMessage", "Ptr", Mrq, "Int", 0x40A, "Ptr", 1, "Ptr",...
- 02 Jun 2022, 13:46
- Forum: Ask for Help (v1)
- Topic: Command to drill down through Windows control panel?
- Replies: 3
- Views: 385
Re: Command to drill down through Windows control panel?
Late getting back to you on this Mikey. Thanks for your code, It works, but with a couple of caveats. The explorer panel must be set to 'Tiles' view. Can't have more than one physical adapter connected. Which Is why I was hoping for a command line option, giving either the adapter name/index as a pa...
- 28 Apr 2022, 07:00
- Forum: Ask for Help (v1)
- Topic: Command to drill down through Windows control panel?
- Replies: 3
- Views: 385
Command to drill down through Windows control panel?
Hi, I'm hoping to find a command, or series of commands, that can get me here with a single MsgBox/Gui button click, without having to do all the clicking around in the control panel and intervening dialogues. IPDialogue.png All the necessary info to select the required network adapter can be found ...
- 12 Apr 2022, 14:02
- Forum: Ask for Help (v1)
- Topic: How can I utilize these icons in a Gui? Topic is solved
- Replies: 3
- Views: 526
Re: How can I utilize these icons in a Gui? Topic is solved
@flyingDman Thanks. A bit after the fact, but I eventually found the relevant info here.
- 12 Apr 2022, 11:48
- Forum: Ask for Help (v1)
- Topic: How can I utilize these icons in a Gui? Topic is solved
- Replies: 3
- Views: 526
How can I utilize these icons in a Gui? Topic is solved
I adapted this example in the documentation to list the three icons I'd like to use, but can't figure how to use them as icons in a Gui's picture controls without first having to extract them from the dll file. Gui, Add, ListView, w42, Icons ImageListID := IL_Create(3) LV_SetImageList(ImageListID) I...
- 18 Mar 2022, 09:15
- Forum: Ask for Help (v1)
- Topic: Hide command console when using RunWaitOne() example Topic is solved
- Replies: 34
- Views: 4295
Re: Hide command console when using RunWaitOne() example Topic is solved
It does, but thanks for the link - good for future reference.
Edit: @teadrinker My above solution actually caused me problems. Thank you for providing the link to SKAN's RunCMD.
Edit: @teadrinker My above solution actually caused me problems. Thank you for providing the link to SKAN's RunCMD.
- 18 Mar 2022, 06:10
- Forum: Ask for Help (v1)
- Topic: Hide command console when using RunWaitOne() example Topic is solved
- Replies: 34
- Views: 4295
Re: Hide command console when using RunWaitOne() example Topic is solved
teadrinker Having to remind my self how to achieve this again, I stumbled on the following, courtesy Dieisson Silva dos Santos ... MsgBox % RunWaitOne("dir " A_ScriptDir) RunWaitOne(command) { DetectHiddenWindows On Run %ComSpec%,, Hide, pid WinWait ahk_pid %pid% DllCall("AttachConsole", "UInt", pi...
- 19 Feb 2022, 09:55
- Forum: Visual Studio Code
- Topic: new vscode extension allows advanced AHK V1/V2 debugging
- Replies: 70
- Views: 38139
Re: new vscode extension allows advanced AHK V1/V2 debugging
You could try asking in the extension's GitHub repository.
- 13 Oct 2021, 11:29
- Forum: Ask for Help (v1)
- Topic: Find state of radio buttons in a non AHK GUI Topic is solved
- Replies: 2
- Views: 348
Re: Find state of radio buttons in a non AHK GUI Topic is solved
Thanks Mikey.
Lack of practice and failing memory - I forgot about the information that can be gleaned from ControlGet.
Lack of practice and failing memory - I forgot about the information that can be gleaned from ControlGet.
- 13 Oct 2021, 08:36
- Forum: Ask for Help (v1)
- Topic: Find state of radio buttons in a non AHK GUI Topic is solved
- Replies: 2
- Views: 348
Find state of radio buttons in a non AHK GUI Topic is solved
Is it possible to find the state of radio buttons and check boxes in Notepad++ Find GUI, for example?
Windows Spy doesn't reveal anything, but is it possible to do using a dll call or some such?
Thanks for any pointers.
Windows Spy doesn't reveal anything, but is it possible to do using a dll call or some such?
Thanks for any pointers.
- 13 Apr 2021, 06:42
- Forum: Visual Studio Code
- Topic: new vscode extension allows advanced AHK V1/V2 debugging
- Replies: 70
- Views: 38139
- 13 Apr 2021, 06:37
- Forum: Visual Studio Code
- Topic: new vscode extension allows advanced AHK V1/V2 debugging
- Replies: 70
- Views: 38139
Re: new vscode extension allows advanced AHK V1/V2 debugging
DaveT1 The regular expressions \\s*\\;\\s*Region\\b and \\s*\\;\\s*endRegion\\b are, for all intents and purposes, 'identical' to \\s*\\;\\s*sReg\\b and \\s*\\;\\s*eReg\\b , the only difference being the 'names' of the tags have been changed. if you to change them to... "folding": { "markers": { "s...
- 12 Apr 2021, 11:29
- Forum: Visual Studio Code
- Topic: new vscode extension allows advanced AHK V1/V2 debugging
- Replies: 70
- Views: 38139
Re: new vscode extension allows advanced AHK V1/V2 debugging
This would be the correct method for a folding region (without the brackets if not required).
...but if inserting multiple indents is preferred, using Shift+Ctrl+Alt with up/down arrow keys to create multiple cursors (column mode) might help.
...but if inserting multiple indents is preferred, using Shift+Ctrl+Alt with up/down arrow keys to create multiple cursors (column mode) might help.
- 11 Apr 2021, 17:46
- Forum: Visual Studio Code
- Topic: new vscode extension allows advanced AHK V1/V2 debugging
- Replies: 70
- Views: 38139
Re: new vscode extension allows advanced AHK V1/V2 debugging
doubledave22 & boiler Don't know if this is what you're looking for - the extension vscode-autohotkey-plus-plus provides the ability to create folding blocks of code and collapsing block comments without the need for indentation. ;region These tags will create a folding region of code that doesn't ...
- 03 Feb 2021, 08:52
- Forum: Suggestions on Documentation Improvements
- Topic: v2 Documentation: StrReplace example #2 is missing CaseSense parameter Topic is solved
- Replies: 1
- Views: 814
v2 Documentation: StrReplace example #2 is missing CaseSense parameter Topic is solved
NewStr := StrReplace(Haystack, SearchText [, ReplaceText, CaseSense, OutputVarCount, Limit := -1])
MyString := StrReplace(MyString, "`r`n`r`n", "`r`n", ReplaceCount)
MyString := StrReplace(MyString, "`r`n`r`n", "`r`n", ReplaceCount)
- 31 Jan 2021, 12:25
- Forum: Ask for Help (v2)
- Topic: How to implement Gui.Destroy()? Topic is solved
- Replies: 3
- Views: 650
Re: How to implement Gui.Destroy()? Topic is solved
@kczx3 Thanks, I haven't really got a great understanding of objects, methods and callbacks etc. in v1 yet, but I have a working v1 gui that I'm struggling to convert to v2, which is a requirement for a personal project I'm attempting.