I am new here in this forum, but a happy (registered) user of the Sunil's ebook compiler. Now I am ready to try something else and wish to create a form using the suggested code found on the site.
I find the instructions to use notepad and save as an .as file (i.e. writefile.as) impossible. Notepad automatically adds a .txt extention and I have no choice of any other. Using FrontPage results in the same. Lots of choices for extensions to choose from, but no .as ....there is .asp, but no .as
Who can tell me how in the world one saves in an extension that is not listed? If I am having this problem I am certain many others are or may - as not all of us are computer whizzes. So I am surprised this is not explained along with the instructions.
Thank you for replying so quickly. There are a few points which I didn't understand.
in #1: You mention 'save file in Notepad as say writefile.as' Well, this is the point of my question. Then: 'you may not realize it but notepad actually names the file writefile.as.txt...' again, this was the reason for my posting here... I did and do realize it because this is what has been happening and why I wrote here.
in#2: 'navigate to the folder where writefile.as is' What folder? At this point I can't even save the script as an .as Re-reading your script instructions on your code page, there is no mention of having such a file in the first place...the SOURCE file is mentioned.
in #3: I always have the hide extensions check box off
I tried simply renaming it by removing the .txt, but a warning came up more or less suggesting that by doing so the file may be usless. (However trying this again just now out of curiosity, I receive no such warning...but then my computer is quirky.)
This is the area where I am very 'in the dark about' - I know one can SAVE work as a .doc, html, rtf etc....but I was unsure as to whether simply renaming something in exlorer (especially an extension name that is unlisted) would render the file as unusable or corrupt it. I did this once as an experiment and the file was useless until I changed it back.
Sorry to be so 'clueless' but the whole idea of scripts, ebooks and using scripts IN ebooks is a new area for me and a bit intimidating...hence all the confusion.
However, I see now that simply removing the .txt notepad adds is no great sin and all should function well.
#1 I meant navigate to the folder where your HTML files are, in the Filename file in the Notepad save box, type in writefile.as
Notepad will actually save the file as writefile.as.txt
#2 I meant go in Windows Explorer to the folder you had selected in step #1
#3 It probably says something along the lines of no application is associated with the .as extension.
The way Windows works is like this. The extension (the bit after the dot at the end of the name) is used to guess which application is used to view/edit the file when you double click on it in Windows Explorer. Which application works on .txt files, etc. Notepad? How does Windows know .txt edits in Notepad? Because it stores this as part of the settings.
If you go into Windows Explorer and do something like View/Options, File Types tab, (the exact path to this varies in 95 vs 98 etc) you can use this screen to setup or modify new file associates.
As for .as versus .txt files. They are both plain text files
So you could just as easily name your writefile.as as writefile.txt if you wanted, but remember to change the links to it, e.g. <A HREF="#!writefile.txt"> instead of <A HREF="#!writefile.as">
With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.
Our company's websites' content (including this website's content) includes advertisements for
our own company's websites, products, and services,
and for other organization's websites, products, and services.
In the case of links to other organization's websites,
our company may receive a payment, (1) if you purchase products or services,
or (2) if you sign-up for third party offers, after following links from this website.
Unless specifically otherwise stated, information about other organization's products and services,
is based on information provided by that organization,
the product/service vendor, and/or publicly available information - and should
not be taken to mean that we have used the product/service in question.
Additionally, our company's websites contain some adverts which we are paid
to display, but whose content is not selected by us, such as Google AdSense ads. For more
detailed information, please see Advertising/Endorsements Disclosures
constitutes consent for this. For details, please see Privacy.