Search found 3253 matches

by nnnik
Today, 07:45
Forum: Forum Issues
Topic: quotes no longer attributed
Replies: 4
Views: 63

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
Today, 07:42
Forum: Offtopic
Topic: Test your Forum Posts
Replies: 329
Views: 72813

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
Today, 06:21
Forum: Offtopic
Topic: Thank you for the music
Replies: 167
Views: 56441

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
Today, 02:27
Forum: AutoHotkey v2 Development
Topic: Objects+
Replies: 13
Views: 352

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
Yesterday, 13:09
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 56
Views: 523

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
Yesterday, 12:52
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 56
Views: 523

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
Yesterday, 11:58
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 56
Views: 523

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

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

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
Yesterday, 11:20
Forum: Forum Issues
Topic: Codebox theme
Replies: 15
Views: 257

Re: Codebox theme

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

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: 56
Views: 523

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.
by nnnik
16 Nov 2018, 11:14
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 56
Views: 523

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

Thanks for the links :)

You can use ObjectBindMethod on COM Objects.
by nnnik
16 Nov 2018, 09:29
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 56
Views: 523

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

Do you have any source on how Powershell gets the amount of parameters for any COMObject?
by nnnik
16 Nov 2018, 08:08
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 56
Views: 523

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

My case is fundamentally different from your and I do have to assume that you did not run the code. In the first case only the meta functions will be called and not the methods behind that - in the case of useing %fn%() the parameter count is therefore equivalent to 0-1 or 1-2 depending on the mode....
by nnnik
16 Nov 2018, 06:45
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 56
Views: 523

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

You are oversimplifying things: How many parameters would the following objects have at each point in time? Msgbox using `%fn`%() ;inconsistency t := new test() %t%("Hello World") %t%("Hello World", "Hello World 2") %t%() Msgbox using fn.call ;featuring the stuff of nightmares t2 := new test() t2.ca...
by nnnik
16 Nov 2018, 05:57
Forum: Ich brauche Hilfe
Topic: VBA: Text nach unten schieben
Replies: 6
Views: 87

Re: VBA: Text nach unten schieben

Wenn so ein Fehler auftaucht bedeutet das, dass diese Aktion fehlgeschlagen ist. Bei dir ist das ganze wie eine lange Reihe Dominosteine aufgebaut und da der erste nicht fällt klappen die anderen auch nicht um. Was fehlschlägt ist das erhalten des aktiven Word Programms. Das kann daher kommen, dass ...
by nnnik
16 Nov 2018, 05:44
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 56
Views: 523

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

And like I said the majority of what you call function objects only implement the callable interface and are not functions.
In v2 we want to move all error handling to throwing exceptions.
by nnnik
16 Nov 2018, 05:39
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 56
Views: 523

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

I never said that I do not see the same problems - in fact I have repeated this argument over and over again.
However there is no hope for v1.

In order to check the amount of parameters on any method that any AHK Object provides we may have to remove meta-functions.
by nnnik
15 Nov 2018, 10:01
Forum: Wish List
Topic: ObjGetBase(Object) and ObjSetBase(Object, BaseObject) Need to Change
Replies: 56
Views: 523

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

Function objects often do have a base object. Function objects are all objects returned by Func() . All other objects implement the "Callable" interface. They are therefore callables not function objects. Function objects don't have a base object they have a function that handles all acceses. so th...

Go to advanced search