Search found 8 matches

by buliasz
05 Aug 2018, 14:02
Forum: Ask For Help
Topic: Volume Control on PC Windows 10
Replies: 38
Views: 4433

Re: Volume Control on PC Windows 10

Just in case someone looks for AHK v.2 version of a volume control code. This one uses system maintenance of Volume keys, but you can simply adjust it to increase/decrease volume in your selected granularity, just by using for example SoundSet("+1") or SoundSet("-1") (for granularity 1) instead of t...
by buliasz
29 Jan 2018, 04:15
Forum: AutoHotkey v2 Development
Topic: Object declaration syntax Topic is solved
Replies: 20
Views: 1594

Re: Object declaration syntax Topic is solved

That was quick! Thanks.
by buliasz
28 Jan 2018, 15:43
Forum: AutoHotkey v2 Development
Topic: Object declaration syntax Topic is solved
Replies: 20
Views: 1594

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...
by buliasz
23 Jan 2018, 17:54
Forum: AutoHotkey v2 Development
Topic: Object declaration syntax Topic is solved
Replies: 20
Views: 1594

Re: Object declaration syntax Topic is solved

After last update this code won't compile:

Code: Select all

class MyClass {
	__New(paramA, paramB) {
	}
}
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?
by buliasz
20 Dec 2017, 18:59
Forum: Ask For Help
Topic: Sort Objects with respect to the value of a specific key
Replies: 4
Views: 338

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
by buliasz
22 Mar 2017, 11:39
Forum: Ask For Help
Topic: byref param clarification
Replies: 3
Views: 416

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...
by buliasz
25 Jan 2017, 15:27
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 263
Views: 63890

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...

Go to advanced search