> Try this low tech solution: > > on openstack > open file "C:/program1.txt" for write > if the result is not empty then quit metacard > end openstack > > on closestack > close file "C:/program1.txt" > end closestack
Yes, but don't hard code the path like this, or it will fail on about 90% of the platforms that Metacard runs on, as that path will not exist. For windows and mac, I would suggest using the specialFolderPath(Temporary) function to get a path to a system specific temp directory. Also, this won't pollute the root level of your users hard drive - no user likes that (at least I don't). On unix, I am not aware of an elegant solution, so you may be forced to hard code a path, in which case a better path to try would be "/var/tmp/yourprogramname.txt" -Glen Yates _______________________________________________ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard