Search found 3964 matches

by nnnik
14 Oct 2019, 05:30
Forum: Forum Issues
Topic: Want to add animated GIF to post but "Broken Link for safety" appears
Replies: 16
Views: 1052

Re: Want to add animated GIF to post but "Broken Link for safety" appears

It probably just failed to upload due to some issues with the network
by nnnik
07 Oct 2019, 13:29
Forum: AutoHotkey v2 Development
Topic: [a105] index/element [1] goes missing Topic is solved
Replies: 11
Views: 662

Re: [a105] index/element [1] goes missing Topic is solved

You might want to read the changelog in greater detail starting from a103
by nnnik
04 Oct 2019, 13:23
Forum: Forum Issues
Topic: Want to add animated GIF to post but "Broken Link for safety" appears
Replies: 16
Views: 1052

Re: Want to add animated GIF to post but "Broken Link for safety" appears

??? I think that was merely pointing out where the flaw lied? I dont think I was rude or anything?
by nnnik
04 Oct 2019, 03:55
Forum: AutoHotkey v2 Development
Topic: Changes to %fn%(), fn.call() or func('fn') syntax?
Replies: 32
Views: 2133

Re: Changes to %fn%(), fn.call() or func('fn') syntax?

Ideally partial application should be implied by sending an insufficient number of arguments for evaluation.
Sounds like a complete disaster to me.
by nnnik
04 Oct 2019, 03:53
Forum: Forum Issues
Topic: Want to add animated GIF to post but "Broken Link for safety" appears
Replies: 16
Views: 1052

Re: Want to add animated GIF to post but "Broken Link for safety" appears

Well if its not a .gif but instead an html that you linked why do you expect it to work?
by nnnik
03 Oct 2019, 00:56
Forum: Forum Issues
Topic: Want to add animated GIF to post but "Broken Link for safety" appears
Replies: 16
Views: 1052

Re: Want to add animated GIF to post but "Broken Link for safety" appears

It happens when you have less than 30 posts or so.
by nnnik
22 Sep 2019, 16:22
Forum: Allgemeines
Topic: Wie wirklich ist die Wirklichkeit
Replies: 28
Views: 2555

Re: Wie wirklich ist die Wirklichkeit

Es ging mehr um die Andeutungen, dass die flat earther Recht hatten als um den Film.
by nnnik
20 Sep 2019, 23:40
Forum: Allgemeines
Topic: Wie wirklich ist die Wirklichkeit
Replies: 28
Views: 2555

Re: Wie wirklich ist die Wirklichkeit

Ich hab mich von diesem Thema ferngehalten, da es mir zu dumm war. Wenn ich aber sehe was hier so geschrieben wurde frage ich mich ob ich das nicht hätte verhindern können in dem ich moderierend eingreife.
by nnnik
15 Sep 2019, 11:51
Forum: General Discussion
Topic: your personal AutoHotkey style guide
Replies: 100
Views: 13767

Re: your personal AutoHotkey style guide

Which brings us back to the discussion of practices. Something that I do regularily or many others do regularily might be completely foreign to other people. No member will ever be able to completely understand all other peoples styles - a rule for good practices probably can only be enforced by the...
by nnnik
13 Sep 2019, 13:06
Forum: Forum Issues
Topic: Where is the Chinese Forum ?
Replies: 69
Views: 9960

Re: Where is the Chinese Forum ?

Also regardong the person making the report claiming that chinese internet and forum culture is different and that paying is more common and more widely accepted I want to reply publically. The AutoHotkey LLC is a no profit organization and as such we are not permitted to promote or support paid ser...
by nnnik
13 Sep 2019, 12:56
Forum: AutoHotkey v2 Scripts and Functions
Topic: [2.0-a104] Simple InLine Asm
Replies: 2
Views: 337

Re: [2.0-a104] Simple InLine Asm

Interesting concept :)
by nnnik
30 Aug 2019, 05:24
Forum: Ask For Help
Topic: Curly brackets vs. Square brackets for associative arrays
Replies: 3
Views: 239

Re: Curly brackets vs. Square brackets for associative arrays

When you create an object with [] you can easily add a lot of numerical keys to it. e.g. arr := [1,2,3,4] {} allows you to add all types of named keys to it. e.g. assocArr := {"val1":1,"val2":2} The convention is it to use [] for arrays and {} for associative arrays and keep the 2 types seperate to ...
by nnnik
28 Aug 2019, 04:00
Forum: Ask For Help
Topic: Speed: 32 vs 64 bits
Replies: 6
Views: 479

Re: Speed: 32 vs 64 bits

I just tried it with the test benchmark provided but modified it a tiny bit: #NoEnv SetBatchLines, -1 str .= "`nScript is " . (A_PtrSize=8 ? "64-bit" : "32-bit") "`n" start := A_TickCount Loop, 1000000 { x := A_Index } str .= "Simple loop " A_TickCount-start "`n" start := A_TickCount Loop 1000000 { ...
by nnnik
24 Aug 2019, 22:32
Forum: AutoHotkey v2 Development
Topic: Map shorthand
Replies: 24
Views: 1411

Re: Map shorthand

I mostly create classes for stuff like that.
I really mainly use the shorthand syntax for lookup tables
by nnnik
23 Aug 2019, 05:02
Forum: AutoHotkey v2 Help
Topic: objects: override __Item: raw get/set
Replies: 6
Views: 529

Re: objects: override __Item: raw get/set

Oh true. Currently writing both in v1 and also learning v2 on the side is getting me super confused :crazy: class ObjHelper { static defaultValues := map() static setDefaultValue(mapObject, defaultValue) { this.defaultValues[&mapObject] := defaultValue } static getValue(mapObject, keyName) { if (map...
by nnnik
23 Aug 2019, 04:19
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 338
Views: 89047

Re: GDI+ standard library 1.45 by tic

https://lexikos.github.io/v2/docs/objects/Array.htm < See
You should probably just replace that array with a map.
by nnnik
23 Aug 2019, 04:00
Forum: AutoHotkey v2 Help
Topic: objects: override __Item: raw get/set
Replies: 6
Views: 529

Re: objects: override __Item: raw get/set

I personally prefer to use external functionality for this. class ObjHelper { static defaultValues := map() setDefaultValue(mapObject, defaultValue) { this.defaultValues[&mapObject] := defaultValue } getValue(mapObject, keyName) { if (mapObject.has(keyName)) { return mapObject[keyName] } else if thi...
by nnnik
22 Aug 2019, 00:16
Forum: AutoHotkey v2 Development
Topic: Why are static definitions not inherited?
Replies: 19
Views: 1176

Re: Why are static definitions not inherited?

Using nested classes anywhere else in the script was a key feature of v1. It needs to be retained until a suitably simple and intuitive method for seperating namespaces has been developed.
Currently we only have Helgefs design which imo is a bit over the top.
by nnnik
21 Aug 2019, 14:38
Forum: AutoHotkey v2 Development
Topic: Why are static definitions not inherited?
Replies: 19
Views: 1176

Re: Why are static definitions not inherited?

Consider: A) class ParentClass { class ContainedClass { static staticMember := "" method() { return ?.staticMember } } } class ContainedClass { static staticMember := "Hello World" } B) ParentClass := new ParentClass() class ParentClass { static staticMember := "" method() { return ?.staticMember } ...

Go to advanced search