Here it is: http://tech.groups.yahoo.com/group/power-pro/message/32093
I use the scheduler with the following:
Exec.Tofile("C:/PP_ActivityLog.txt",formatdate("dd/MM/yyyy",date)++"|"++formattime(
"HH:mm:ss", time)++"|"++ win.exename("active") ++ "|"
++win.caption("active"))
Cheers
