Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!
Moderator: MacroQuest Developers
-
tac8357
Post
by tac8357 » Tue Oct 14, 2003 6:59 pm
how do you covert a text file to a .mac file?
-
blakbelt
- a lesser mummy

- Posts: 70
- Joined: Wed Aug 27, 2003 12:40 pm
- Location: Scotland UK
Post
by blakbelt » Tue Oct 14, 2003 7:24 pm
open the file in notepad, clicks saveas - select all files from the type drop down, save your file as:
whatever.mac
thats it
-
tac8357
Post
by tac8357 » Tue Oct 14, 2003 8:10 pm
was just wondering how you convert a script you get from here which is only copyed in text form and covert it to a usable macro.
-
blakbelt
- a lesser mummy

- Posts: 70
- Joined: Wed Aug 27, 2003 12:40 pm
- Location: Scotland UK
Post
by blakbelt » Tue Oct 14, 2003 8:31 pm
The process as outlined above... once its in .mac format it is useable.
-
Mckorr
- Developer

- Posts: 2326
- Joined: Fri Oct 18, 2002 1:16 pm
- Location: Texas
Post
by Mckorr » Wed Oct 15, 2003 9:48 am
The .mac extension is just for our convenience. I don't think MQ really cares. You could probably do /macro mymacro.txt and it would run.
MQ2: Think of it as Evolution in action.
-
MsRandom
- orc pawn

- Posts: 11
- Joined: Fri Oct 03, 2003 6:04 am
Post
by MsRandom » Wed Oct 15, 2003 5:56 pm
I cheat a little - I copy an exsisting .mac file, then open it and do a select all and paste from here.

-
Guest
Post
by Guest » Thu Oct 16, 2003 2:39 pm
You could also add your own extension to the extension library in some programs. I use UltraEdit and it has a very easaly alterable extension library. When I was hot into doing UI mods I got sick of always having to make the UI files as text then convert them. So I added a *.xml option. When I started writing macros I added in *.mac and *.inc extensions. These now show up on the save window as viable extensions to apply to new files.
-
wassup
- Official Guardian and Writer of TFM

- Posts: 1487
- Joined: Sat Oct 26, 2002 5:15 pm
Post
by wassup » Thu Oct 16, 2003 4:17 pm
I use notepad alot.
To save as a filetype other than .txt, I would use Save As... then change the Save as type to All Files.
Then enter the filename with the extention (filename.mac) in the filename box then click save.
-
psychotik
- a ghoul

- Posts: 112
- Joined: Mon Oct 06, 2003 3:48 am
Post
by psychotik » Thu Oct 16, 2003 4:32 pm
on windows xp you usually have to save as "name.mac" with quotes around it to save it as something other than .txt