Thread: Reporting Bots
View Single Post
10/07/17, 05:32 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,979
Just a quaick & dirty idea without further checks:

ZO_HELP_GENERIC_TICKET_SUBMISSION_MANAGER:OpenReportPlayerTicketScene

The name says it's a scene? So you could check if it is really a scene, using SCENE_MANAGER to check if the activeScene is filled with something like "help_generic_ticket" or similar.
Then use your own scene's callback function for the onSceneChange function (see this thread for a scene's fragment, but pretty works the same for a scene: http://www.esoui.com/forums/showthre...ighlight=scene)
and check if the edit field fpr the description etc. is not hidden editCtrl:IsHidden().
If it's shown: Fill it with your text (something like editCtrl:SetText("hello world")
  Reply With Quote