mswordfix.exe

Started by SSH, Wed 01/08/2007 15:54:21

Previous topic - Next topic

SSH

Some people like to write out dialogues or even scripts in MS Word. Also, if you use Outlook, it may use Word as your email editor, if you email anyone any scripts. By default, Word very helpfully changes all your quote to smartquotes, hyphens to m-dashes, etc. which is great and looks nice until you paste it into an AGS script, where it causes havoc. You can turn of this feature under Tools->AutoCorrect options but it can be useful sometimes.

What to do?

Well, dump your AGS script to a file, download mswordfix.exe and then drag-and-drop the dumped file onto the exe. It will rename the old file as .bak and create a new one with the same name with the funny chars (mainly - no guarantee!) fixed. Reimport the dump file and Bob's your uncle's special friend.

Thanks to DeMoronizer and Perl2Exe for their help!

12

cjhrules

You can also copy the script into notepad after writing it in word and then copy it into AGS.

SSH

I don't think that notepad fixes as many things, e.g. it doesn't do smart quotes.
12

cjhrules

Sorry I misunderstood your first post.

SMF spam blocked by CleanTalk