5 Replies Latest reply on May 2, 2008 8:14 AM by (Rosta_Vanek)

    using variables defined in another script

    Level 1

      i have two separate scripts trigered by two unique shortcuts:

      lets say first SCRIPT_1 takes a color (or any other property) of currentlly selected object and saves it in a variable "objCOLOR"

      than i work on something else for a while or select different objects and eventually run SCRIPT_2 where id like to use value "objCOLOR" which i defined a while ago using SCRIPT_1

      is it possible to define variables in one script and after a while use them in another script ? some kind of SUPER GLOBAL variables stored in memory of InDesign ? available to be used by various scripts ?