--- In [email protected], "phkiefer" <[EMAIL PROTECTED]> wrote:
>
> Both the KeyTrap and MouseTrap plugins use PowerPro's Eval() function
> to control processing of the entries in their .INI files. I wanted to
> set up a condition based on the Win plugin but found that Eval does
> not seem to support plugin calls.


eval works with plugins for me.

Remember that eval takes the result its expression argument, and then 
treats it as a string, which is run through the expression evaluator 
again.

For example,
win.debug(eval(?-"- ++win.handlelist("*") ++ ?-"-))
> 
puts a list of window handles to the debug window.  But without the 
surrounding ?-"-, it would attempt to evaluate that list of handles as 
an expression, which would fail with a bad expression syntax error.




Reply via email to