I agree David, IMHO this doesn't require a plugin because
Powerpro has plenty of existing features for this.

The advantage of a script over a plugin is that each user
can customise it as they wish

commands:
.log("expression")
for example:
.log("myvar")
Note that the expression is placed in quotes.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

log.powerpro script:

static logging
static logpath
if(not logpath)do
  logpath = "c:\pathto\defaultlog.txt"
endif

If(logging)do
  local line = date ++ " " ++ time ++ " " ++ arg(1) ++ " = " ++ eval(arg(1))
  exec.tofile(logpath,line)
  ;; or use a file plugin command
endif
quit

@on
static logging = 1
quit

@off
static logging = 0
quit

@onoff
logging = not logging
quit

@newfile
;; static logpath = input dialog to select a new logfile
quit



------------------------ 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