Dreamful 148 Posted February 16, 2019 Share Posted February 16, 2019 Hey guys, Trying to write a plugin for TSM (3.3.5), and i need to interact with the UI somehow so i tought do it over LUA with the /click function like, /click TSMStartCancelScanButton but the debug tools not showing me the right button when i hover it. And "/click table: 2C460368" dosent work either. /run print(GetMouseFocus():GetName()) -- prints "nil" in chat if hover over the button Anyone can help me and can explain what happens their ? it looks like to me its from a parent and inheritance from it, not sure tho.I hover over "Start Cancel Scan" at that screen, greets, Dreamful Link to comment Share on other sites More sharing options...
Droidz 2722 Posted February 16, 2019 Share Posted February 16, 2019 Hello, you can try to look code of addon Link to comment Share on other sites More sharing options...
Droidz 2722 Posted February 16, 2019 Share Posted February 16, 2019 https://github.com/Irame/TSM_WOTLK/blob/fd714be7de31950592b4ac68c620fc6280e1d508/TradeSkillMaster_AuctionDB/Modules/Scanning.lua#L384 Link to comment Share on other sites More sharing options...
Droidz 2722 Posted February 16, 2019 Share Posted February 16, 2019 try to call Quote TSM.Scan.StartProfessionScan() Dreamful 1 Link to comment Share on other sites More sharing options...
Dreamful 148 Posted February 16, 2019 Author Share Posted February 16, 2019 1 minute ago, Droidz said: try to call i will try that thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now