Discussion in   Coding Corner   started     8 years ago   March 16, 2016, 11:09:12 AM   by   Evolution

How to Import Razor Macros

Evolution
Offline
1299 Posts
Topic :   How to Import Razor Macros
8 years ago  March 16, 2016, 11:09:12 AM


Importing Razor Macros

So maybe this will help some people who are new to importing macros in razor.

Sooo for starters you need a macro file, you could just create a .txt file and change extension, but I'll show you another way:

1. Open UO using razor and log into your account
2. Go to macros tab in razor
3. Click "new" at bottom, name it "DCDs Macro", click "Okay"
*You will now notice a blank macro named "DCDs Macro" in your list
4. Log out of UO, close it, and close razor

Now it's time to "show hidden files" for your windows files. (if yours are already un-hidden skip ahead)
*To edit razor macros manually, you must gain access to hidden folder C:\Users\*USERNAME*\AppData\Roaming\Razor\Macros

5. Now that your files are no longer hidden, browse to C:\Users\*USERNAME*\AppData\Roaming\Razor\Macros
*in here you will see files (macros) with extension of .macro; these files can be edited using "notepad"

6. Find the file named "DCDs Macro"; right click the file and choose "open with" > "notepad" (by setting it up this way, you can easily edit/add macros later)
*you should now have a blank text document open in front of you

**if you do not see "notepad" as a choice when you right click the file and go to "open with":
-- click "browse"
-- browse to C:\windows\system32\
-- find "notepad", click it, and hit "open"
*you will now have notepad to select from the "recommended applications" section;
-- select "notepad"and press "ok"

7. Copy and paste my macro below in that text window, go to "file", and choose "save"; close the notepad and all open windows

!Loop
Assistant.Macros.DoubleClickTypeAction|3617|True
Assistant.Macros.IfAction|0|0|99
Assistant.Macros.DoubleClickTypeAction|3617|True
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:03.5000000
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|0|1|100
Assistant.Macros.MacroCastSpellAction|28
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:03.3000000
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|0|0|35
Assistant.Macros.WalkAction|2
Assistant.Macros.WalkAction|2
Assistant.Macros.IfAction|0|0|99
Assistant.Macros.DoubleClickTypeAction|3617|True
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:03.5000000
Assistant.Macros.IfAction|0|0|99
Assistant.Macros.DoubleClickTypeAction|3617|True
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:03.5000000
Assistant.Macros.IfAction|0|0|99
Assistant.Macros.DoubleClickTypeAction|3617|True
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:03.5000000
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|0|0|99
Assistant.Macros.DoubleClickTypeAction|3617|True
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:03.5000000
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.IfAction|0|1|100
Assistant.Macros.WalkAction|6
Assistant.Macros.WalkAction|6
Assistant.Macros.EndIfAction

8. Open UO using razor and log into your account

9. Go to macros tab
*you should now see my macro under "DCDs Macro"

10. Press play: (this macro was made to GM the last 3 points of healing; it casts fire field on yourself, heals up, steps away if your HP goes below 35 to heal up; steps back, and re-casts fire field)
*i started with about 100 of each "Fire Field" spell reg and 2000 aids (wash them)
With this, you can now take macros friends make/send you, or macros you find online and use them. Enjoy!


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH