Jump to content

Photo

Saving scripts...


  • Please log in to reply
5 replies to this topic

#1 Geoffrey

Geoffrey

    Chosen One

  • Members

Posted 04 March 2008 - 03:08 PM

This might be a really stupid question, with an obvious answer...but how do I save a word document as a .z file (or whatever it's called) so it can be loaded into ZC as a script...

Thanks. icon_confused.gif

#2 Beefster

Beefster

    Human Being

  • Members
  • Real Name:Justin
  • Location:Colorado

Posted 04 March 2008 - 03:11 PM

Why from a Word document? Here is how you do it:
select all
copy
open notepad
paste
save
name it whatever.z

#3 ThunderSpeed

ThunderSpeed

    Initiate

  • Members
  • Real Name:Katelynn
  • Location:Scottsville, NY (Rochester area)

Posted 04 March 2008 - 03:13 PM

Make sure you have the filename in quotes when saving.

"scripts.z" would save properly, while just plain scripts.z would save as "scripts.z.txt".

#4 Geoffrey

Geoffrey

    Chosen One

  • Members

Posted 04 March 2008 - 03:13 PM

It's that easy? Whoa, thanks.

I'm still really (really) new to scripting... icon_freak.gif

#5 Beefster

Beefster

    Human Being

  • Members
  • Real Name:Justin
  • Location:Colorado

Posted 07 March 2008 - 10:30 PM

Just a hint. NEVER use Word to write scripts or program for that matter. Just use the in-ZQ editor or notepad. Word inserts formatting codes into documents which, as far as I know, can only be read by Word. Either way, formatting will make your code undecipherable. Not only that, but autocorrect is a nuisance when trying to capitalize or not capitalize certain terms.

#6 Twilight Knight

Twilight Knight

    Tell all with glee, Argon's on PureZC

  • Members
  • Real Name:Sven
  • Location:Rotterdam, NL

Posted 08 March 2008 - 03:27 AM

Also, when using notepad, you could easily(when saving) change the file type to all files and then save it as name.z .


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users