-----BEGIN PGP SIGNED MESSAGE----- Hi there, At 19:36 23.11.98 , you wrote: >There is a bug in Netscape Communicator 4.5 for Windows 95 and 4.05 for >WinNT 4.0 (probably others) we just tried it on the Mac - surely the script has to be adapted since the mac doesn't use drive letters - so if You don't know the names of the drive you cannot give an absolute path - but it could work with relative paths: sl=window.open("wysiwyg://1/file:////"); those 4 slashes show the directory in which netscape is installed (every extra slash goes one dir up) it is at least possible to get files from that directory with: java.io.File(\"test.txt\") alas I'm not so firm with JavaScript and thus I did not get a working code with the quoting for higher dir levels - earned only JavaScript Errors but I think this is only my personal problem, isn't it?! ;-) have fun, Shalom dann, NOrbert -----BEGIN PGP SIGNATURE----- Version: PGP 6.0 Comment: c't Krypto-Kampagne http://www.heise.de/ct/pgpCA/ iQCVAwUBNl13BzYMsgdcZ8mpAQFV+QP+JS7b/QipTHxtnwWuBI3uhI+s52EvrZ+J UjDsKpx3rO72nitScvr8yMZtu+cT2Xl2ARVqRMNaHzuxW2kUIrGwn/q8kp4YasTX 7bRWNJTqkkHeFsMsf2eRgSKQZDodSwKSgTKFDcKsbCvV5ZjgArNTNWS4mHzjA5O2 LeUBmNwOVvs= =EF+M -----END PGP SIGNATURE----- -- Norbert Luckhardt http://www.heise.de/ct/Redaktion/nl/ Redaktion c't Tel.: +49 511 5352 - 300 Fax: +49 511 5352 - 417 Helstorfer Str. 7 D-30625 Hannover BBS: +49 511 5352 - 301
This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 14:24:17 PDT