Script UI

Started by garry23, December 19, 2017, 11:06:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

garry23

I'm writing this short post in the spirit of passing on my humble learning, in order to help others trying to script.

As 'the ML gurus' know I am far from a scripting expert, nevertheless, through a lot of experimentation, and guru support, I've picked up enough to 'get by' in scripting.

BTW I noticed lately a few 'negative' or 'curt' comments appearing on the forum, and this saddens me; as 'the gurus' give their time freely and people like me have a lot to learn from them. I hope others posting respect the hardwork of 'the gurus'.

As for the reason to post this entry, it was to feedback that scripting is all well and good,  ie getting the syntax and 'equations' right; however, a good script can be let down by a poor/weak User Interface (UI): which I think covers: usability and user experience.

Having now reached the 'script and maths' is right stage, I realized my two main scripts (The Focus Bar and The Toggler) were letting themselves down wrt their UI.

Of course I can only talk about this through my (old) eyes and how my brain works, but I was clear to me (pun intended) that the UI needed attention. For example, font size and font colours (foreground and background), plus message positioning.

I've therefore attempted to get a 'better' user experience and welcome any feedback on what I've tried to do.

The Toggler is at https://gist.github.com/pigeonhill/508a3722b9dc319b64ca4c5972b9e50b

The Focus Bar is at https://gist.github.com/pigeonhill/cd1dbe0191ca1264fc0aa07aaafb515d