Double-click to sign up for a group in the Premade Groups finder
Pretty simple idea here. In the Premade Groups finder (hotkey I), I would like to be able to sign up for groups simply by double-clicking them. This would be faster than the current way it works (clicking it to highlight it, then clicking the "sign up" button at the bottom). This would very handy when trying to join groups which fill up very, very quickly.
Any help would be much appreciated. |
This will probably work:
Code:
local function OnDoubleClick(self, button) |
Quote:
|
Quote:
I did as you said, but it doesnt shows off in the In-Game Addon Folder. |
I can confirm the code above still works. Double-clicking on an entry in the finder search window does the same thing as clicking the sign-up button, which brings up the role selection window.
|
I probably did something wrong, but I have no clue where the mistake was.
|
Ah, my apologies, I didn't read your post correctly. The code works, but your problem is loading the addon. When you visit that site, you give the addon a name in the top box, paste the provided code in the bigger box, download the zip file, then extract it to your Interface\AddOns folder while WoW is not running. For example, you named the addon "GroupDoubleClick", you should end up with a "GroupDoubleClick" folder in AddOns that has two files in it, one named "GroupDoubleClick" and one named "core". Then, you start WoW back up and will see "GroupDoubleClick" in your addon list.
|
Quote:
I think I ended up copying the zip file into my Addon folder last time. thx |
Seeing this thread gave me an idea. For anyone interested, I have adjusted the code to also allow alt+ctrl clicking groups to report advertisements. Much easier to get rid of all the WTS groups.
Lua Code:
|
Sorry for maybe hacking this thread, but I'm searching for a double click on a specialization button, in the specialization window.
Yes, i'm a programmer and lazy so I really would prefer not having to click on the spec and then on "Activate" :) I've come up with some tests like this: Code:
PlayerTalentFrameSpecializationSpecButton1:SetScript("OnDoubleClick", function () SetSpecialization(1) end) (LFGListFrame IS created on game load, don't know why ...) Anyone would know a solution maybe? |
Register for ADDON_LOADED so you can execute the code when the talent UI loads.
Lua Code:
|
Quote:
|
Anyone know what this line "LFGListFrame.SearchPanel.ScrollFrame.buttons" needs to be changed to, to make this continue to work?
SearchPanel no longer contain ScrollFrame, but I can't find what it has been replaced by. The alternative, "LFGListFrame.SearchPanel.selectedResult" also has been removed. I can't seem to find any good documentation about the XML frames in the game, so I can't fix it myself. |
All times are GMT -6. The time now is 02:06 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI