--- In [email protected], "Sheri" <[EMAIL PROTECTED]> wrote:
>
> The documentation says:
>
> "For W2K and later, if the cmd ends in a comma then a parenthesis,
> for example, "myscript(,)", then the folder name and the file name
> are inserted as the last two arguments."
>
> How do you do that with cbx?
>
> file.watchfolder(wf, cbx("@printit",), "", "file lastwrite size")
>
> doesn't work.
>
> Thanks,
> Sheri
>
If there are not other args in the call to printit, maybe just use
"scriptfolder++"/"++scriptname++"&printit(,)" as callback (no cbx)?