Download
(19 Kb)
Download
Updated: 09-04-14 07:50 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:09-04-14 07:50 PM
Created:11-08-08 12:23 PM
Downloads:5,682
Favorites:158
MD5:
Categories:Action Bar Mods, Bags, Bank, Inventory
5.4
Select  Popular! (More than 5000 hits)
Version: 2.3.1
by: Gello [More]
This addon adds the /select macro command you can use instead of /use or /cast to use an item or spell among a list. Right-clicking your macro from the bars will pop out a menu where you can change the item or spell to use.

New in 2.3.0
  • Searches (ie type:food) are now case-insensitive.
  • Spells with charges now display their charges on flyout buttons.
  • All /selects are now state-driven instead of only those with a [condition].
  • /select [conditions] without a met condition are now handled cleanly.
  • Options panel reworked.
  • For users of Select Favorite Mounts, mount:favoriteflying changed to mount:favflying; mount:favoriteland changed to mount:favland.

How to Use
  • Create a macro with this line: /select item or spell, item or spell, etc
  • Drag the macro to your bars.
  • The first item or spell will be the default action when you hit the macro.
  • Right-click the macro to on your bars to change it to a different item or spell.

For instance, warriors may find this useful:
/select Battle Shout, Commanding Shout
When you create that macro it will cast Battle Shout every time it's hit. If you join a group with a death knight and want to use Commanding Shout instead, right-click the macro on your bars and choose Commanding Shout. Now the macro will display and cast Commanding Shout.

You can also embed the /select within a larger macro. For mages:
/focus [@focus,noexists][@focus,dead][mod:alt]
/select [@focus,exists][] Polymorph, Polymorph(Turtle), Polymorph(Rabbit), Polymorph(Black Cat)
This is a standard focus-sheep macro. When you want to change what polymorph spell to use, right-click the macro on your bars and pick another. It will use that new polymorph until you decide to change it again.

Search:Keywords

To help add items and spells to your /select macros, search:keywords are usable in place of an item or spell name. These search through your bags and spellbooks to fill the flyout with items and spells that match the keyword(s).

The officially supported searches are item, spell, mount, type and profession:

item:id or partial name
Add an item by its item:id or all items in your bags or worn that contain the partial name.
Examples: item:1234, item:Bandage, item:Ore

spell:id or partial name
Add a spell by its numerical id or all spells that contain the partial name.
Examples: spell:1234, spell:Shout, spell:Polymorph

mount:flying, land, favorite*, favflying*, favland* or partial name
Add all flying, land, favorite, favorite flying, favorite land mounts or mounts that contain the partial name.
Examples: mount:flying, mount:Raptor, mount:favorite
* favorite-related keywords only work in WoD or if you have the Select Favorite Mounts addon in MoP.

type:ItemType
Add all items that contain the keyword in one of its type fields. See www.wowpedia.com/ItemType for a full list.
Examples: type:Quest, type:Food, type:Herb, type:Leather

profession:primary, secondary, any or partial name
Adds all primary professions, secondary professions or any professions.
Examples: profession:Primary, profession:Any, profession:Herb

[condition] support

Just like /cast and /castsequence, /select can use [conditions]. Every [condition] used by the macro system is supported. Some examples:

/select [flyable] Name of flying mount, Another flying mount; Name of land mount
/select [@focus,exists][] spell:Polymorph
/select [combat] Master Healing Potion, Healthstone; [nocombat] item:Food & Drink
/select [spec:1] Conjured Mana Cake, Cobo Cola; Conjured Mana Cake, Frybread
/select [nopet] spell:Summon Demon; Grimoire of Sacrifice


Macro length "tax"

To do its magic, Select needs to add a line like this to all macros that contain a /select command:
/click [btn:2]S001M;S001A
It will do this on its own and it will recreate this line if it's accidentally deleted or altered. You don't need to worry about it except to remember that when writing your /select macros your macro needs at least 26 characters free for it to add this line (if it's not already there).

Limitations
  • Only the first /select in a macro will be recognized. Any others in the same macro will be ignored.
  • When you create or edit a macro in combat (you should be fighting!) it will wait until you leave combat to turn the macro on or make changes from your edit.
  • If you gain an item or spell that wasn't available as you entered combat, that item or spell won't be in the flyout until you leave combat.

Frequently Asked Questions

Q: What action bar addons does this support?
A: All of them! Default too, of course. If you can drop a Blizzard macro onto the button then Select should work with that button. However, if the macros are outside the game's standard macro slots, Select won't be aware of them.

Q: Can I add companion pets to /select?
A: Yes and no. There's a game limitation that prevent changing the icon easily. That said, pet:name, pet:favorite and pet:any work. But be aware it uses one icon for all pets.

Q: Can I change the order that items or spells list in the menu?
A: If you want certain items to list before others, add them manually. ie: /select x-51 nether-rocket x-treme, mount:flying will list the x-51 rocket first.

Q: Tyrael's Charger is missing from my land mounts!
A: Tyrael's Charger can fly so it's grouped with the flying mounts. But if you want to add it to your land mounts you can add it manually: /select tyrael's charger, mount:land

Q: Can you make the popout menu align to the action/macro button?
A: No, sorry. The secure methods to get the menu working in combat prohibits anchoring willy nilly.

If you have any suggestions, comments or bugs to report, feel free to post them in comments here. Thanks!
2.3.1, 9/4/14, fix for lua error when attempting to show tooltip of a spell no longer known
2.3.0, 8/29/14, rewrite, all /selects are state-driven, searches case insensitive, options panel reworked, full WoD mount support
2.2.0, 7/21/14, initial fixes for WoD beta
2.1.6, unreleased, made index,actionType local in Select_Menu.lua SetAction hooksecurefunc
2.1.5, 2/23/14, fix for handling of invalid/missing [condition]als
2.1.4, 2/20/14, fix for hyphenated item:searches
2.1.3, 1/14/14, fix for mounts not completely loading on login
2.1.2, 12/26/13, frames join UISpecialFrames only when they're shown (out of combat)
2.1.1, 9/11/13, toc update for 5.4
2.1.0, 6/22/13, semi-rewrite: state driver added, flyouts indexed by their list instead of their macro, DontSelectWithAlt option, item cache added,
2.0.13, 5/19/13, toc update, summonpet works in combat, menus at top of screen grow downward
2.0.12, 5/5/13, added mount:favorites filter if Select Favorite Mounts loaded
2.0.11, 4/18/13, BAG_UPDATE unregistered if all menus populated, added Select_PerCharacter_Settings to restore initial actions to last attributes, removed profiling tools
2.0.10, 4/06/13, removed G_PetRoster, added profiling tools
2.0.9, 3/28/13, removed internal pet system, added G_PetRoster
2.0.8, 2/18/13, added macrotext support, centralized timer system, internal pet system
2.0.7, 1/26/13, added tooltips to /select macros
2.0.6, 9/23/12, added nil,1 to GetItemCount in parent:OnShow, added throttled UpdateMacroIcons on BAG_UPDATE, PLAYER_EQUIPMENT_CHANGED
2.0.5, 9/21/12, rewrite release
1.0.0, 11/08/08, initial release
Optional Files (0)


Archived Files (13)
File Name
Version
Size
Author
Date
2.3.0
18kB
Gello
08-30-14 04:14 PM
2.1.5
18kB
Gello
02-23-14 06:41 AM
2.1.4
18kB
Gello
02-20-14 12:38 AM
2.1.3
18kB
Gello
01-14-14 10:08 PM
2.1.2
18kB
Gello
12-26-13 06:11 AM
2.1.1
17kB
Gello
09-11-13 10:15 AM
2.1.0
17kB
Gello
06-22-13 04:46 PM
2.0.13
17kB
Gello
05-21-13 11:15 AM
2.0.12
18kB
Gello
05-05-13 07:24 PM
2.0.11
18kB
Gello
04-18-13 10:47 PM
2.0.6
16kB
Gello
09-23-12 05:20 PM
2.0.5
16kB
Gello
09-21-12 07:06 PM
1.0
4kB
Gello
11-08-08 12:23 PM


Post A Reply Comment Options
Unread 02-19-13, 12:38 PM  
Devius
A Kobold Labourer

Forum posts: 0
File comments: 99
Uploads: 0
and without the #showtooltip

/select Traveler's Tundra Mammoth, Grand Black War Mammoth, X-53 Touring Rocket, Mechano-Hog, Ashes of Al'ar, Sea Turtle, Azure Water Strider, Darkmoon Dancing Bear, Sandstone Drake
/click [btn:2]Multimounts:Menu;Multimounts:Action

Both act the same way
Devius is offline Report comment to moderator  
Reply With Quote
Unread 02-19-13, 12:37 PM  
Devius
A Kobold Labourer

Forum posts: 0
File comments: 99
Uploads: 0
#showtooltip
/select Revive Pet, Feed Pet, Dismiss Pet, Beast Lore, Tame Beast
/click [btn:2]Petstuff:Menu;Petstuff:Action
Devius is offline Report comment to moderator  
Reply With Quote
Unread 02-19-13, 08:17 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 441
File comments: 323
Uploads: 96
Can you copy/paste here a macro that's behaving this way?
Originally Posted by Devius
Hi with latest update the select macro doesn't show the icon last used and uses the default question mark icon after a while.
Even with #showtooltip same thing happens.
Gello is offline Report comment to moderator  
Reply With Quote
Unread 02-18-13, 11:26 AM  
Devius
A Kobold Labourer

Forum posts: 0
File comments: 99
Uploads: 0
Hi with latest update the select macro doesn't show the icon last used and uses the default question mark icon after a while.
Even with #showtooltip same thing happens.
Devius is offline Report comment to moderator  
Reply With Quote
Unread 01-04-13, 01:10 PM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 441
File comments: 323
Uploads: 96
Re: Swapping spell<->macro

/select can handle either items or spells. It can't handle macros, equipment sets, and other non-spell/item buttons you can drag to the bar.

That said, I've been working on a solution for companion pets and the probable route is a macrotext. Selecting other macros would be relatively trivial if this is the route I take. No promises but we'll see.

Originally Posted by natassja72
I would like to be able to use Selection to swap a spell (Renew) with a macro I created, let's call it MyMacro.
When I create a macro:

/select Renew, MyMacro

it doesn't work as described. It shows Renew on main display but when right clicking it shows again Renew instead of my macro. What am I doing wrong?
Gello is offline Report comment to moderator  
Reply With Quote
Unread 01-04-13, 07:03 AM  
natassja72
A Fallenroot Satyr

Forum posts: 29
File comments: 46
Uploads: 0
Swapping spell<->macro

I would like to be able to use Selection to swap a spell (Renew) with a macro I created, let's call it MyMacro.
When I create a macro:

/select Renew, MyMacro

it doesn't work as described. It shows Renew on main display but when right clicking it shows again Renew instead of my macro. What am I doing wrong?
Last edited by natassja72 : 01-04-13 at 07:06 AM.
natassja72 is offline Report comment to moderator  
Reply With Quote
Unread 09-29-12, 10:22 AM  
Wizzbit
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Absolutely brilliant to see this has been updated and I'm really liking the new features. Many thanks, Gello!

To my mind, the most important "missing" feature at this time has got to be a method for saving what's selected between sessions.

/select(ing) companion pets would be another nice addition, but I have I think I read some place that Blizzard have changed the way you summon companions now with the whole battle pet system so I can understand if this would require some more work.

Either way, thanks again for the update and I look forward to seeing where the addon goes from here!
Wizzbit is offline Report comment to moderator  
Reply With Quote
Unread 09-24-12, 02:22 PM  
Mook
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 6
File comments: 120
Uploads: 1
Originally Posted by Gello
@Mook: I should've made that more clear. Try /select type:Quest now.
Huzzah! Perfect, sir, thanks for the quick reply.
Mook is offline Report comment to moderator  
Reply With Quote
Unread 09-23-12, 11:11 PM  
Diet6
A Murloc Raider

Forum posts: 4
File comments: 11
Uploads: 0
Originally Posted by Gello
@Diet6: It doesn't remember the last item a /select was using from a previous session. On a login it pulls the first available item/spell as a default. But remembering what you picked before is a good idea I'll look into adding it.
That's weird, the version I was using before this major update used to remember what I had between sessions, was that ability just lost at some point? Old macro used to look like this:

#showtooltip
/cast [nobtn:2] Traveler's Tundra Mammoth
/stopmacro [nobtn:2]
/select companion:Mount
/click [btn:2]Mount:Menu;Mount:Action

And the button would remain that mount until I changed it.

I know I had modified the code a couple times to keep it working from patch to patch, but that was mostly just so the rows wouldn't run off the screen.
Diet6 is offline Report comment to moderator  
Reply With Quote
Unread 09-23-12, 10:13 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1049
Uploads: 0
Thanks for keeping this alive in pandaland.

One big disappointment in the new versions, though: the removal of companion pet summoning. This was both my & my friend's go-to mod for companion summoning in Cataclysm & prior (with the third-party updates).

Hopefully it comes up soon in your to-do list.
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 09-23-12, 03:19 PM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 441
File comments: 323
Uploads: 96
@pas06: Thanks!

@Mook: I should've made that more clear. Try /select type:Quest now. Tooltip scans were dropped for now, but I may add them back in once one more optimization is in if there seems to be demand. (Tooltip scans are very computationally expensive)

@Diet6: It doesn't remember the last item a /select was using from a previous session. On a login it pulls the first available item/spell as a default. But remembering what you picked before is a good idea I'll look into adding it.
Last edited by Gello : 09-23-12 at 03:20 PM.
Gello is offline Report comment to moderator  
Reply With Quote
Unread 09-23-12, 12:45 PM  
Diet6
A Murloc Raider

Forum posts: 4
File comments: 11
Uploads: 0
I'm not sure if it's just me or does the select macros we make always reset back to the first item in their grid when we relog? For example: my flying mount one always goes back to "albino drake" when I log in.
Diet6 is offline Report comment to moderator  
Reply With Quote
Unread 09-23-12, 12:44 PM  
Mook
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 6
File comments: 120
Uploads: 1
Older Macro No Longer Working

'Ello!

Love this AddOn, used it for a long time, but I've been off WoW quite a few months. Now that I'm back and updated, my "Quest Item" macro no longer seems to work:

#showtooltip
/select tooltip:Quest Item
/click [btn:2]Quest:Menu;Quest:Action

I've also tried item:Quest Item instead?

Thanks!
Mook is offline Report comment to moderator  
Reply With Quote
Unread 09-23-12, 05:21 AM  
pas06
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Thanks

Thanks for update -
I never thought that this will be updated. But this update does more than make it usable it makes it even better.
Nice new features, Swapping in battle is really good.
great
Last edited by pas06 : 09-23-12 at 07:50 AM.
pas06 is offline Report comment to moderator  
Reply With Quote
Unread 09-22-12, 05:32 PM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 441
File comments: 323
Uploads: 96
re: adding /select emotes: probably not in this incarnation. If I ever make macros selectable it may be possible.

re: adding another command: You can do a yell before or after the select. If you don't want it to happen when you're hitting the right mouse button you can script it:

/select stuff, stuff, etc
/run if not GetMouseButtonClicked()=="RightButton" then SendChatMessage("stuff","yell") end

re: macro [conditionals]: this is something I really wanted to get in this release, but with MoP a few days away it didn't make the cut. There's two different approaches to take and both are very involved. It's definitely on my list. The syntax would be like /castsequence. So your example would be:

/select [nomounted, noflyable] mount:land; [flyable, nomounted] mount:flying
/dismount [mounted]
Gello is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: