Howdy all,
I don’t know if I’m in over my head on this one, but here’s the idea I’ve got going.
What I’d like to do is create a ‘tab viewer’ for Mac. Now then, the easy way of doing this would be to just have a collection of .txt files, and have the app read them into a text field. But it isn’t exactly what I’d like to do.
What I’d like to do is create a new kind of ‘filetype’ for my app. We’ll give it the extension of .gtab for all intensive purposes.
An example of a gtab file would be something like this… (Think XML file here, though I can’t remember the tag to define it as XML all the sudden)
or
The actual format I would use is up in the air, as using the first would allow people to share files over the internet, but the second would make naming easier for me But that isn’t what I’m here for.
When a gtab is selected, the script would read the xml file, and set text fields according to the contents of each tag.
Basically, I’d like to know if this can be done, and if so, how. Is there any information floating out there about how to allow scripts to read xml files, or can the users here give me any tips?
Hopefully I explained this well enough. It’s getting late here, so I don’t know how clearly I’m thinking
Thanks!
-Parrot
edit- Nevermind, I found what I was looking for. Thanks again