Search found 1402 matches
- Today, 01:19
- Forum: Ask for Help (v1)
- Topic: Object.Delete(Key) doesn't work in my case. Looks like a bug.
- Replies: 8
- Views: 161
Re: Object.Delete(Key) doesn't work in my case. Looks like a bug.
Good reminder and workaround. I think I ran into this once or twice
- Today, 01:15
- Forum: Ask for Help (v1)
- Topic: Code review
- Replies: 2
- Views: 47
Re: Code review
Xpos and KolorCheck are not defined fyi
- 21 Mar 2024, 12:09
- Forum: Ask for Help (v1)
- Topic: confused about #include
- Replies: 10
- Views: 184
Re: confused about #include
just thinking out loud. It might look like: { "name": "Joe's Custom Plugin", "tasks": [ "pressOne", "functionClose()", "pressEsc" ], "hotkey": "w" } The downside is you have to code it twice in a way. Once to parse it and understand the input, then again to translate that input into hotkeys/actually...
- 21 Mar 2024, 09:36
- Forum: Ask for Help (v1)
- Topic: confused about #include
- Replies: 10
- Views: 184
Re: confused about #include
If you are just remapping buttons that would be pretty easy as a txt file or ini
I prefer json however
I prefer json however
- 21 Mar 2024, 09:18
- Forum: Ask for Help (v1)
- Topic: confused about #include
- Replies: 10
- Views: 184
Re: confused about #include
If their changes can be described in configuration files like .json that could work. But very hard to describe code in configuration I imagine
- 15 Mar 2024, 19:04
- Forum: Ask for Help (v1)
- Topic: fastest way to access variables?
- Replies: 6
- Views: 173
Re: fastest way to access variables?
if you use https://www.autohotkey.com/docs/v1/lib/SetBatchLines.htm
60 variables or array elements should be nothing in terms of speed.
60 variables or array elements should be nothing in terms of speed.
- 15 Mar 2024, 18:58
- Forum: Ask for Help (v1)
- Topic: fastest way to access variables?
- Replies: 6
- Views: 173
Re: fastest way to access variables?
objects/arrays are notoriously slow in ahk
so my guess would be variables slightly faster
this is not a super serious test
so my guess would be variables slightly faster
Code: Select all
loop, 60000 {
myVar := "hello world"
}
; => 0.019977 seconds
loop, 60000 {
myObj.myProperty := "hello world"
}
; => 0.053313 seconds
- 11 Mar 2024, 16:15
- Forum: Scripts and Functions (v1)
- Topic: [Class] biga.ahk (166 utility methods)
- Replies: 130
- Views: 42403
Re: [Class] biga.ahk (166 utility methods)
v0.57.1 fixes: .at .depthOf .get .maxBy .slice .toLength .without previously: object := {"a": [{ "b": {"c": 3} }, 4]} A.at(object, ["a[1].b", "a[2]"]) ; => ["", 4] Now .get and .at can retrieve object (clones) not just values: object := {"a": [{ "b": {"c": 3} }, 4]} A.at(object, ["a[1].b", "a[2]"]) ...
- 10 Mar 2024, 19:20
- Forum: Ask for Help (v1)
- Topic: Repeatedly search for an image.
- Replies: 6
- Views: 141
Re: Repeatedly search for an image.
For readability I prefer not to check errorlevel. Kinda confusing to check the absense of an error number, map that in your mind to success
Maybe I am just simple and can't keep track of as many !mappings as you
Maybe I am just simple and can't keep track of as many !mappings as you
- 10 Mar 2024, 19:17
- Forum: Ask for Help (v1)
- Topic: Repeatedly search for an image.
- Replies: 6
- Views: 141
Re: Repeatedly search for an image.
a timer could be cool
- 07 Mar 2024, 14:59
- Forum: Scripts and Functions (v1)
- Topic: [Class] biga.ahk (166 utility methods)
- Replies: 130
- Views: 42403
Re: [Class] biga.ahk (166 utility methods)
Expecting about 100 or 200 more tests to be added as I am going through each method one by one and adding more.
I did find one bug so far; in .depthOf
I did find one bug so far; in .depthOf
- 07 Mar 2024, 14:40
- Forum: Scripts and Functions (v1)
- Topic: [Class] expect.ahk (rapid unit testing)
- Replies: 12
- Views: 3156
Re: [Class] expect.ahk (rapid unit testing)
Github repo contains most fixes. Documentation has not been fixed yet.
I noticed a TAP 14 spec which this may not be following completely. I would like to get that looked at as well
I noticed a TAP 14 spec which this may not be following completely. I would like to get that looked at as well
- 07 Mar 2024, 13:39
- Forum: Scripts and Functions (v1)
- Topic: HTH: A Transpiler for AutoHotKey v1 Code into JavaScript
- Replies: 1
- Views: 101
Re: HTH: A Transpiler for AutoHotKey v1 Code into JavaScript
I saw this on Discord. Very cool need to give it a try
- 06 Mar 2024, 01:13
- Forum: Ask for Help (v2)
- Topic: Somewhat silly question about V1 vs V2 Topic is solved
- Replies: 12
- Views: 397
Re: Somewhat silly question about V1 vs V2 Topic is solved
I visited the python docs and saw about 15 subversions listed
I have Windows 7 on some Laptops and lots and lots of ahkv1 scripts that wouldn't be moved to v2 without hours and hours of rewriting.
I have Windows 7 on some Laptops and lots and lots of ahkv1 scripts that wouldn't be moved to v2 without hours and hours of rewriting.
- 04 Mar 2024, 01:12
- Forum: Ask for Help (v1)
- Topic: will a plain txt .ahk that perform delete C:/ but warned by anti virus?
- Replies: 3
- Views: 113
Re: will a plain txt .ahk that perform delete C:/ but warned by anti virus?
Sounds more like an anti-virus question. Ahk doesn't handle this
- 29 Feb 2024, 12:35
- Forum: Scripts and Functions (v2)
- Topic: json copy of documentation
- Replies: 1
- Views: 911
Re: json copy of documentation
Fantastic! Well done
I may have a use for this
I may have a use for this
- 29 Feb 2024, 12:25
- Forum: Scripts and Functions (v2)
- Topic: simple no-cost json storage API
- Replies: 2
- Views: 385
Re: simple no-cost json storage API
Very cool, thank you
I will be trying this soon
I will be trying this soon
- 29 Feb 2024, 10:44
- Forum: Ask for Help (v1)
- Topic: Sort Array Topic is solved
- Replies: 2
- Views: 128
Re: Sort Array Topic is solved
Wasn't sure what this means but these may be of interest to you:
https://biga-ahk.github.io/biga.ahk/#/?id=sortby
https://chunjee.github.io/array.ahk/#/docs?id=sort
- 29 Feb 2024, 01:15
- Forum: Ask for Help (v1)
- Topic: how to use winspy to get all displayed data from active app into array Topic is solved
- Replies: 4
- Views: 123
Re: how to use winspy to get all displayed data from active app into array Topic is solved
I will continue to waste time on it
But I don't have that app so I am stuck in a very fast loop
halp
But I don't have that app so I am stuck in a very fast loop
halp
- 29 Feb 2024, 01:09
- Forum: Ask for Help (v2)
- Topic: which app to code it
- Replies: 5
- Views: 177
Re: which app to code it
I think SciTE fell of in 2019 or whenever atom/VSCode appeared