2. Encode Datafile
The next step is to encode the datafile you created in Step 1. The encoding replaces certain characters in the file with character-codes, and prefixes all but the first line of the file with &. (For the technically-minded, the text is encoded to the MIME type application/x-www-form-urlencoded.) After encoding, the example parameters shown in Step 1 would look like this:
BgColor=FFFFFF There are two ways you can encode the text file:
Using a datafile named QuickBar.inf is the simplest way of working. If you want to name your datafile something different (or you already have a file with that name) see Using Datafiles for details of how to tell the applet which datafile to load. We recommend that you keep the original un-encoded text file. This way, you can add or edit the parameters easily in the text file, then re-encode them and replace them in the .INF file. However, you can edit the .INF file directly by following the rules in Encoding Datafiles.
|