Page 1 of 1
Macintosh .cel files
Posted: 19.07.2004, 04:16
by Henry Harris
Hi!
I'm trying to create a CEL file on an iMac but I always get a "Please verify that you selected a valid script file" message.
Finally, I took the demo CEL file and copied it directly into a Macintosh TextEdit file, set the postfix to .cel, and tried running it.
I got the same error!
I checked to make sure I had the outside brackets {} but everything seems correct.
Does Celestia not work with Macintosh TextEdit scripts?
Henry
Mac won't read cel
Posted: 19.07.2004, 13:31
by Rich
That happened to me a couple of times - some of them I wasn't able to ever read. But I could read some after: opening them in BBEdit lite, doing "Zap Gremlins", and saving as text.
IMHO if you ever script, BBEdit lite may be better for scripting than Texedit, it lets you do multiple Undo's, even after a 'Save'. Which is nice if you're constantly testing script variations.
-Rich
Macintosh .cel files
Posted: 20.07.2004, 00:57
by Henry Harris
Rich,
I've discovered that TextEdit, the standard editor that comes with the Macintosh, cannot create plain text files. (I suppose that is beyond the reach of their competence now.) TexitEdit can only create RTF files and Word (!!!) files. Not only that, it creates an invisible RTF postifx so you may think you're creating a .cel file but you're really creating a .cel.rtf file. It looks like they cleverly avoided having the traditional file_type and creator code by introducing invisibile postfixes, meaning that not only is it easy to fool the machine, you can fool the users too!
Apparently Apple is now using Microsoft programers
Henry
Macintosh .cel files
Posted: 20.07.2004, 02:51
by Henry Harris
I did a survey of plain text editors for OS X and the one I like the best is iText which is freeware. It works fine for creating and running .cel scripts.
Henry
Text files/iText
Posted: 21.07.2004, 14:24
by Rich
Cool. I'll check it out.
BTW did you try in TextEdit: Format / Make Plain Text
...this might work OK; the extension seems to be just .txt
-Rich
Re: Macintosh .cel files
Posted: 25.07.2004, 04:47
by Andrew Krane
Henry Harris wrote:Rich,
I've discovered that TextEdit, the standard editor that comes with the Macintosh, cannot create plain text files. (I suppose that is beyond the reach of their competence now.) TexitEdit can only create RTF files and Word (!!!) files.Not only that, it creates an invisible RTF postifx so you may think you're creating a .cel file but you're really creating a .cel.rtf file. It looks like they cleverly avoided having the traditional file_type and creator code by introducing invisibile postfixes, meaning that not only is it easy to fool the machine, you can fool the users too!
Apparently Apple is now using Microsoft programers
Henry
It seems like Apple likes to just get everyone confused but TextEdit CAN save plain text files!
Yep, you just have to select
Make Plain Text from the FORMAT menu and it'll convert what you've done to the good 'ole plain text file you need THEN you can SAVE AS and all should be right with the world again...
AK
[/quote][/b]