Help

Passing Output Variable from Script to Another Script

Topic Labels: Automations
Solved
Jump to Solution
1053 2
cancel
Showing results for 
Search instead for 
Did you mean: 
petehunts
5 - Automation Enthusiast
5 - Automation Enthusiast

Hello! 

Apologies for the potentially basic question, but I was having trouble sorting through the existing documentation and I couldn't find a simple explanation. 

I'm trying to pass the output variable newCode into a new script, however I'm not sure how to define the variable before I pass it to the oldCode variable (see screenshot). Any suggestions would be appreciated!

Thanks,

Peter

1 Solution

Accepted Solutions
kuovonne
18 - Pluto
18 - Pluto

To use the value of an input variable in the script you must use input.config(). Look at the top of the left panel of the script editor in your screen shot. The words "Learn more" are in blue. Try clicking that for more info.

See Solution in Thread

2 Replies 2
kuovonne
18 - Pluto
18 - Pluto

To use the value of an input variable in the script you must use input.config(). Look at the top of the left panel of the script editor in your screen shot. The words "Learn more" are in blue. Try clicking that for more info.

@kuovonne thanks! Couldn't "see the forest for the trees"...appreciate the help.