AnsweredAssumed Answered

Passing Variables Between Files

Question asked by pmccudden on Aug 31, 2018
Latest reply on Sep 3, 2018 by Mike_Mitchell

Disclaimer: This is not about copying layouts into another file.


Hello Everyone,


What I would like to do is standardize some of the dialog boxes I use across multiple files. However, I am running into some issues passing variables between the files. The goal is to have one main file that keeps all of the dialog layouts I'd use in multiple files. When I needed one of the dialogs, I would call a script in the main file that relates to that dialog. My thinking was that I would be able to pass a variable back to the original file through an Exit Script ( Text Result: $result ). But when I use Get ( Script Result ), I it's always blank. However when I test it in the same file, everything works as expected. Am I missing something, or can variables not pass between files? Or is there another way to do it?