app.isWatchFolder

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
CR
Posts: 4
Joined: October 1st, 2005, 1:14 pm

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.
donlucacorleone
Posts: 1
Joined: September 20th, 2010, 2:21 am

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