[Framers] ExtendScript function for creating a unique id

Klaus Daube klaus at daube.ch
Sat Jun 23 03:54:03 PDT 2018


On 20 Jun 2018 at 16:42, Rick Quatro wrote:

> When I right + click on an element, I can choose Assign ID to Element. Is
> there an ExtendScript function or method for doing this? Thanks.

Rick, for my temporary variables in FM-calc.jsx I wanted to have such a function and 
ended up to create a time-based name: function GetTmpVarName (oDate) 
See http://daube.ch/zz_tests/GetTmpVarName.jsx

HTH
Klaus
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Klaus Daube             Phone:  +41-44-381 37 77
Schäracher 11           Mail:   klaus at daube.ch
CH-8053 Zürich          Web:    www.daube.ch




More information about the Framers mailing list