NewObject ids (was: PlugIn Immunity)

2006-10-18 Thread FlexibleLearning
The 'clone' command places the id of the newly created object in 'it'... I am looking for a way of identifying this information for a cloned object inside a 'newField[btn,sb,player etc]' handler. The only solution I can think of is to use a global, set in the clone command itself.

Re: NewObject ids (was: PlugIn Immunity)

2006-10-18 Thread Ken Ray
On 10/18/06 1:13 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The 'clone' command places the id of the newly created object in 'it'... I am looking for a way of identifying this information for a cloned object inside a 'newField[btn,sb,player etc]' handler. The only solution I can think

Re: NewObject ids (was: PlugIn Immunity)

2006-10-18 Thread FlexibleLearning
the 'last' object. I don't think there is a generic solution for plugin immunity until Rev adjusts the revFilterStacksLists handler. However, the following does test [1] that the last created object is the same as the 'last' object and that [2] the stack allows controls to be added interactively

Re: Plugin Immunity

2006-10-17 Thread FlexibleLearning
revFilterStacksList this is what I will be implementing in the Scripter's Scrapbook frontScript... # PLUGIN IMMUNITY on newButton ssBkCheckRevImmunity pass newButton end newButton on newField ssBkCheckRevImmunity pass newField end newField on newGraphic ssBkCheckRevImmunity pass newGraphic end

Re: Plugin Immunity

2006-10-17 Thread FlexibleLearning
And a property-based workaround... on newField [newButton / newScrollbar / newPlayer etc] ssBkCheckRevImmunity pass newField end newField on ssBkCheckRevImmunity if the revblessed of stack the mainstack of this stack=true AND \ the mode of this stack 1 then delete last control beep exit

Re PlugIn Immunity [No Good]

2006-10-17 Thread FlexibleLearning
Both my 'brilliant' ideas fail to take account of internally created objects. Back to drawing board. /H ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard

Re: Re PlugIn Immunity [No Good]

2006-10-17 Thread Malte Brill
Hi hugh, you might want to try this (and variations for the other controls) In the stack script: on newButton if revTools is in the executionContexts then delete the target send clearSelection to me in 50 milliseconds end if pass newButton end newButton on clearSelection

Re: Plugin Immunity

2006-10-16 Thread Jeanne A. E. DeVoto
At 1:53 PM -0400 10/14/2006, [EMAIL PROTECTED] wrote: Is there a way to stop Rev being able to create new controls in a stack that is designed to work as a Rev plugin? This isn't as elegant as preventing creation of the control, but you can trap newButton and the other new[Control] messages

Re: Plugin Immunity

2006-10-16 Thread FlexibleLearning
Is there a way to stop Rev being able to create new controls in a stack that is designed to work as a Rev plugin? This isn't as elegant as preventing creation of the control, but you can trap newButton and the other new[Control] messages and delete (possibly with an error message to the

Re: Plugin Immunity

2006-10-16 Thread Chipp Walters
How about just making the stack a palette...then Rev can't add controls to it because they always get added to the topStack (assuming a topStack is open). -Chipp ___ metacard mailing list metacard@lists.runrev.com

Re: Plugin Immunity

2006-10-16 Thread Jeanne A. E. DeVoto
At 8:56 PM -0500 10/16/2006, Chipp Walters wrote: How about just making the stack a palette...then Rev can't add controls to it because they always get added to the topStack (assuming a topStack is open). That's true when you use the New Control submenu, but you can drag them from the tool

Re: Plugin Immunity

2006-10-15 Thread FlexibleLearning
Is there a way to stop Rev being able to create new controls in a stack that is designed to work as a Rev plugin? maybe setting the "cantmodify" to true does work for you?Not an option I'm afraid, Klaus. The plugin stack is designed to be content-modifiable. The stoic insistence by Rev's

Re: Plugin Immunity

2006-10-15 Thread Ken Ray
On 10/15/06 12:38 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there a way to stop Rev being able to create new controls in a stack that is designed to work as a Rev plugin? maybe setting the cantmodify to true does work for you? Not an option I'm afraid, Klaus. The plugin

Re: Plugin Immunity

2006-10-14 Thread FlexibleLearning
Is there a way to stop Rev being able to create new controls in a stack that is designed to work as a Rev plugin? /H ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard

Re: Plugin Immunity

2006-10-14 Thread Klaus Major
Hi Hugh, Is there a way to stop Rev being able to create new controls in a stack that is designed to work as a Rev plugin? maybe setting the cantmodify to true does work for you? /H Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de

Plugin Immunity

2006-10-13 Thread FlexibleLearning
How can we stop a stack used as a Rev plugin from accepting dd controls from Rev's tools palette? Even stacks that are modeless and palette are not immune. Or have I missed something? /H ___ metacard mailing list metacard@lists.runrev.com