MACRO Example: Swift Script returning list of variable names from KME

The Variable Inspector Prompt shows local variables too - just read the instructions on how to use it.

I tried, but the language they use is really hard for me to read. I need more time to learn that.

Many thanks.

Another option besides VIP:

I haven't used either one and therefore have no opinion on their efficacy (yet).

1 Like

Installing the Variable Inspector Prompt (VIP) utility is easy - just download and unzip the file and then double-click to install into KM.

You then include the following action in your own macros:

image

When you run your macro the VIP shows something like this:

This is a test macro of mine and you can see it has global, instance and local variables displayed.

Just make sure the VIP options are set up correctly like this for example:

2023-03-22_18-46-42

I'm not sure how else I can help so I hope you can make some progress!

3 Likes

Many thanks. Really appreciate it. Let me do the last thing.

1 Like