Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Please confirm my doubts - or help me
- From: javascript@xxxxxxxxxx (Andrew Dunn)
- Subject: [Javascript] Please confirm my doubts - or help me
- Date: Wed, 1 Aug 2001 08:35:10 +1000
Hi, The project I was referring to in my first email is to be a CD based system. Basically all this system needs to do is display a nice front end with references to folders and the files (pdf files) in them. The "nice front end" will have buttons that will have folder names as the value on the buttons (or perhaps whatever the user decides as the name for the button). There will be a set folder that the program will search for the files with in. Basically the user just wants to stick the folders (with files in them) in to this set folder and "wholla?" the folder names are displayed on these buttons and when you click on these buttons all the files in this folder are displayed. The client seems to think it would be nice to have it as a web based CD thing. Is this possible or should I leave it to someone who knows macromedia director or something similar. Regards, Andrew -----Original Message----- From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]On Behalf Of Rodney Myers Sent: Tuesday, 31 July 2001 11:08 PM To: javascript@xxxxxxxxxx Subject: Re: [Javascript] Please confirm my doubts True, in itself. But in IE and Windows with WSH on files can be accessed and read and written using FileSystemObject a MS Active-X object. Before going this route you would have to ask yourself (at least) the following questions: 1) is the project going to be viable using only Windows systems with MSIE browsers? 2) can the project support users who have not fgot WSH enabled? 3) do the additional security risks from worms etc through having WSH on bother us? Here is a "hello world" type script : <html><head> <title></title> <script language="JavaScript"> <!-- var fso, f1; fso = new ActiveXObject("Scripting.FileSystemObject"); // Get a File object to query. f1 = fso.GetFile("c:\\sig.txt"); //--end--> </script> </head> <body text='#000000' bgcolor='#ffffff'> <script language="JavaScript"> <!-- // Print information. document.write("File last modified: " + f1.DateLastModified); //--end--> </script> </body></html> Andrew Dunn wrote: > Hi, I'm wondering if anyone can confirm my doubts that JavaScript > does not have access to files on a computer. ie. If I had three > folders on a computer javascript could not read their names or the > files in them dynamically (if the files changed)?Andrew -- Shop@ssistant Add-ons and Developer Workshops http://www.aflyingstart.net/addons/ Enquiries regarding Shop@ssistant Classic training : Call 01256 880770 Rodney Myers Based in Oxford, England Technical Director, Shop@ssistant eCommerce Solutions _______________________________________________ Javascript mailing list Javascript@xxxxxxxxxx http://www.LaTech.edu/mailman/listinfo/javascript
- Follow-Ups:
- [Javascript] Please confirm my doubts - or help me
- From: Peter Brunone
- [Javascript] Please confirm my doubts - or help me
- References:
- [Javascript] Please confirm my doubts
- From: Rodney Myers
- [Javascript] Please confirm my doubts
- Prev by Date: [Javascript] Class and ID
- Next by Date: [Javascript] Please confirm my doubts - or help me
- Previous by thread: [Javascript] Please confirm my doubts
- Next by thread: [Javascript] Please confirm my doubts - or help me
- Index(es):