JoelS Posted September 25, 2004 Share 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 Link to comment
matto Posted September 27, 2004 Share 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 Link to comment
JoelS Posted September 27, 2004 Author Share 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 Link to comment
patman Posted October 1, 2004 Share 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 Link to comment
JoelS Posted October 1, 2004 Author Share Posted October 1, 2004 Thanks Patrick, I'll look at it again. Joel. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.