On 2/10/2005 4:29:04 AM, Ted Wall ([EMAIL PROTECTED]) wrote:
 > An event is less CPU intensive at startup:
 >
 > EVENT.Create(10,30, ESC("event.destroythis\n",?"\")++ ;;+
 > ".YourScript", ?#ANYWINDOW("=notepad")# )
 >
 > The above event launches YourScript.txt when a "notepad.exe" exists.

Hi Ted,

I'm just learning about the Event plugin, very nice.

Just with the above, the Event.txt info file doesn't mention "\n" for 
new lines, only "\r"..  is that an error above, or an omission in Event.txt?

Also, the ESC() function seems kinda messy when there's the ?"" syntax, 
doesn't it?  This:

    EVENT.Create(10,30, ESC("event.destroythis\n",?"\")++ ;;+
    ".YourScript", ?#ANYWINDOW("=notepad")# )

could be written as:

    Event.Create(10,30, ?#.YourScript\r Event.DestroyThis#, \+
        ?#anywindow("=notepad")#)

couldn't it?

Cheers
Karen




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to