Search found 26 matches
- 28 Jan 2018, 15:43
- Forum: AutoHotkey Development
- Topic: Object declaration syntax Topic is solved
- Replies: 20
- Views: 7979
Re: Object declaration syntax Topic is solved
In v2.0-a087 new bug appeared. It was not easy to reproduce, as it appears only in included files ( #include file.ahk ), and surprisingly it doesn't appear in the main runned .ahk file. Here is example code, which will result with an error on script start-up, with the message: "Error: Functions cann...
- 24 Jan 2018, 07:03
- Forum: AutoHotkey Development
- Topic: Object declaration syntax Topic is solved
- Replies: 20
- Views: 7979
Re: Object declaration syntax Topic is solved
Thank you
- 23 Jan 2018, 17:54
- Forum: AutoHotkey Development
- Topic: Object declaration syntax Topic is solved
- Replies: 20
- Views: 7979
Re: Object declaration syntax Topic is solved
After last update this code won't compile:
It shows error: "Error: Not a valid method, class or property definition."
I need method called on new object creation. How can I do it now?
Code: Select all
class MyClass {
__New(paramA, paramB) {
}
}
I need method called on new object creation. How can I do it now?
- 20 Dec 2017, 18:59
- Forum: Ask for Help (v1)
- Topic: Sort Objects with respect to the value of a specific key
- Replies: 4
- Views: 1741
Re: Sort Objects with respect to the value of a specific key
You might also find useful my function which preforms QuickSort on array of objects. Passing in second argument your own comparison function you can sort by any field you want.
Here's the code: https://github.com/buliasz/AHK_quicksor ... _array.ahk
Here's the code: https://github.com/buliasz/AHK_quicksor ... _array.ahk
- 22 Mar 2017, 11:39
- Forum: Ask for Help (v1)
- Topic: byref param clarification
- Replies: 3
- Views: 1270
Re: byref param clarification
While I understand the reason, why it isn't working currently, I hope it will be done some day, because it is little confusing for people accustomed to OOP, that object members are not working with ByRef. Anyway currently my proposition is to make warning (for example when #Warn All is used) when so...
- 25 Jan 2017, 15:27
- Forum: Scripts and Functions (v1)
- Topic: GDI+ standard library 1.45 by tic
- Replies: 441
- Views: 256634
Re: GDI+ standard library 1.45 by tic
In case someone needs it, I've modified Gdip_All.ahk of mmikeww (guest3456) which work with AHK 2.0+ also. I made one bugfix and made additional little changes, so that it can now be used with the "#Warn All" flag enabled. Surely there are more changes needed for "#Warn All", but they appear only wh...