So, grats....you bought the new expansion and stuff. Your fresh 90 has some perks to it, including 600 professions! (if it was over level 60). The macro below will learn all the things from the trainer with the trainer window open:
Code:
/run LoadAddOn"Blizzard_TrainerUI" f=ClassTrainerTrainButton f.e = 0 if f:GetScript"OnUpdate" then f:SetScript("OnUpdate", nil)else f:SetScript("OnUpdate", function(f,e) f.e=f.e+e if f.e>.01 then f.e=0 f:Click() end end)end
More to come. Just playing with mine now.