What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How to activate ingame macros through Profession Buddy?

I3ig Al

New Member
Joined
Feb 14, 2010
Messages
215
Reaction score
3
So I am trying to write a profile that will run TSM_Crafting while I am alt tabbed. currently I have to keep clicking the craft next button and cant switch to something else.


I have an ingame macro as follows:

Code:
/click TSMCraftNextButton

This works just fine for keybinding but I dont know how to activate a macro/keybind through Honor Buddy/Profession Buddy.


I am pretty sure I need to use the "Custom Action" in PB but I can't figure out the C# code to press a button.
 
There should be a way to inject LUA code... I'm not sure how it works but you might try looking in that direction?
 
Maybe:

Lua.DoString("RunMacroText('/click TSMCraftNextButton','0')");
 
Custom Action:

Lua.DoString("/click TSMCraftNextButton");
 
Thanks for the replies guys but no dice.

Code:
Lua.DoString("/click TSMCraftNextButton");

did nothing at all.

Code:
Lua.DoString("RunMacroText('/click TSMCraftNextButton','0')");

produced the "Interface action failed because of an AddOn" error in game, did not craft anything.
 
Anyone else have an idea? still trying to figure this out for mass crafting glyphs through TSM.
 
Try..
Code:
Lua.DoString("TSMCraftNextButton:Click()");
 
Hmmm nice try Main but no cigar again.

it popped up the "TSM_Crafting Has been blocked from an action only available to the Blizzard UI" with the Ignore and Disable buttons.

Is there any way to have it just do "push Bar1Button1" and have the ingame macro sitting there?
 
Hmmm nice try Main but no cigar again.

it popped up the "TSM_Crafting Has been blocked from an action only available to the Blizzard UI" with the Ignore and Disable buttons.

Is there any way to have it just do "push Bar1Button1" and have the ingame macro sitting there?
the wow addon needs a hardware event and the easiest way is for you to make a macro and put it on one of your bars, for example button one and then put this in your custom action
KeyboardManager.PressKey('1');
 
Last edited:
Hey Highvoltz, I tried your thing too and nothing happened yet.

I have this setup in the PB code window:

Code:
(var1 = true;)
While( (bool) var1 == true )
|_KeyboardManager.PressKey('4');

And I have the macro with /click TSMCraftNextButton on a Bartender Bar, keybound to 4. nothing happened ingame, and no errors popped up in the Debug Log.

I also tried it with just "KeyboardManager.PressKey('4');" and nothing happened then either.
 
i got some problem with this string too...

it works sometimes if putted in customaction
 
what does TSMCraftNextButton do? because you can probably do it without actually using "TSMCraftNextButton"
 
It pushes the button on an addon, Specifically an addon that has a list of items (glyphs) to craft. instead of going through my scribe profession windows to each glyph recipe, i push that button over and over. makes it very easy to craft glyphs but still tedious as i have to sit and craft for an hour and cant focus on a movie or play 360 or whatever.

Still trying to get this to work, if anyone has an idea or can tell me what i did wrong with the previous attempts please let me know.
 
Well u can make an autoit script to press 1 over and over. But u can almost make profession buddy craft any glyph that u have the mats for
 
Back
Top