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
Macintosh .cel files
Mac won't read cel
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
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
-
Topic authorHenry Harris
Macintosh .cel files
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
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
-
Topic authorHenry Harris
Macintosh .cel files
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
Henry
Text files/iText
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
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
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]