JoelS 0 Posted September 25, 2004 Is there any way to attach a script to a selected object, activated perhaps by a double-click, modifier-click or contextual menu item? Is there any type of object that supports this behaviour? Thanks, Joel. VW 10.5> Quote Share this post Link to post
matto 2 Posted September 27, 2004 Not that i've found. Maybe you could wrap the object inside a PIO then use buttons in the info palette. Quote Share this post Link to post
JoelS 0 Posted September 27, 2004 > Maybe you could wrap the object inside a PIO > then use buttons in the info palette. I toyed with that but it's still a level of indirection that takes the immediacy from the interaction. There might be a good case for a 'control' layer in VW documents that sits above all others, onto which script enabled objects could be placed for the user to manage many drawing-contextual tasks like navigation. Thanks for your post. Joel. Quote Share this post Link to post
patman 0 Posted October 1, 2004 What you are describing sounds like a PIO. Why not make it a custom object? You can have it regen (or run the creation code) when it is move, resized or rotated. If you place parameters in the OIP you can then make it totally flexible. Patrick Quote Share this post Link to post
JoelS 0 Posted October 1, 2004 Thanks Patrick, I'll look at it again. Joel. Quote Share this post Link to post