A final comment about events, they follow a similar syntax format as
WIN.Debug. So, to see the differences between the following 3 items:


Event.Create(10,30, ESC("EVENT.Destroythis\r",?"\")++ ;;+
?".YourScript", ?#ANYWINDOW("=notepad")# )

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

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



Substitute "WIN.Debug" for "Event.Create", paste into a powerpro note
and right click to run as script...



Run the following from a powerpro note:

;XXXXXXXXXXXX
DEBUG

Win.Debug(10,30, ESC("EVENT.Destroythis\r",?"\")++ ;;+
?".YourScript", ?#ANYWINDOW("=notepad")# )

WIN.Debug(10,30, "Event.DestroyThis\r.YourScript", ;;+
?#Anywindow("=notepad")#)

WIN.Debug(10,30, ?#.YourScript\r event.destroythis#, ;;+
?#anywindow("=notepad")#)

Win.Show("PowerPro Debug")

QUIT


If I'm writing an event, I'll often test it this way before running 
the event.



Ted



PS

Another useful trick when wanting to test an event, preload Explorer's
tiny run box with:

"%ProgramFiles%\PowerPro\PowerPro.exe" EVENT.Unload

and "Ok" to run it from the tiny run box if an event goes ballistic
during development.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/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