Hey All,
I'm having an issue with the scriptToShelf command. I can get the following code to execute correctly:
$label = "Lbl";
$command = "sphere\;";
scriptToShelf ($label, $command, true);
But, I'll ultimately want to get the name of the button created so I can edit it. When I try to do the following:
$newButton = scriptToShelf ($label, $command, true);
I get a syntax error. Any ideas on how to get the name of the button that is created?
The same thing happens with the textToShelf command.