Search found 2511 matches

by nnnik
Today, 06:17
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 242
Views: 46379

Re: GDI+ standard library 1.45 by tic

Well if you have the correct gdip.ahk and still get the message then it is one of the following: A) you are running this on an old system ( prior to Win XP ) B) you are running this on Linux with WINE C) you have the wrong gdip.ahk for your AHK installation ( the original version only supported 32 b...
by nnnik
Today, 05:39
Forum: Ich brauche Hilfe
Topic: Auslesen bestimmter Wörter aus einer html-ähnlichen Datei
Replies: 11
Views: 111

Re: Auslesen bestimmter Wörter aus einer html-ähnlichen Datei

Ich würde diesen Fall mit dem AHK Befehl StrSplit erledigen. StrSplit trennt eine Zeichenkette an bestimmten Stellen auf und schreibt die einzelnen Ergebnisse getrennt voneinander auf. Es gibt 2 Versionen: StringSplit ist ein Command und die ältere Version - es schreibt die einzelnen Ergebnisse in e...
by nnnik
Yesterday, 16:00
Forum: AutoHotkey v2 Development
Topic: scrap commands?
Replies: 47
Views: 1864

Re: scrap commands?

But the question comes down to is it really neccessary to add a new case to denote such a change in flow? I think that the usage and consequences of a function are dependent on it's body and the context it is used in. It is the programmers responsibility to know of those consequences and act accordi...
by nnnik
Yesterday, 14:44
Forum: Offtopic
Topic: « What's on your mind? » Topic is solved
Replies: 3783
Views: 421622

Re: « What's on your mind? » Topic is solved

Well I dont know anything about printers either
by nnnik
Yesterday, 14:24
Forum: Offtopic
Topic: « What's on your mind? » Topic is solved
Replies: 3783
Views: 421622

Re: « What's on your mind? » Topic is solved

How can I get money for a 3d printing 3d printer, a drone a new PC a laptop and a new phone this month
by nnnik
Yesterday, 13:54
Forum: AutoHotkey v2 Development
Topic: scrap commands?
Replies: 47
Views: 1864

Re: scrap commands?

I feel like I don't understand the point that your trying to make anymore. I get that you have a specific abstract model of programming - we all do and we regularily fight which model handles which situations the best and try to find a middle path that works for the most AHK users. Could you say aga...
by nnnik
Yesterday, 13:17
Forum: AutoHotkey v2 Development
Topic: scrap commands?
Replies: 47
Views: 1864

Re: scrap commands?

Another method would be a callback.
Also iseahound I would advise against using recursion and avoiding it whereever possible.
by nnnik
Yesterday, 05:27
Forum: AutoHotkey v2 Development
Topic: scrap commands?
Replies: 47
Views: 1864

Re: scrap commands?

Yeah but you see I dont think they matter a lot. They are both incredibly rare and mostly covered by documentation - even if you do denote that they don't terminate or terminate the script/thread it will be useless extra unless you have a standard way to describe what the function actually does. e.g...
by nnnik
Yesterday, 02:29
Forum: AutoHotkey v2 Development
Topic: scrap commands?
Replies: 47
Views: 1864

Re: scrap commands?

Your code with the infinite recursion would cause a crash of the program - do you mean by adding the ! you can mark a function that is buggy and might cause the program to get shut down? Well I know that you mean functions with infinite recursion - if you ask me thats a bad programming practice but ...
by nnnik
17 Apr 2018, 15:12
Forum: AutoHotkey v2 Development
Topic: RGB values with/without leading 0x
Replies: 5
Views: 112

Re: RGB values with/without leading 0x

- Yes, basically forget about the alpha channel, unless someone wants it. Assume that only the RGB values are considered, and that the A value is ignored (assumed to be 0xFF). You say yes but my message actually said the opposite. Some functions require the alpha channel or could use it to replace ...
by nnnik
17 Apr 2018, 13:42
Forum: AutoHotkey v2 Development
Topic: scrap commands?
Replies: 47
Views: 1864

Re: scrap commands?

OK then lets use throw.
The return value is 0 for undefined ( in the cases you mentioned above ) any return value >0 is a defined PID and if it fails it will throw an exception.
by nnnik
17 Apr 2018, 11:42
Forum: Ich brauche Hilfe
Topic: Farbig beschriftete Buttons
Replies: 6
Views: 79

Re: Farbig beschriftete Buttons

Es gibt standard Lösungen aber die sind nicht kompatibel mit deiner Version - ich habe aber auch ehrlich gesagt keine Lust etwas für eine veraltete Version zu schreiben, da ich nicht mehr genau weiß was ich machen darf und was nicht.
Ich würde dir empfehlen upzudaten.
by nnnik
17 Apr 2018, 11:36
Forum: AutoHotkey v2 Development
Topic: scrap commands?
Replies: 47
Views: 1864

Re: scrap commands?

I dont understand why you see a need to differentiate between functions that return something and functions that return nothing ( same thing for methods ). Thats just meaningless extra work either you return something or you dont - either you call the function with the intent for it to return someth...
by nnnik
17 Apr 2018, 02:44
Forum: AutoHotkey v2 Development
Topic: scrap commands?
Replies: 47
Views: 1864

Re: scrap commands?

No towards me he sounded a lot like you - as in he has no idea what he is talking about.
by nnnik
17 Apr 2018, 02:10
Forum: AutoHotkey v2 Development
Topic: scrap commands?
Replies: 47
Views: 1864

Re: scrap commands?

No that would mean that "" fulfills the role of undefined. Informatics is not mathematics - while informatics use mathematics it is not bound to mathematic laws within its own principles. In informatics there is encoding - that means that a specific meaning is encoded using a specific bina...
by nnnik
16 Apr 2018, 05:37
Forum: AutoHotkey v2 Development
Topic: RGB values with/without leading 0x
Replies: 5
Views: 112

Re: RGB values with/without leading 0x

I think making ARGB in 32 bit the standard color format should be OK.
The downside is that you always need to specify alpha channel. e.g. 0xFFFFFF would be invisible due to the missing alpha channel and is equivalent to 0.
by nnnik
15 Apr 2018, 07:40
Forum: Spiele
Topic: Mehrere Programme gleichzeitig steuern Topic is solved
Replies: 4
Views: 80

Re: Mehrere Programme gleichzeitig steuern Topic is solved

Du könntest ControlClick und ControlSend verwenden
by nnnik
15 Apr 2018, 03:49
Forum: Scripts and Functions
Topic: [CGUI] An object-oriented GUI library
Replies: 4
Views: 979

Re: [CGUI] An object-oriented GUI library

This seems pretty advanced
by nnnik
14 Apr 2018, 09:58
Forum: Scripts and Functions
Topic: A gift for you all
Replies: 3
Views: 225

Re: A gift for you all

I have Spotify Premium :(
by nnnik
14 Apr 2018, 02:52
Forum: AutoHotkey v2 Development
Topic: Forced expression after IF Topic is solved
Replies: 22
Views: 359

Re: Forced expression after IF Topic is solved

Well I will be moving to AHK v2 for parts of my scripts that are version dependent.
I mostly write version independent code though.

Go to advanced search