Download
(3 Kb)
Download
Updated: 10-30-10 06:37 PM
Updated:10-30-10 06:37 PM
Created:01-27-10 05:48 AM
Downloads:1,585
Favorites:4
MD5:
LibShortcuts-2.5
Version: 2.5.2
by: Lonny, Lombra

My account is no longer active and it was deleted by request.

I thank everyone for downloading my addons, I stopped playing WoW a year ago, regardless I kept on updating my addons just to keep them up to date.

Best Regards, Lonny.


A library that defines shortcuts for the game user interface.

Detailed documentation can be found inside the library file.

Shortcuts
  • character (shorthand: char)
  • spellbook (shorthand: sb)
  • talents (shorthand: tal)
  • achievements (shorthand: achi)
  • calendar (shorthand: cal)
  • questlog (shorthand: ql)
  • social (shorthand: soc)
  • pvp
  • lfr
  • lfd
  • guild
  • time
  • help
  • video (shorthand: vid)
  • sound (shorthand: snd)
  • interface (shorthand: ui)
  • mac
  • bindings (shorthand: binds)
  • macro
Usage
local Shortcuts = LibStub("LibShortcuts-2.0")

Shortcuts:RunShortcut("pvp")

Shortcut Attributes
Each shortcut in the table may contain the following attributes.

name - (string) The name of the frame the shortcut handles.
text - (string) A localized name of the shortcut.
func - (function) A function to execute when the shortcut is triggered.
shorthand - (string) A shorthand for the shortcut. (if one exists.)

The following example will print the localized name for the shortcut.

print(Shortcuts:GetShortcut("pvp").text)
2.5.2 (31-10-10)
+ A shortcut to the guild frame is now available.

------------------------------------------------------------------------
2.5.1 (30-10-10)
+ The PvP frame shortcut is now fixed.

------------------------------------------------------------------------
2.5.0 (30-05-10)
+ It's now registered with WTFPL license so ... Do What The **** You Want!

------------------------------------------------------------------------
2.5.0 (16-03-10)
+ Fixed a potential bug.
+ Documentation update.

API:
+ GetShortcutKey(value) - Gets the shortcut key by a given text, or index value.
+ GetShortcutIndex(value) - Gets the shortcut index by a given text, or key value.
+ GetShortcutText(value) - Gets the shortcut text by a given index, or key value.
+ GetShortcutsKeys() - Gets the shortcuts keys.
+ GetShortcutsNames() - Gets the shortcuts names.

Detailed documentation can be found inside the library file.

------------------------------------------------------------------------
2.0.1 (24-02-10)
+ Fixed a minor bug that may cause tainting.

------------------------------------------------------------------------
2.0 (29-01-10)
+ Overhaul of the library to make things consistent and run more efficiently.
+ Fixed some tainting issues that may arise.
+ Added the following flags 'name' and 'shorthand'.
+ Removed the 'lockInCombat' and 'sideFrame' flags.
+ The mac shortcut will only be available for mac users now.
+ The messages printed by the library now specifying the library name.
Archived Files (7)
File Name
Version
Size
Author
Date
2.5.1
3kB
Lonny
10-30-10 10:09 AM
2.5.0a
3kB
Lonny
05-29-10 07:16 PM
2.5.0
3kB
Lonny
03-16-10 08:51 AM
2.0.1
3kB
Lonny
02-24-10 09:49 AM
2.0
3kB
Lonny
01-29-10 03:48 AM
1.2.1
2kB
Lonny
01-27-10 06:50 AM
1.2
2kB
Lonny
01-27-10 05:48 AM


There have been no comments posted to this file.
Be the first to add one.



Category Jump: