Good variable dump script for V2

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
rtremmel
Posts: 2
Joined: 19 Nov 2022, 08:30

Good variable dump script for V2

Post by rtremmel » 27 Nov 2022, 22:21

Does anyone have a good variable dump script for V2? I tried dmp, m.ahk, and AutoHotkey-JSON. I could not get any of them to work under V2 even after running through AHK-v2-script-converter and fixing minor syntax errors. I really like AutoHotkey V2. It is much cleaner than V1.1. I am looking for something that will dump any object including Map objects.
Last edited by gregster on 27 Nov 2022, 22:23, edited 1 time in total.
Reason: Topic moved from 'Scripts and Functions'.

User avatar
thqby
Posts: 407
Joined: 16 Apr 2021, 11:18
Contact:

Re: Good variable dump script for V2

Post by thqby » 27 Nov 2022, 23:46

viewtopic.php?f=83&t=100602
cpp-json

viewtopic.php?f=83&t=70235
HotkeyIt's Yaml and JSON parser
https://github.com/thqby/ahk2_lib/blob/master/JSON.ahk
Modified version

viewtopic.php?f=83&t=74799&hilit=json
TheArkive's JSON Serializer

Aren't these all?

Descolada
Posts: 1140
Joined: 23 Dec 2021, 02:30

Re: Good variable dump script for V2

Post by Descolada » 28 Nov 2022, 01:50

In addition to thqby's recommendations, I wrote 'Print' for that exact reason (available under Misc.ahk as a standalone function).

Post Reply

Return to “Ask for Help (v2)”