Jonathan Pickup Posted November 28, 2007 Share Posted November 28, 2007 (edited) Here is a script that will hide the class of an object you click on. The script finds the object, finds out what class the object in on and then turns that class invisible. I would post a the file of the plug-in, but the file manager won't let me, so you'll have to make your own tool and icon for this. Script--------------------------------- Procedure HideClassSelected; {written by Jonathan Pickup 2000, Edited 2007} VAR h2obj, h2obj2 : HANDLE; ClassName : STRING; x,y : REAL; Continue : BOOLEAN; BEGIN DSelectAll; Getpt(X,y); H2Obj := PickObject(x,y); IF h2obj<>NIL THEN BEGIN ClassName := GetClass(h2obj); IF GETTYPE(h2obj)=11 THEN BEGIN SetSelect(h2obj); DoMenuTextByName('Group Navigation Chunk',1); h2obj2:=PickObject(x,y); ClassName := GetClass(h2obj2); IF ClassName='None' THEN SYSBEEP ELSE HideClass(className); DoMenuTextByName('Group Navigation Chunk',2); END ELSE IF ClassName='None' THEN SYSBEEP ELSE HideClass(className); END ELSE sysbeep; ReDrawAll; END; Run(HideClassSelected); ----------------------------------- Edited November 29, 2007 by archoncad Quote Link to comment
Guest Posted November 28, 2007 Share Posted November 28, 2007 Jonathan, Can you try to attach a file now? It should be fixed. (edit this post and see if File Manager is there) Quote Link to comment
Jonathan Pickup Posted November 28, 2007 Author Share Posted November 28, 2007 still can't upload a .vso file. you need to allow use to upload .vst .vsm .vso Quote Link to comment
Chris D Posted November 29, 2007 Share Posted November 29, 2007 {?Jonathan Pickup 2007} I thought this forum was for non-copyright material only Quote Link to comment
Petri Posted November 29, 2007 Share Posted November 29, 2007 Thanks for reminding - now I know not to share anything here! Quote Link to comment
Jonathan Pickup Posted November 29, 2007 Author Share Posted November 29, 2007 i have changed it. it would be nice for people to acknowledge the author of a tool. Quote Link to comment
Chris D Posted November 29, 2007 Share Posted November 29, 2007 Come on Petri, let's see your wares! Thanks Jonathan, only a technicality...I just like to know where I stand.. Quote Link to comment
Guest Posted November 29, 2007 Share Posted November 29, 2007 The copywrited statement is for people who want to post stolen material. This will not be permitted. If you want to post your own information, with a copywrite symbol, that is perfectly fine. Quote Link to comment
Chris D Posted November 29, 2007 Share Posted November 29, 2007 If you want to post your own information, with a copywrite symbol, that is perfectly fine. What does Copyright mean in practice in this situation then? What licence do you grant us to use this material, other than to admire it? Pat Stanford has included a GNU licence in his copyright text over on the General Discussion forum - which looks sensible. I suggest you make this a general condition for posting scripts. Quote Link to comment
Guest Posted November 29, 2007 Share Posted November 29, 2007 People add copyright symbols to their scripts, for example. If that person wants to share their script with someone else, they are within the confines to do such. What is not allowed, is for people to post scripts (or other material) which they do not have permission to distribute. Whatever the creator wants to do inside the script, by way of protection, specific text, licensing, etc is up to them. This is not something NNA will, or should monitor. NNA's role is to provide a community for everyone to share information they are willing to share. Quote Link to comment
Petri Posted November 29, 2007 Share Posted November 29, 2007 Come on Petri, let's see your wares! No, you won't. 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.