Macros are legal as long as you don't use them for PvP or harassment (If a GM deems anything in this guide illegal, I will gladly edit the post or take it down). Macroing is also illegal if you shoot mobs unattended. Meaning, if you pull ash to the hill, use the macro, and come back a half hour later that is a no-no. However, macroing unattended for trade skills in an inconspicuous spot is fine, say you go to a corner in Trendor and leave the comp on all night, that's okay. Macroing I don't see a macroing guide and they are very cumbersome to get up and running without any help. I hope you enjoy it and it makes your EA life as easy as it does mine

.
The macro Tool I use is AC Tool and you can download it here (found from a post plasticAiredale made):
AC Tool Home Page
In order to use the following macros, download AC Tool and copy and paste the code that I have listed into it. Delete anything in parenthesis, as it is there to comment on the code and tell you why it's there.
Macroing may cause problems with looting, chatting, moving inventory around, etc... If you want to do something else turn off the macro before you do it.
To macro, you must be in a windowed version of the game. To be windowed, go to the green login screen that you go to whenever you select the game start up icon. Un-check Fullscreen. You can then Alt-Tab to select AC Tool (if you don't have AC Tool or another program up, you can Ctrl+Alt+Delete and go to your start bar). To start your macro, go to the Macro tab and select Start Macro. You cannot edit the macro once it starts, and to do so you must stop the macro.
To use the macro for shooting, merely go to the endless ages window and it should begin. I recommend you move the window up enough so you can see the small tab at the bottem of AC tool that displays info (like how many loops it's been through). Ash takes over 100+ loops with acid gun, so I can tell when I need to be ready to pull him again.
Macro for leveling trade skills* (Just move your mouse over the skill you wish to use, as if you were clicking it manually):
SetActiveWindow ENDLESS (Sets the macro to stay open i guess, plastic had it in there and I don't want to mess with it)
While 1=1 (Sets the macro into an infinite loop)
LeftMouseDown
delay 150 (The reason this delay is here and I don't use the LeftMouseClick code, is because the LeftMouseClick code is so fast, EA can't read it. This is to be sure your actually clicking on the what your making)
LeftMouseUp
delay 5900 (This delay is so you always make the product on the mark. Set it higher and you lose time you could make items, set it lower and you'll get a "YOU CANNOT USE ANOTHER SKILL YET..." message)
end (ends the loop and restarts)
*Make sure you only do this for stackable items, else you'll find yourself wasting a macro.
Magic Leveling:
SetActiveWindow ENDLESS
While 1=1
delay 5500 (Ensures lowest amount of time to do magic)
keydown 3 150 ( 3 is the hot key I have for my spell, if you have a different hot key number, just replace the 3 with your number.)
end
Weapon Tech power leveling (Ash Farming. Note, this code is for acid guns, you might want to change it yourself if you use different weapons to reload automatically):
SetActiveWindow ENDLESS
While 1=1
LeftMouseDown (Reason why you don't need a LeftMouseUp is because you don't need to click to keep firing, leaving pressure on the mouse ensures a constant rate of fire)
delay 20000 (This delay is here to automatically reload your weapon so you don't have to worry about it yourself, provided you have the ammo to use of course. May need tweaking for different guns)
keydown r 150 (Reloads weapon, if you have your reload key set to something different, replace the r with your letter.)
end
Shape Shift power leveling* (Ash Farming. Using the lowest level ranged SS is best, just like for weapon tech):
SetActiveWindow ENDLESS
While 1=1
LeftMouseDown
delay 150 (Ranged SS shoot speed depends on how fast you can click. This macro allows you to constantly shoot at maximum speed without getting finger cramps

. Increase the delays and you lose time to shoot, decrease it and it won't work)
LeftMouseUp
delay 150
end
*This macro pretty much only works in first person view.
Shape Shift AFK macroing (may or may not work. Please note, hit ESC to go into the main menu before using this macro. If you don't the game will automatically move the mouse away.)
SetActiveWindow ENDLESS
While 1=1
keydown 1 150 (Use whatever your hot key for SSing is)
delay 300 (wait for the window to pop-up)
LeftMouseDown
delay 150
LeftMouseUp
delay 5800
end
There are a couple Shape Shifting bugs you should be aware of:
One is that you do no damage. To solve the problem, Re-shift or Revert, then shift back into the form. This should solve it. Also, every time you die SSed you will not do damage and in order to do damage you must revert and SS back.
The second is that you use ammo. SS forms do NOT use ammo. If your using ammo or have a blue bar your using ammo from the gun you have equiped. Either revert and unequip the gun or try shifting again.
Thirdly, you may fall through the world and end up in water. This is easy to solve by using a jet pack to get up to the normal game terrain. All you have to do is look for where the normal terrain is and go to it. You will clip through the wall/floor and cannot fall back through the world unless you try to glitch with SS.
Some of these issues might affect you, some might not. I use MS XP, so if you use a different OS it may or may not work.
EDIT: Made an actual infinite loop and cut out the mouse positioning junk for AFK SS.