Search found 218 matches
- 23 Feb 2024, 00:02
- Forum: Scripts and Functions (v1)
- Topic: [Class] expect.ahk (rapid unit testing)
- Replies: 12
- Views: 3151
- 22 Feb 2024, 07:50
- Forum: Scripts and Functions (v1)
- Topic: [Class] expect.ahk (rapid unit testing)
- Replies: 12
- Views: 3151
Re: [Class] expect.ahk (rapid unit testing)
Hi Chunjee, respectfully wondering if you had a moment to look through the Qs I raised above?
Very many thanks
Very many thanks
- 02 Jan 2024, 04:47
- Forum: Scripts and Functions (v1)
- Topic: [Class] expect.ahk (rapid unit testing)
- Replies: 12
- Views: 3151
Re: [Class] expect.ahk (rapid unit testing)
Thanks @Chunjee, looking forward to your feedback when you have time
- 12 Dec 2023, 04:25
- Forum: Scripts and Functions (v1)
- Topic: [Class] expect.ahk (rapid unit testing)
- Replies: 12
- Views: 3151
Re: [Class] expect.ahk (rapid unit testing)
Hi Chunjee , great class, thanks for providing. I've a few Qs, but am new to classes and units testing and only an average amateur AutoHotkey user - so hopefully these Qs are not foolish!: (I'm using exportv0.1.1.ahk ) 1) The example given in the documentation for .writeResultsToFile([filepath, file...
- 19 Aug 2023, 02:40
- Forum: Visual Studio Code
- Topic: AutoHotkey Plus Plus author here :)
- Replies: 16
- Views: 3908
Re: AutoHotkey Plus Plus author here :)
Hi @Curdflappers Just wondering if you're around on this forum to help with AHK++? :wave: I see you're active on GitHub, but I don't know how to raise a general question there. Very grateful for the effort youi're putting in with the extension BTW. Maybe you are on the AUTOHOTKEY forums as markwiem...
- 16 Aug 2023, 02:47
- Forum: Visual Studio Code
- Topic: Run & debug v1 and v2 in the same instance of VSCode
- Replies: 6
- Views: 2822
Re: Run & debug v1 and v2 in the same instance of VSCode
Just an update to all this: It seems that the vscode extension AutoHotkey Plus Plus v5.0.2 (11-Aug-23) by Mark Wiemer now supports both v1 and v2 without changing any settings. :superhappy: I have to say that I've not fully tried this, but a quick test shows good stuff. If it continues to look good ...
- 11 Aug 2023, 14:23
- Forum: Visual Studio Code
- Topic: AutoHotkey Plus Plus author here :)
- Replies: 16
- Views: 3908
Re: AutoHotkey Plus Plus author here :)
Hi @Curdflappers
Just wondering if you're around on this forum to help with AHK++?
I see you're active on GitHub, but I don't know how to raise a general question there.
Very grateful for the effort youi're putting in with the extension BTW.
Just wondering if you're around on this forum to help with AHK++?
I see you're active on GitHub, but I don't know how to raise a general question there.
Very grateful for the effort youi're putting in with the extension BTW.
- 11 Aug 2023, 05:16
- Forum: Visual Studio Code
- Topic: AutoHotkey Plus Plus author here :)
- Replies: 16
- Views: 3908
Re: AutoHotkey Plus Plus author here :)
Hmmm, it seems that Mark has releaed a new (and looks much more capable) version of AutoHotkey plus plus. What happens if you use TAB rather than space to indent your .....;do something lines? Actually for me I've just checked and either TAB or space(s) allow me to fold: if(a = b) >{ <---I get a vsc...
- 13 Jul 2023, 05:02
- Forum: Ask for Help (v1)
- Topic: traditional for loop: for i = a to b (step c) possibilities
- Replies: 19
- Views: 12904
Re: traditional for loop: for i = a to b (step c) possibilities
x_to_y_step_k(byref i, x, y, k:=1){ return ( i := x+(a_index-1) ) <= y ? ( a_index += k-1, true ) : ( i -= k, false ) } ; example while x_to_y_step_k(i, 5, 17, 3) msgbox(i) You can do nested loops, you should but use different index. Being used to choose my own loop variables, when I first saw A_In...
- 26 Jun 2023, 11:53
- Forum: Visual Studio Code
- Topic: AutoHotkey Plus Plus author here :)
- Replies: 16
- Views: 3908
Re: AutoHotkey Plus Plus author here :)
OK, I think I've found the solution to the problem I outlined in the previous post. After a lot (and I mean a lot ) of googling, it seems you need to add "offside" to the folding section in ahk.configuration.json , viz: "folding": { "markers": { "start": "^(\\/\\*)?\\s*\\;\\s*region\\b", "end": "^(\...
- 13 Jun 2023, 12:05
- Forum: Visual Studio Code
- Topic: AutoHotkey Plus Plus author here :)
- Replies: 16
- Views: 3908
Re: AutoHotkey Plus Plus author here :)
Hi Mark, Great extension btw - thanks for working on it. Question related to code folding. I've tried to illustrate this in the image below: Untitled.png I've tried to show that with no vscode extensions enabled, code folding leaves a blank line at line 126. But with AutoHotkey Plus Plus enabled, co...
- 12 Jun 2023, 07:28
- Forum: Visual Studio Code
- Topic: AutoHotkey Plus Plus author here :)
- Replies: 16
- Views: 3908
Re: AutoHotkey Plus Plus author here :)
Is this the right place to reach out to you to ask Qs? Please let me know if you have any questions about the extension, feature requests, etc. and I'd be happy to address any concerns you have! Thanks - he prefers AUTOHOTKEY forum as Curdflappers / markwiemer or Github where he has I think directe...
- 12 Jun 2023, 07:17
- Forum: Visual Studio Code
- Topic: AutoHotkey Plus Plus author here :)
- Replies: 16
- Views: 3908
Re: AutoHotkey Plus Plus author here :)
Hi Mark,
Thanks for this extension
Is this the right place to reach out to you to ask Qs?
Thanks for this extension
Is this the right place to reach out to you to ask Qs?
- 20 Apr 2023, 14:13
- Forum: Visual Studio Code
- Topic: AutoHotkey v2 Language Support, used in any editor that supports lsp
- Replies: 47
- Views: 18424
Re: AutoHotkey v2 Language Support, used in any editor that supports lsp
Hi thqby , Thx so much for getting back. I was using your v2 extension already alongside a v1 extension. But had managed to set them up so that your 'code folding with zero indents between "{}"' would work in v1 as well as v2. I've just changed the v1 extension I was using, to a more popular one. It...
- 19 Apr 2023, 15:03
- Forum: Other Utilities & Resources
- Topic: How to Hash / Checksum in a spreadsheet
- Replies: 1
- Views: 1151
How to Hash / Checksum in a spreadsheet
Hi, Hope this is appropriate (place) to ask this... I have a column of numbers in a spreadsheet (LO Calc as it happens). I want to check that this column of numbers, and the precise order of them, are unique. This is because I'll have many such columns of numbers and I want to check that I don't ind...
- 17 Apr 2023, 14:23
- Forum: Visual Studio Code
- Topic: AutoHotkey v2 Language Support, used in any editor that supports lsp
- Replies: 47
- Views: 18424
Re: AutoHotkey v2 Language Support, used in any editor that supports lsp
The information you provided is not enough for me to find out the problem. Ooppss, sorry. Let me try and explain better. Consider this screenshot from my vscode screen that I made just now. Your extension is enabled. Notice that there are no code folding marks in the left hand column and there is a...
- 17 Apr 2023, 04:17
- Forum: Ask for Help (v1)
- Topic: How to kill a running script 'gracefully'
- Replies: 6
- Views: 925
Re: How to kill a running script 'gracefully'
WinClose, ahk_pid %proc.ProcessId% this is problematic. You can not enclose an object in %% like you can a normal variable. This might work WinClose, % "ahk_pid " proc.ProcessId Man, that's fantastic - just tested and defo works - closes my app gracefully. Just shows how much I don't know about obj...
- 16 Apr 2023, 15:31
- Forum: Ask for Help (v1)
- Topic: How to kill a running script 'gracefully'
- Replies: 6
- Views: 925
Re: How to kill a running script 'gracefully'
Sorry for the delay, and thanks so much for the advice.... You can try WinKill . It tries to close a Window nicely before it then kills it. This is great. I took Example #5 from https://www.autohotkey.com/docs/commands/Process.htm and worked it up a little to give the following (where I've left in s...
- 16 Apr 2023, 04:42
- Forum: Ask for Help (v1)
- Topic: Changing Labels to Functions
- Replies: 4
- Views: 372
Re: Changing Labels to Functions
Global variables are handled differently in v2 than v1, so either explore the changes to your function version in v2 code or we’ll move the thread to the v1 section. Best move to v1 section thanks. I'm currently doing all of this in v1 to understand what's going on. Later, probably much later, I'm ...
- 16 Apr 2023, 04:23
- Forum: Ask for Help (v1)
- Topic: Changing Labels to Functions
- Replies: 4
- Views: 372
Re: Changing Labels to Functions
Thanks again mikeyww , I did set the above scripts up and they ran sucessfully, no errors thrown. So I think to do a straight safe conversion from a Label to a Function, I think that this: LabelToAdd2NumbersTogether: ;In this label a, b, c and d are all global vars. c := a + b d := 8 return should b...