Thank you so very much for the help.
While you mouse over to a button in WoW type /run print(GetMouseFocus():GetName())
It will print the button name to chat window.
In HB use Lua.DoString("buttonName:Click()"); to make it click that button.
That really boosted me in the right direction and got my plugin working.
A lua error box appears in wow now but that doesn't stop the plugin from going through its loop and doing what it is intended to do. I'm going to paste the lua error into this response to see if maybe you can point me in the right direction again.
----------------------------------------------------------------------------------------------------------
Message: [string "Hax.lua"]:1: attempt to index global 'QuestFrameCompleteQuest' (a nil value)
Time: ##/##/## ##:##:##
Count: ##
Stack: [string "Hax.lua"]:1: in main chunk
Locals: (*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'QuestFrameCompleteQuest' (a nil value)"
----------------------------------------------------------------------------------------------------------
The above lua error doesn't cause the plugin to fail or not work. It would just be nice for it not to appear.
The quest I am turning in has no reward to choose from you just turn it in over and over.
Thanks again,