Search found 4 matches

by dens20
27 Aug 2014, 09:31
Forum: Scripts and Functions (v1)
Topic: JSON 2.0 (and Jxon) - JSON lib for AutoHotkey
Replies: 77
Views: 68051

Re: JSON [module] for AHK v.1.1+ and AHK v2

@Coco, thx for sharing your json class, it helped me a lot.
I noticed in your example that second param for JSON.parse is using default value. Because of it, array stringify fails...just making sure that example runs flawlessly :D
To modify: JSON.parse(src,1)
by dens20
27 Jul 2014, 10:51
Forum: Ask for Help (v1)
Topic: Strings and %'s and .'s
Replies: 2
Views: 1188

Re: Strings and %'s and .'s

I did c/p your middle code and run ( win7, AHKA32 v1.1.15.02). No exception, it works. Maybe there is something in the environment u're running ?
by dens20
27 Jul 2014, 03:20
Forum: Ask for Help (v1)
Topic: (SOLVED) Dynamically calling class method from a label
Replies: 2
Views: 1807

Re: Dynamically calling class method from a label

Ty for reply, and solution. I get it now. Did your suggestion on storing object ref. Here's example for anyone to stumble across it #SingleInstance Force #Persistent a := new someClass() a.setTimer() class someClass{ setTimer(){ setTimerForMethod(this,this.test,3000) } test(){ msgbox % "Hello ! some...
by dens20
26 Jul 2014, 17:28
Forum: Ask for Help (v1)
Topic: (SOLVED) Dynamically calling class method from a label
Replies: 2
Views: 1807

(SOLVED) Dynamically calling class method from a label

Hi, I run into some difficulty. Please if someone can shed some light why can't i run class method inside a label. I have marked the code line in question. I think I can solve this prob with RegisterCallback and DllCall, but I'am trying to understand OOP and wanna do the oop way. #Persistent a := ne...

Go to advanced search