Hi everybody again...
Is there a way to make objects created by a script ?
I'm actually working on a dock widget, and I've scripted a right click menu with the item 'Create new shorcut'.
The only way I've found to achieve this within my script is to have a blank shortcut, which is hidden, containing its own script (for it to zoom in and out, like in ObjectDock, and a menu to set properties). Then I create a new one by cloning it with DesktopX.Object(Name).Clone NewName,x,y
It works fine, but I would go further. I'd like to implement those shortcuts as a class in my main script to simplify the code, but in the class Initialize Method, I have to create the DesktopX object.
I found nothing telling it's possible. Is anybody knows ?
Thx