Page 1 of 1

app.isWatchFolder

Posted: October 20th, 2005, 4:44 pm
by CR
Does anyone have any insight into watchfolder scripting. I've been using the watch folder and it works consistently, but while it's running you can't send a script to it. I've tried using things that are documented in the scripting guide but none work.

pauseWatchFolder()
endWatchFolder()
app.isWatchFolder

I get an error that says: Can not run a script while a modal dialog is waiting fo response.

Any idea how the above lines are supposed to work if you can not send it a script in this mode?

I went to the modal dialog section of the guide. It says:

When calling the hide() or close() methods during the execution of a modal dialog, the dialog is dismissed.

This didn't work either.

The only one that works is: watchFolder()
I can get it to start the mode and watch a folder but after that, nothing.

Re: app.isWatchFolder

Posted: September 21st, 2010, 3:17 am
by donlucacorleone
hello to everyone.
i know this is a 5-years-old post but maybe something has changed in the meanwhile...

this is what i want to realize:
some pcs are running into watch folder mode.
when they found something to render, they automatically start (and this is already done by render engine in watch folder mode).
i need to log some infos, such as: render status, when any single machine has finished, if there are some errors, and so on.

but if there is the watch folder dialog i can't do nothing with scripts...
any news since 2005 ??

thank you in advance