Search found 2572 matches

by guest3456
16 Sep 2019, 20:04
Forum: Bug Reports
Topic: WinGetPos - broken when composition is enabled
Replies: 3
Views: 372

Re: WinGetPos - broken when composition is enabled

the only difference i've noticed is that on win10, there are invisible borders that you can't see visually, but those borders are still there. so GetWindowRect does in fact report the correct values which include those invisible resizing borders. there was a long thread about this at some point befo...
by guest3456
13 Sep 2019, 23:58
Forum: AutoHotkey v2 Development
Topic: Objects - preview of upcoming changes
Replies: 34
Views: 6511

Re: Objects - preview of upcoming changes

Separate data and interface: array elements and properties/methods are separated, and generic objects do not have array elements by default and do not support obj[n]. Use obj.%n% (v2.0-a101+) to access dynamic properties/methods. Why use obj.%n% instead obj[n] I prefer obj[n] seriously maybe becaus...
by guest3456
13 Sep 2019, 23:36
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 338
Views: 89546

Re: GDI+ standard library 1.45 by tic

swagfag wrote:
13 Sep 2019, 09:25
i dont remember what the function does exactly, but if u clear the bitmap, what bitmap are u creating an icon from then?
duh lol i see thanks
by guest3456
13 Sep 2019, 08:23
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 338
Views: 89546

Re: GDI+ standard library 1.45 by tic

Hi @robodesign, I noticed a possible error in your library . Gdip_CreateHICONFromBitmap(pBitmap) { pBitmap := "" ; <--- I think this line should not be here hIcon := 0 DllCall("gdiplus\GdipCreateHICONFromBitmap", A_PtrSize ? "UPtr" : "UInt", pBitmap, A_PtrSize ? "UPtr*" : "uint*", hIcon) return hIc...
by guest3456
09 Sep 2019, 08:02
Forum: Offtopic
Topic: I decided to read books
Replies: 7
Views: 719

Re: I decided to read books

Lolita
by guest3456
04 Sep 2019, 09:14
Forum: AutoHotkey v2 Development
Topic: AHK Unit Testing
Replies: 8
Views: 788

Re: AHK Unit Testing

lexikos wrote:
04 Sep 2019, 03:36
8e083e7 is the version I was using last.
can you create a PR to the Uberi repo?
by guest3456
28 Aug 2019, 10:13
Forum: Scripts and Functions
Topic: Scale9 - 9-scale resizing
Replies: 6
Views: 762

Re: Scale9 - 9-scale resizing

well done. how is the scaling used in example2?
by guest3456
23 Aug 2019, 10:07
Forum: AutoHotkey v2 Development
Topic: Why are static definitions not inherited?
Replies: 19
Views: 1190

Re: Why are static definitions not inherited?

this was the whole problem with introducing the idea of "classes" into AHK. there are no classes in AHK. the class keyword was syntax sugar, to make it easier to write prototype based objects, which is what AHK uses, not class based objects. when you write class in AHK, you ARE instantiating an obje...
by guest3456
01 Aug 2019, 08:32
Forum: AutoHotkey v2 Development
Topic: AutoV2Script > ChangeOrSuggest V2 code for V1 script Topic is solved
Replies: 17
Views: 1139

Re: AutoV2Script > ChangeOrSuggest V2 code for V1 script Topic is solved

nnnik wrote:
01 Aug 2019, 08:22
For the most part the real difficulty of converting comes from advanced changes that require you to analyze and change your script to adapt it.
Yes, that's the real difficulty.
nnnik wrote:
01 Aug 2019, 08:22
The rest is just simple search and replace.
Its not a simple search and replace.
by guest3456
01 Aug 2019, 07:39
Forum: AutoHotkey v2 Development
Topic: AutoV2Script > ChangeOrSuggest V2 code for V1 script Topic is solved
Replies: 17
Views: 1139

Re: AutoV2Script > ChangeOrSuggest V2 code for V1 script Topic is solved

I don't think a 100% accurate "Auto V1 to V2 Conversion" script is necessary. Its not whether its necessary, its just not POSSIBLE. Some changes are bigger than just syntax changes. There are functionality changes, which require users to consider design changes. If the script can simply analyze a V...
by guest3456
31 Jul 2019, 10:12
Forum: RPA
Topic: OpenRPA - native AHK activities now!
Replies: 2
Views: 359

Re: OpenRPA - native AHK activities now!

whoa cool, didn't even know about OpenRPA. looks like they're exporting out to hotkeyit's ahk.dll
by guest3456
31 Jul 2019, 09:28
Forum: AutoHotkey v2 Development
Topic: AutoV2Script > ChangeOrSuggest V2 code for V1 script Topic is solved
Replies: 17
Views: 1139

Re: AutoV2Script > ChangeOrSuggest V2 code for V1 script Topic is solved

I spent a lot of time working on something like this a few years ago: https://www.autohotkey.com/boards/viewtopic.php?f=6&t=25100 I haven't kept it up to date with the latest v2 changes. Last I remember, I wanted to change all of the commands into functions, I think after lexikos made the change whe...
by guest3456
19 Jul 2019, 11:35
Forum: General Discussion
Topic: What is your way to use K&R style?
Replies: 11
Views: 1010

Re: What is your way to use K&R style?

So I was using indentation, and I was tongue-in-cheek. keep lying: I used the AutoHotkey style guide for indentation, which is where? Btw some of us only really know coding through AutoHotkey so ... I don't like when people indent too much, I don't find it helps, although I did use some indentation...
by guest3456
19 Jul 2019, 07:57
Forum: General Discussion
Topic: What is your way to use K&R style?
Replies: 11
Views: 1010

Re: What is your way to use K&R style?

- There were some tongue-in-cheek comments here (Feb 2017), which you appeared to take completely literally: jeeswg's RegEx tutorial (RegExMatch, RegExReplace) - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=7&t=28031 all you had to do was say, "yes i was dumb in the past, and ...
by guest3456
19 Jul 2019, 07:52
Forum: AutoHotkey v2 Help
Topic: has anyone wrote snippets for AutoHotkey v2
Replies: 1
Views: 422

Re: has anyone wrote snippets for AutoHotkey v2

What snippets do you want?
by guest3456
18 Jul 2019, 23:14
Forum: General Discussion
Topic: What is your way to use K&R style?
Replies: 11
Views: 1010

Re: What is your way to use K&R style?

I find the Allman style more readable, with all brace pairs always in the same column. The braces are more visible, and the level of indentation clearer. thats funny, i remember you used to not indent at all, and then when everyone told you how dumb you were, you got mad and defended yourself telli...
by guest3456
16 Jul 2019, 11:47
Forum: General Discussion
Topic: What is your way to use K&R style?
Replies: 11
Views: 1010

Re: What is your way to use K&R style?

I'm a strong upholder of K&R, but sometimes it doesn't work: the times it "doesn't work" is quoted in the AHK docs. they call it the "One True Brace (OTB)" style: https://www.autohotkey.com/docs/commands/IfExpression.htm#otb Do you mix the styles? Or, probably, you simply switched to Allman? i used...
by guest3456
09 Jul 2019, 05:59
Forum: AutoHotkey v2 Development
Topic: [a103]Unfortunate collision of a few things
Replies: 20
Views: 1407

Re: [a103]Unfortunate collision of a few things

Then what about if a,b and similar? speaking of bad language design, this pattern return a := 0, b := 1 and any variations thereof should be verboten Thats personal preference. , is a multi-statement operator and can be used in any expression. If return cannot handle this operator return is simply ...
by guest3456
03 Jul 2019, 16:26
Forum: AutoHotkey v2 Development
Topic: async method ?
Replies: 11
Views: 935

Re: async method ?

you could use AHK_H

Go to advanced search