Page 1 of 1

script to automatically open file in windows?

Posted: Tue Jun 24, 2003 2:49 pm
by yviejo
I'm a newbie here, so please excuse me if I'm missing something obvious...

I'm trying to figure out how to write a script to automatically open a file on a Win2k machine.

The situation is that we want to link to a FileMaker Pro database from our intranet site. In order for it to be shared via WebCompanion, FMP's instant web publishing plug-in, the database itself has to be open. We want the link to the db to go to a php page which will contain a script to open the database, then redirect to the built-in WebCompanion home page. We're trying to just leave the file open all the time, but since the server is also a workstation in the office, people who don't know any better are always shutting things down and closing windows, so we can't insure that the file stays open.

Thanks!

Posted: Tue Jun 24, 2003 3:23 pm
by lostboy
think this would require a third party type component (like an embedded activeX or applet) to be embedded in the web page... it is the only way to make this work...for safety reasons..

hth