app.isWatchFolder
Posted: October 20th, 2005, 4:44 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.
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.