Search found 2323 matches

by nnnik
Today, 02:07
Forum: Ich brauche Hilfe
Topic: Deutsche Hilfe für AHK 1.1 und 2.0-a
Replies: 139
Views: 35555

Re: Deutsche Hilfe für AHK 1.1 und 2.0-a

Bei der Programmierung geht es irgendwann auch um die konsistente Benennung aller Akteure, selbst über verschiedene Implementationen hinweg. ( da es meistens eine ziemlich standardisierte Art gibt sowas zu implementieren ) Daher kann es schlichtweg nicht Zeile genannt werden. Die originale Hilfe spi...
by nnnik
18 Feb 2018, 23:37
Forum: Ich brauche Hilfe
Topic: Deutsche Hilfe für AHK 1.1 und 2.0-a
Replies: 139
Views: 35555

Re: Deutsche Hilfe für AHK 1.1 und 2.0-a

Es macht keinerlei Unterschied wie gebräuchlich ein Wort ist, wenn es konzeptuell inkorrekt ist.
Wie ich bereits oben erwähnt habe, kann in vielen Tabellen eine Reihe mehrere Zeilen haben.
Eine Reihe daher eine Zeile zu nennen wäre schlichtweg falsch.
by nnnik
18 Feb 2018, 15:52
Forum: Ich brauche Hilfe
Topic: Deutsche Hilfe für AHK 1.1 und 2.0-a
Replies: 139
Views: 35555

Re: Deutsche Hilfe für AHK 1.1 und 2.0-a

Zumal bei gewissen Implementationen eine Reihe mehrere Zeilen haben kann.
by nnnik
17 Feb 2018, 14:56
Forum: Scripts and Functions
Topic: CNG (Cryptography API: Next Generation)
Replies: 33
Views: 6093

Re: CNG (Cryptography API: Next Generation)

You have to learn about character encoding then. 0x80 has a special meaning for unicode strings.
This library only seems to be able to handle strings unless it is a file.
by nnnik
17 Feb 2018, 08:59
Forum: Ask For Help
Topic: AHK with TCP and UDP for accessing Blackmagic products
Replies: 1
Views: 40

Re: AHK with TCP and UDP for accessing Blackmagic products

Could you share what you tried?
by nnnik
16 Feb 2018, 17:01
Forum: Ask For Help
Topic: Access Parent Instance Variables from a Nested Class
Replies: 4
Views: 110

Re: Access Parent Instance Variables from a Nested Class

I would advise against this due to a mass of reasons that I'm not going to mention here.
by nnnik
16 Feb 2018, 16:35
Forum: Ask For Help
Topic: Access Parent Instance Variables from a Nested Class
Replies: 4
Views: 110

Re: Access Parent Instance Variables from a Nested Class

@JoeSchmoe you need a reference towards the instance of ClassName in the NestedClass.
But unless we know how your classes relate to one another it's difficult to say.
by nnnik
16 Feb 2018, 03:01
Forum: Bug Reports
Topic: Local and subroutines inside functions
Replies: 18
Views: 387

Re: Local and subroutines inside functions

I think it should explicitly mention that locals don't get cleared inside the subroutine
by nnnik
15 Feb 2018, 13:12
Forum: Ask For Help
Topic: Best practice ? Read variable from other scripts
Replies: 17
Views: 238

Re: Best practice ? Read variable from other scripts

You can set it to any other CLSID.
Actually I think it is better to share 1 object and put all the functions inside there as methods.
II don't know if it is faster.
by nnnik
15 Feb 2018, 08:00
Forum: Ask For Help
Topic: Best practice ? Read variable from other scripts
Replies: 17
Views: 238

Re: Best practice ? Read variable from other scripts

Yes indeed you can do that. In fact I created a method named callFunction in the object Stuff. Any method you create in this object is available to the other script like the method callFunction. You could remove the method callfunction and add another method that only calls a specific function. That...
by nnnik
15 Feb 2018, 07:56
Forum: Ich brauche Hilfe
Topic: WinHttp.WinHttpRequest Fehlermeldung Topic is solved
Replies: 6
Views: 117

Re: WinHttp.WinHttpRequest Fehlermeldung Topic is solved

Alle Fehler von Code der in einem Try Block steht führen dazu, dass der dazugehörige catch block aufgerufen wird. Der Code kommt in das Script welches den Fehler erzeugt. Da ich deinen Code nicht habe kann ich es dir nicht an deinem code zeigen. Am besten liest du dir mal die Hilfe zu try und catch ...
by nnnik
15 Feb 2018, 06:58
Forum: Ich brauche Hilfe
Topic: WinHttp.WinHttpRequest Fehlermeldung Topic is solved
Replies: 6
Views: 117

Re: WinHttp.WinHttpRequest Fehlermeldung Topic is solved

Du kannst alle Fehlermeldungen in einem Try-Catch Block auffangen. Try { wasAuchImmerDenFehlerVerursacht() } catch e{ wirdAufgerufenWennDerFehlerPassiert() }finally { wirdAuchAufgerufenWennImCatchBlockEinReturnSteht() } Msgbox wird auch sowieso aufgerufen wasAuchImmerDenFehlerVerursacht() { throw ex...
by nnnik
15 Feb 2018, 06:43
Forum: Bug Reports
Topic: Local and subroutines inside functions
Replies: 18
Views: 387

Re: Local and subroutines inside functions

@ nnnik , it is not a bug, it is a useless feature though ( jumping into a function from outside), as hinted by Masonjar13 . However, the following limitations apply: a subroutine thread that interrupts a function-call thread (or vice versa) would be able to change the values of local variables see...
by nnnik
15 Feb 2018, 06:03
Forum: Bug Reports
Topic: Local and subroutines inside functions
Replies: 18
Views: 387

Re: Local behaving as static

@Helgef I think your explination is quite confusing. I will try to come up with my own: The variable is indeed local. However unlike other local vars you are accessing it while outside of the actual function and write to it from outside the actual function. Therefore after your variable is created a...
by nnnik
15 Feb 2018, 03:55
Forum: Ask For Help
Topic: Don't understand XML DOM. Please help! Topic is solved
Replies: 2
Views: 61

Re: Don't understand XML DOM. Please help! Topic is solved

I think you need .SetProperty("SelectionLanguage","XPath") before you use selectSingleNode. Also what you are looking for is info about XPath: https://www.w3schools.com/xml/xpath_intro.asp <my source What you have right now is XPath that will let you select the first game no matt...
by nnnik
15 Feb 2018, 03:37
Forum: Ask For Help
Topic: Best practice ? Read variable from other scripts
Replies: 17
Views: 238

Re: Best practice ? Read variable from other scripts

Yeah OnMessage is nothing more but a bad hack compared to ObjRegisterActive. You can share an object between scripts and an Object is Data + Functions. And you could introduce a method to the object that lets you call another scripts function. #Persistent ObjRegisterActive(Stuff, "{93C04B39-046...
by nnnik
15 Feb 2018, 03:26
Forum: Ich brauche Hilfe
Topic: addieren in einer GUI
Replies: 3
Views: 64

Re: addieren in einer GUI

So wie ich das sehe fehlt dir das Wissen über Ausdrücke. Ausdrücke oder englisch Expressions werden dazu verwendet um Daten leicht zu verwenden und zu Rekombinieren ( auch noch mehr aber das reicht fürs erste ). Was du suchst sind mathematische Ausdrücke: a := b + c a := b - c a := b * c a := b / c ...
by nnnik
15 Feb 2018, 03:21
Forum: Ich brauche Hilfe
Topic: Grösse einer Webseite ermitteln
Replies: 8
Views: 121

Re: Grösse einer Webseite ermitteln

So was kann zum Beispiel verwendet werden um einen Fortschrittsbalken während des Runterladens anzuzeigen.
Wenn man aber erst runterläd macht das natürlich keinen Sinn mehr.
by nnnik
14 Feb 2018, 19:07
Forum: Ask For Help
Topic: object classes: redefine __Set() temporarily / general queries
Replies: 69
Views: 1420

Re: object classes: redefine __Set() temporarily / general queries

There is no way to differentiate between properties and keys without side effects that only uses documented functionality. The difference between a property and a key does in no way relate to the .base object at all. Properties are commonly more found in .base object such as classes - however there ...
by nnnik
14 Feb 2018, 17:28
Forum: AutoHotkey v2 Development
Topic: list of every object type/property/method
Replies: 13
Views: 299

Re: list of every object type/property/method

- Having trouble ordering what? In what way are interfaces significant? - I've ordered everything in the OP by key/method/property, and I split any lists in the same way that the documentation did. - I've dealt with raw interfaces where you call the methods in the verb tables directly (e.g. for Exp...

Go to advanced search