Source language: Translate to:

Directory Watcher

Questions and information about using VBScript and JavaScript in NeoBook functions

Moderator: Neosoft Support

Postby Neosoft Support » Mon Oct 27, 2008 10:57 am

You can't use "Wscript.Echo" because Wscript is an object that writes text to the screen which won't work with graphics mode apps like NeoBook. you should use something like msgbox here instead.

What do you want to happen when the monitored folder changes?
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby Neosoft Support » Mon Oct 27, 2008 11:25 am

Your VBScript is running in an endless loop. You need to find a way to exit the loop when the pub closes. You might be able to do this by checking a NeoBook variable (set in your shutdown action) inside the loop.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to NeoBook Functions - VBScript & JavaScript

Who is online

Users browsing this forum: No registered users and 1 guest

cron