Download
(3Kb)
Download
Updated: 04-20-06 03:19 PM
Pictures
File Info
Updated:04-20-06 03:19 PM
Created:unknown
Downloads:4,357
Favorites:50
MD5:

Tab

Version: 0.3
by: tardmrr [More]

Do you ever group with people who have annoyingly long names, and addressing them in chat is simply painful? Or are you just too lazy to type out an entire name when you are talking to someone?

If you answered yes to either of those questions, Tab is for you. Tab allows you to lazily type the first few letters of someone in your guild, party, raid, or on your friends list and hit your tab key, and let Tab type the rest for you! If a few people's names match, Tab shows you a list and completes up to the first difference.

Planned features:
- A gui config menu
- Play a sound when no matches are found
- Optionally add an address character if the name is the first part of your message
- An option to also match offline friends and guildmates
- Ability to cycle through matched names by pressing tab again.

Version History:

v 0.3 (April 20, 2006):

  • Fixed a bug with ( or [ in the current word
  • Fixed a bug where it would break cycling of tell targets
v 0.2 (Jan 22, 2006):
  • Fixed a bug with tells that would cause Tab to try to complete "A" instead of whatever you were typing.
v 0.1 (Jan 21, 2006)
  • Initial public release

Optional Files (0)


Post A Reply Comment Options
Unread 01-21-06, 10:04 PM  
Gaal
A Fallenroot Satyr

Forum posts: 22
File comments: 33
Uploads: 0
Great idea...if only it didn't have to be the Tab key.
Report comment to moderator  
Reply With Quote
Unread 01-21-06, 10:22 PM  
Raphi
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Great, i'll try it soon.
Report comment to moderator  
Reply With Quote
Unread 01-21-06, 11:45 PM  
Malreth
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 9
Uploads: 3
I was thinking about making an addon like this the other day. Thanks for reading my mind!
Report comment to moderator  
Reply With Quote
Unread 01-22-06, 12:25 AM  
Thrae
A Cyclonian
 
Thrae's Avatar
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 39
Uploads: 4
Originally posted by Gaal
Great idea...if only it didn't have to be the Tab key.
Terminals and IRC, and other chat mediums use TAB, it makes 100% sense to use TAB here -- that's why it's called "Tab Complete". You need to have the Edit Box open for this mod to do anything, and you can't use Tab while the Edit Box is open anyway. I think you're just being smart.
Last edited by Thrae : 01-22-06 at 12:26 AM.
Report comment to moderator  
Reply With Quote
Unread 01-22-06, 08:17 AM  
BlackZam
A Murloc Raider

Forum posts: 7
File comments: 51
Uploads: 0
great addon for us that are a little lazy.
Report comment to moderator  
Reply With Quote
Unread 01-22-06, 09:00 AM  
svartalfimposter
A Wyrmkin Dreamwalker
 
svartalfimposter's Avatar

Forum posts: 49
File comments: 22
Uploads: 0
A simble but brilliant idea, which should be in Blizzard's defaullt UI.

I couldn't get this version to work. I get a list of people beginning with A whenever I try it.
Report comment to moderator  
Reply With Quote
Unread 01-22-06, 12:11 PM  
tardmrr
Lua Ninja
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 134
Uploads: 12
Originally posted by svartalfimposter
A simble but brilliant idea, which should be in Blizzard's defaullt UI.

I couldn't get this version to work. I get a list of people beginning with A whenever I try it.
This was a bug in version 0.1 and is fixed for 0.2.
Report comment to moderator  
Reply With Quote
Unread 04-12-06, 03:54 PM  
Mazzlefizz
A Pyroguard Emberseer
 
Mazzlefizz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3521
File comments: 60
Uploads: 2
Can you have your addon perform the default tab behavior when no characters are yet entered? It cycles through people who have recently sent you a tell.
__________________
MazzleUI Home Page: Mazzlefizz.WoWInterface.com
Info, FAQs, Forums, Download can be found at that link.
Report comment to moderator  
Reply With Quote
Unread 04-18-06, 05:51 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
I was just going to ask the same thing as Mazzlefizz. I downloaded this and really liked it until I tried to respond to something other than the last tell I got. :P
Report comment to moderator  
Reply With Quote
Unread 04-20-06, 03:22 PM  
tardmrr
Lua Ninja
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 134
Uploads: 12
Originally posted by Phanx
I was just going to ask the same thing as Mazzlefizz. I downloaded this and really liked it until I tried to respond to something other than the last tell I got. :P
I didn't even realize that feature existed I've corrected that in version 0.3.
Report comment to moderator  
Reply With Quote
Unread 06-10-06, 12:52 PM  
Krellmax
A Kobold Labourer

Forum posts: 1
File comments: 10
Uploads: 0
Conflicts with LootLink Enhanced multiple match tab-completion

This mod conflicts with LootLink Enhanced that has auto-completion of chat links. You can still auto-complete links but if you press Tab a second time, instead of rotating through matches like it normally does, it just removes the highlighting of the remaining auto-completed text and does nothing from that point on. It works fine without the Tab mod. Is this something you could fix?

One possible solution would be to simply not have Tab do any auto-completion if the chat text contains a [ character.

I am using Tab 0.3

EDIT:
I hacked around with this for a bit and I still could not get it to work. For some reason when Self:GetCaret(this) is called, the highlighting is removed from the text and this:GetText() then returns the whole auto-completed string. So when LootLink's hooked function gets called, this:GetText() returns the whole auto-completed string instead of just what you've typed in and tries to auto-complete that string and of course no longer matches anything. For example, if you type in "[arc" and press tab, it would auto-complete to "[Arcmetal Shoulders" with "metal Shoulders" highlighted.

I even tried to call LootLink_TypeLinks_AutoComplete(string.sub(text,0,pos)) whenever [ is found, but then it only rotates through the same two matches. Mostly I tested with the string "[arc" which auto-completes to lots of items.

OK SWEET! I got it to work!!! I just had to put my function before the call to GetCaret!

Code:
function Tab:OnTabPressed()

    local text = this:GetText()

    if (string.find(text,"[[]")) then
        self:CallScript(this,"OnTabPressed")
        return
    end

    local pos = self:GetCaret(this)
I suppose you could just check for "[" in the current word rather than just anywhere in the text but this is sufficient for me.
Last edited by Krellmax : 06-10-06 at 11:30 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: