script initialize scripting name with thispatcher

piwolf's icon

when creating a videoplane using a script message to this patcher, how does one intialize the scripting name so you can then use a script message to delete it later?

Max Patch
Copy patch and select New From Clipboard in Max.

Ben Bracken's icon
Max Patch
Copy patch and select New From Clipboard in Max.

You will want to give your new object a scripting name (aka @varname):

piwolf's icon

yeah i tried varname but without the text"" syntax so it wasnt working. Thanks a ton!!!