Event plugin

"pprotcmd [email protected] [power-pro]" <[email protected]> Mon, 25 Mar 2019 11:27:51 +0300
Newsgroups gmane.comp.windows.power-pro
Message-ID <[email protected]>
I tried to become familiar with the event plugin, but it failed. Finally I took one example from the help, namely:

e=event.create(2,10,"keys abc\r event.destroythis", \+
?=visiblewindow("*notepad*")=)

Error message was:

Bad expression... blah-blah-blah
\+

I converted two lines into one:

e=event.create(2,10,"keys abc\r event.destroythis", ?=visiblewindow("*notepad*")=)

This scripts sends the following text to the Notepad window: "abc\r event.destroythis" many, I suppose, 10, times, continuously, that is, "...destroythisabc..." and so on.

The e variable is declared as global, or is not declared at all. "Variable must be declared..." is not checked.

I suppose that many changes were introduced in PowerPro since 2012 when the event plugin was released. And some of these features conflict with the old plugin.

Am I right?

__._,_.___

----------

Posted by: pprotcmd <[email protected]>
----------

PowerPro's download site: http://powerpro.cresadu.com/

Visit Your Group

https://groups.yahoo.com/neo;_ylc=X3oDMTJkdDBpamVrBF9TAzk3NDc2NTkwBGdycElkAzI0ODc3NzcEZ3Jwc3BJZAMxNzA2MDMwNDA5BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxNTUzNTAyNDc3

• Privacy • Unsubscribe • Terms of Use

__,_._,___