Quantcast
Download
(849 b)
Download
Updated: 08-29-17 04:43 AM
Pictures
File Info
Compatibility:
Shadows of Argus (7.3.0)
Updated:08-29-17 04:43 AM
Created:07-30-14 06:28 PM
Downloads:1,126
Favorites:16
MD5:
7.3.0

Flyout Bindings

Version: 1.0.7
by: Gello [More]

This small addon binds the first ten keys of the default flyout buttons to keys 1, 2, 3, etc to 0 while the flyout is open. When the flyout closes, the keys revert to their usual action.

Hunter traps, warlock pets, mage portals, warrior banners, and several other groups of spells have flyout buttons in the spellbook. Clicking them (or hitting their binding if dragged to your bars) will open the flyout to choose a spell within. This addon binds the first ten buttons to keys so you don't need to click the spells within the flyout to cast.

(For more commonly used spells within a flyout, you can drag the spell from within the flyout to an action button--no addon is required to do this.)

1.0.7 08/29/2017 toc update for 7.3
1.0.6 03/28/2017 toc update for 7.2
1.0.5 10/24/2016 toc update for 7.1
1.0.4 07/16/2016 toc update for 7.0
1.0.3 06/23/2015 toc update for 6.2
1.0.2 02/24/2015 toc update for 6.1
1.0.1 10/14/2014 toc update for 6.0
1.0.0 07/30/2014 initial release
Optional Files (0)


Archived Files (7)
File Name
Version
Size
Author
Date
1.0.6
838B
Gello
03-28-17 09:37 AM
1.0.5
824B
Gello
10-25-16 06:06 AM
1.0.4
814B
Gello
07-19-16 08:22 AM
1.0.3
804B
Gello
06-23-15 07:41 AM
1.0.2
731B
Gello
02-24-15 05:58 AM
1.0.1
730B
Gello
10-14-14 06:26 AM
1.0.0
731B
Gello
07-30-14 06:28 PM


Post A Reply Comment Options
Unread 12-20-15, 03:33 PM  
Gello
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 484
File comments: 476
Uploads: 116
Re: F keys instead?

Originally Posted by kittytessapuppy
Is it possible to make this use the F1-F12 keys instead? and if so, how might I do it myself?
If you're comfortable editing the lua file, change this:
Code:
local f=CreateFrame("Button",nil,SpellFlyout,"SecureHandlerShowHideTemplate")
f:SetAttribute("_onshow",[[
  for i=1,10 do
    self:SetBindingClick(false,i<10 and tostring(i) or "0","SpellFlyoutButton"..i)
  end
]])
f:SetAttribute("_onhide",[[
  self:ClearBindings()
]])
SpellFlyout:HookScript("OnShow",function()
  local i=1
  while _G["SpellFlyoutButton"..i] and i<=10 do
    _G["SpellFlyoutButton"..i.."HotKey"]:SetText(i<10 and i or 0)
    i=i+1
  end
end)
to this (changes are in green):
Code:
local f=CreateFrame("Button",nil,SpellFlyout,"SecureHandlerShowHideTemplate")
f:SetAttribute("_onshow",[[
  for i=1,12 do
    self:SetBindingClick(false,format("F%d",i),"SpellFlyoutButton"..i)
  end
]])
f:SetAttribute("_onhide",[[
  self:ClearBindings()
]])
SpellFlyout:HookScript("OnShow",function()
  local i=1
  while _G["SpellFlyoutButton"..i] and i<=12 do
    _G["SpellFlyoutButton"..i.."HotKey"]:SetText(format("F%d",i))
    i=i+1
  end
end)
Report comment to moderator  
Reply With Quote
Unread 12-20-15, 02:43 PM  
kittytessapuppy
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
F keys instead?

Is it possible to make this use the F1-F12 keys instead? and if so, how might I do it myself?
Report comment to moderator  
Reply With Quote
Unread 08-01-14, 06:02 AM  
ravagernl
Proceritate Corporis
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1174
File comments: 24
Uploads: 4
Originally Posted by Seerah
And Gello strikes again. Nice one.
Yes! This is the type of AddOn that should be in the default UI.
Last edited by ravagernl : 08-01-14 at 06:02 AM.
Report comment to moderator  
Reply With Quote
Unread 07-31-14, 05:08 AM  
Gello
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 484
File comments: 476
Uploads: 116
Originally Posted by Seerah
And Gello strikes again. Nice one.
Thanks!
Report comment to moderator  
Reply With Quote
Unread 07-30-14, 08:43 PM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 10390
File comments: 677
Uploads: 25
And Gello strikes again. Nice one.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

[SIGPIC][/SIGPIC]
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: