Search found 3261 matches

by nnnik
Today, 12:03
Forum: AutoHotkey v2 Development
Topic: Library Functions with "ahk2" Extension
Replies: 3
Views: 52

Re: Library Functions with "ahk2" Extension

Maybe it woduld be good if we can select the extension ahk registers for itself when we install the program.
I would also reccomend the AHK-EXE-SWAPPER and just use .ahk for all ahk files.
by nnnik
Today, 05:11
Forum: Ask For Help
Topic: Formal syntax / Good practices
Replies: 2
Views: 34

Re: Formal syntax / Good practices

Im not sure if something like this exists.
But in the AutoHotkey help all features of the language are explained.
AHK has labels, functions and classes.
by nnnik
Today, 02:08
Forum: Ich brauche Hilfe
Topic: #IfWin[Not]Active
Replies: 10
Views: 129

Re: #IfWin[Not]Active

Ich hab das ding nie ausprobiert und es ist allein theoretischer code aber ja doch so extrem ist es und es ist tatsächlich so, dass der delay eines Tolltips ausreicht.
by nnnik
Yesterday, 18:25
Forum: Ich brauche Hilfe
Topic: #IfWin[Not]Active
Replies: 10
Views: 129

Re: #IfWin[Not]Active

Ich meinte damit, dass #If weniger verwendet werden sollte, als die anderen Alternativen wie z.B. #IfWinActive. Im Gegensatz dazu sollte man beim normalen If immer Ausdrücke verwenden. Viele Leute unterschätzen wie pingelig Windows sein kann - das wiederholte anzeigen von einem Tooltip kann schon ge...
by nnnik
Yesterday, 15:30
Forum: Ich brauche Hilfe
Topic: #IfWin[Not]Active
Replies: 10
Views: 129

Re: #IfWin[Not]Active

Bei #If ist es besser nicht mit Ausdrücken zu arbeiten (anders als beim normalen if).
Von daher wäre es sinnvoll die von swagfag erwähnte ahk_group zu verwenden.
by nnnik
19 Nov 2018, 13:35
Forum: AutoHotkey v2 Development
Topic: Objects
Replies: 17
Views: 849

Re: Objects

Ah you just mean implementing Observer patterns for all built in AHK classes?
Rather than implementing a common interface to observe any object.
by nnnik
19 Nov 2018, 12:47
Forum: AutoHotkey v2 Development
Topic: Objects
Replies: 17
Views: 849

Re: Objects

I mean this should be something __Get should be useable for but it simply isn't.
by nnnik
19 Nov 2018, 09:23
Forum: Forum Issues
Topic: Forum irregularities
Replies: 10
Views: 354

Re: Forum irregularities

Once you login the design you set in the User Control Panel will be activated. The design that is activated when you are not logged in is called Simplicity - it should also be the default design. You can change this setting in the User Control Panel -> Board Preferences and in there set My Board Sty...
by nnnik
18 Nov 2018, 07:45
Forum: Forum Issues
Topic: quotes no longer attributed
Replies: 7
Views: 196

Re: quotes no longer attributed

It seems that the server will send the wrong quote html even though a cite is present.
Meaning this is not a simple css issue.
by nnnik
18 Nov 2018, 07:42
Forum: Offtopic
Topic: Test your Forum Posts
Replies: 337
Views: 73587

Re: Test your Forum Posts

C-lang char *substr(char *str, int start, int length) { int i, len=strlen(str); if ((length+start)<=len || start>0 || length>0){ char *out=calloc(len+1,sizeof(char)); for (i=start;i<(length+start);i++) out[i-start]=str[i]; //out[len]='\0'; return out; } else { return NULL; } } ahk Loop, % ColorArra...
by nnnik
18 Nov 2018, 06:21
Forum: Offtopic
Topic: Thank you for the music
Replies: 167
Views: 56915

Re: Thank you for the music

I normally dont listen to a lot of rap, but this song has stuck with me for a while:
by nnnik
18 Nov 2018, 02:27
Forum: AutoHotkey v2 Development
Topic: Objects+
Replies: 13
Views: 491

Re: Objects+

When playing chess, it would be typical to physically replace the pawn with the appropriate piece, since a pawn is generally just a piece of wood/plastic/stone and can't change its appearance. It would be analogous to replacing the existing instance of Pawn with an instance of the new type (a diffe...
by nnnik
17 Nov 2018, 13:09
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 57
Views: 866

Re: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change

Well you can always implement something yourself. Im not sure if lexikos will accept it. I just wanted to share my experience from attempting a similar thing and which problems arose during implementation. I might add a .bind method to the boundfunc object next week and make a pull request. lexikos ...
by nnnik
17 Nov 2018, 12:52
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 57
Views: 866

Re: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change

In expressions numbers are just numbers: Loop 13 { } If you want to iterate over each line in a file using expressions I would suggest this: for each, line in StrSplit(FileOpen(fileName, "r").Read(), "`n", "`r") { } I think this has slightly gone offtopic from your initial suggestion though - it mig...
by nnnik
17 Nov 2018, 11:58
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 57
Views: 866

Re: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change

% is completely removed - no need to be skeptical everything is an expression.
by nnnik
17 Nov 2018, 11:33
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 57
Views: 866

Re: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change

The difference to normal commands is that all parameters are expressions - they were not expressions in v1.
by nnnik
17 Nov 2018, 11:20
Forum: Forum Issues
Topic: Codebox theme
Replies: 18
Views: 469

Re: Codebox theme

There might be a better different theme for mobile phones.
by nnnik
17 Nov 2018, 03:31
Forum: Ich brauche Hilfe
Topic: Gui, Show, AutoSize
Replies: 5
Views: 170

Re: Gui, Show, AutoSize

Eine weitere Möglichkeit hierfür ist GDIp.
Dies bestimmt die Breite von Text in Pixel unter der Berücksichtigung von Schritart, Schriftgröße und verschiedenen stilistischen Eigenschaften.
by nnnik
16 Nov 2018, 11:29
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 57
Views: 866

Re: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change

I dont have any particulary strong feelings about this. But the main variables that store the functions should be "extra super global"(because you can and should deactivate the global and super global scop with local but still want to access functions) and read-only.

Go to advanced search