--- In [email protected], "jroncalm" <[EMAIL PROTECTED]> wrote:
>
> > - added configure.exportsched(path)
> 
> It works fine. !!!
> 


Hi Bruce,

Ooops, I'm sorry. I think I've a problem.
*Configure.ExportSched &(strPath) works fine from hot key. 
But, it show a error as event into *Scheduler : *Script / Runfile / 
C:\ProgramFiles\ToDo.txt
( Error: "Cannot configure while scheduled event in progress " ).
How can I do it ?

Thanks.

Regards
Jose

P:D::
Script in file ToDo.txt:
=============================
; ToDo
strPath = "C:\Temp\sched.ini"
*Configure ExportSched &(strPath)
str_hoy = date
fh = file.open(strPath,"r")

if (fh > 0) Do
   ; set note
    nh = note.open
    nh.size(500,300)
    nh.move(262,234)
    nh.ontop(1)
    nh.setBackColor(10,200,200)
    nh.setCategory("ToDo")
    ;
    for each lineNum in fh
       str = fh.ReadString
       ; other commands
        ....
    endfor
    fh.Close
else
     MessageBox ("ok", "Error opening file" ++ strPath )
endif

=============================


Reply via email to