There are two components to making this work. You need AHK script for automation and a macro used for disenchanting/prospecting/milling. In this example we will set it up to automatically prospect all the elementium ore in our bags. The first step is the AHK script. It's as simple as it gets as it just spams the "1" key in 4.5 second intervals.
#ifWinActive World of Warcraft
{
Loop
{
Send 1
sleep 4500
}
return
}
Save this as a text file with the .ahk extension. After creating this file you can use the ".ahk to .exe" in the AHK start menu folder to convert the script to an executable. Run this executable and then when you go back into the game it will start spamming "1". Well what good is this? Because we will set up a macro that prospects and put it under the "1" slot on our action bars so it gets spammed.
Now that the script is set up we can create the macro. This is pretty simple for prospecting elementium. The only tricky part is finding the item ID. This can be done by going to wowhead and finding an item and then clicking the "link" button. You will get a string like this.
/script DEFAULT_CHAT_FRAME:AddMessage("\124cffffffff\124Hitem:52185:0:0:0:0:0:0:0:0\124h[Elementium Ore]\124h\124r");
What you are looking for is the number after Hitem:#####. Now that we have this plug it into the macro.
/cast Prospecting /use item:52185
Here's one I use for disenchanting. This will disenchant all the blues and greens from the jewelcrafting stuff created when you're shuffling.
/cast Disenchant /use item:52306 /use item:52307 /use item:52308 /use item:52309 /use item:52492 /use item:52310 /use item:52312 /use item:52316 /use item:52314
Once your macro is set up put it in your "1" slot or whatever one you decided to use in the AHK script. Start the script, launch wow, and come back when the shit is done. This same general concept can be applied to lots of boring ass profession tasks when you're shuffling stuff.

Help
Add Reply



MultiQuote










