Hi,
the new VarToy for IMatch 6 is now also finished.
It is based on IMWS of course, and uses the new scripting interface for IMatch 6.
When re-writing it, I made some changes:
1. Better looks ;)
2. The upper panel is now resizeable and the lower panel uses the remaining space.
3. We have a HTML mode which allows you to use standard HTML tags in your variable expression to format the output.
This can be a great thing if you use the App Panel to test some HTML or you just want to make some data stand out in a bold font or a different color.
I'm still pondering if I should support some sort of history, e.g. remembering the last 10 used variable expressions, with a prev/next button. I could surely use that...
This is how it looks at the moment:
(https://www.photools.com/community/index.php?action=dlattach;topic=6393.0;attach=14633;image)
Quote from: Mario on February 14, 2017, 02:21:36 PM
2. The upper panel is now resizeable and the lower panel uses the remaining space.
Hah, cool. You would not believe it, I was several times very near to post a feature request about this, but thought, ok, Mario has enought to do!
Great, thanks.
You did mention it in a post recently.
But it was on my to-do list anyway ;)
We now also have a history so IMatch remembers the last variable expressions you have used.
You can navigate between them in the VarToy. Cool feature.
Quote from: Mario on February 14, 2017, 05:23:17 PM
You did mention it in a post recently.
But it was on my to-do list anyway ;)
Phew, I am astonished always again about your brain! :o
Either you have a super-brain or/and a very good system for your ideas, thoughts and so on. ;D
My memory is quite good. Programmers usually have good memory because need to remember lots of things... ;)
Just for fun (it actually us fun to write IMatch scripts in HTML and JavaScript ;D ) I've added a history option.
IMatch now remembers the last 20 used variable expressions.
This also allows me to show people interested in scripting how to use the /data endpoints to store and load data into the small 'cloud' IMWS maintains. Very easy and convenient.
This is how the final result looks:
(https://www.photools.com/community/index.php?action=dlattach;topic=6393.0;attach=14636;image)