I'm trying to have two scripts with trigger via 'Toolbar Button Pressed'
Button 1 is called 'This is script'
Button 2 is called 'This is script Child'
but when Button 1 is pressed both are executed at the same time. Could review examples bellow.
Code:
//Caller Script - Parent
//Trigger: Toolbar Button Pressed
if (name = 'This is script') {
alert('script 1')
}
Code:
//Be called - Child
//Trigger: Toolbar Button Pressed
if (name = 'This is script Child') {
alert('script 2')
}
Off topic: Is it possible to have script1 call script2? Thanks