Importing local files within a plugin
So, I'm working on a plugin to automate generating HTML from a PDB that is specially-suited for the Sony PRS-500 LRF format(don't ask, my Mom refuses to send hers in for an upgrade for fear of losing it). I already have the scripts that do this, but they are broken into separate files and reference each other with the "import" command.
However, once I zip them up into a plugin, the import fails. The main function is called, but it can't find the other files. Originally, I just did:
"import filename"
since they were in the same folder. How should I reference these files so they can be found within the plugin? I'd hate to have to try and mash them all together into a single file.
- Jim
|