I've found some interesting code here Supercharge Your User Interfaces in JSL ( US 2018 113 ) and am trying to implement this with minor modifications as a table script (demo table attached).
The final touches I want to apply are these:
- Set the picture size in the script (ideally, preserving the original aspect ratio.
I've tried; for example 'one_pic << Set Size({200,200})' and 'one_pic << scale (.2)'; in different positions inside the if() function starting at line 43, and I've also tried these messages in other places. No success. - Not being confident when it comes to using namespaces and neither highly experienced with regards to variables and references, the script uses 'dt = current data table()' to refer back to the table the script is stored in.
Is this the right, computational approach or this what an inexperienced scripter would do?
Thanks for helping.