'Blessed' plugins - improved with scripted solution

MisterX b.xavier at internet.lu
Sat Sep 18 01:13:57 EDT 2004


I had a similar problem. Rev wouldn't save my prefs until I quit. WHich is
a major time waste if you have more than one stack opened. Also if RR happened
to crash, I'd loose my prefs.

I just modified their code to my liking... There's a bugzilla for it if you
want the mod. it's 2097. I would suggest doing the same thing... Of course
for the new users it's another problem...

edit script of cd 1 of stack revtools

find this line... and change the if statement.

  repeat for each line l in tStacksList
    if the visible of stack l and the mode of stack l < 3
    then put the rect of stack l & cr after tEditRects
  end repeat

Tested with Modal, modeless and palettes...

For your users, just include the revtools stack to be replaced - version
permitting
naturally ;)

Cheers
Xavier
--
http://MonsieurX.com
A virtual garage for revolutionary tools
RR Plugins, applications, links and tips
--


> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of
> FlexibleLearning at aol.com
> Sent: Friday, September 17, 2004 22:59
> To: use-revolution at lists.runrev.com
> Subject: 'Blessed' plugins
>
>
> There is, presently no way I can figure to make a plugin immune from Rev's
> drap and drop of controls. For plugins that need to be modifiable this is a
> problem, especially for palette or modeless stacks... User
> accidentally creates
> a control on your plugin and cannot easily remove it (and if a newbie to Rev
> would probably be very confused if not lost).
>
> At the moment, the revTools palette locks messages (so no trapping events)
> and only tests if visible and modifiable (unreliable). My suggestion is a
> 'blessed' property of some nature that the plugin author and revTools both
> implement as a common identifier.
>
> Comments? Suggestions?
>
> /H
>
> Hugh  Senior
> The Flexible Learning Company
> Web: _www.FlexibleLearning.com_ (http://www.flexiblelearning.com/)
> E: _h at flexiblelearning.com_ (mailto:h at flexiblelearning.com)
> T/F:  +44(0)1483.27 87 27
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list