Quantcast
Download
(6 Kb)
Download
Updated: 04/30/20 01:27 PM
Pictures
File Info
Compatibility:
Greymoor (6.0.5)
Harrowstorm (5.3.4)
Updated:04/30/20 01:27 PM
Created:10/09/17 06:04 AM
Monthly downloads:51
Total downloads:941
Favorites:6
MD5:
Categories:Chat Mods, Developer Utilities, ESO Tools & Utilities
6.0.5
Lilith's Command History
Version: 2.1
by: Drummerx04 [More]
Extends the ability to run scripts for testing purposes. Great for testing addons and inspecting the game environment.

This Addon takes the default "/script" command and gives it thorough history expansion, reloadui script recovery, and a UI element inspector. This addon is primarily aimed at Addon developers


Usage Instructions:
All extended /script commands shown below are also supported in the multi line text entry below the history list. Just leave off the "/script" piece for any command included in said box. Press the Evaluate button to run the script.



Mouse Over the items in the list to see the stored script
Mouse 1: Immediately executes the command stored in the history row
Mouse 2: Context Menu (includes edit, delete, run, etc)
Shift + Mouse 1: Shortcut to populates the addon text field with the contents of the history row and gives keyboard focus to the field.
Shift + Mouse 2: Shortcut to delete the history row under the cursor.
  • /script -> any lua code will execute properly assuming the lua code does not begin with !,@, or /. The Lua code that gets executed is then automatically stored in the command history and can be accessed with special syntax.
  • /script !# -> (such as "/script !34") execute history item 34 immediately.
  • /script /# -> (such as "/script /5") populate the chat script input with history item 5. The command can then be edited without affecting the history. Running the command (edited or not) creates a new history item.
  • /script @# name -> saves the specified history item as "name"
  • /script @name # -> an alternate form which does the same thing
  • /script !name -> instantly executes the code stored in "name"
  • /script /name -> populates the chat script input with the code stored in name
  • /script \template{arg1} -> The template may appear anywhere in passed script and will be expanded before the script is passed to the interpreter

New Keybindings Available under "Lilith's Command History"
  • Toggle History Window - Show or hide the LCH Addon.
  • ReloadUI - When developing addons, you'll end up reloading UI hundreds of times
  • Get Control Under Cursor - Grabs the UI element under the cursor and binds it to the global variable lchcontrol. This allows easy inspection of graphical elements of the builtin UI or other addons when combined with the history.

Utility commands:
  1. /comhist [show|hide]-> toggle/show/hide command history
  2. /comhist dump named -> dumps all named commands
  3. /comhist clear <all|allnamed|history|(named item)> -> clears the specified command items
    display

I hope you enjoy this one as much as I do
2.1
  1. Added a button to execute multi line scripts in the LCH box.
  2. Added an indicator for the current API version for convenience.
  3. Added the ability to grab and bind a UI element to the global variable lchcontrol
  4. Added a display to indicate the current named control bound to lchcontrol
  5. Added Shift+M2 to delete a history row quickly
2.0
  • Added Mouse support to the command list
  • Overhauled the display
  • Added multi line command support
  • Added an additional scripting edit box
  • extended the macro functionality to allow LCH macros within a code block
  • The history list can be reversed. The sort preference is saved between sessions.
Optional Files (0)


Post A Reply Comment Options
Unread 05/04/20, 09:06 AM  
Drummerx04
AddOn Author - Click to view AddOns

Forum posts: 48
File comments: 56
Uploads: 5
Originally Posted by Aenathel
I was about to ask if you could add a shortcut to remove history items, but then I took a look at the code and found out that this is already supported using Shift+M2, if anyone else is wondering.
Ah yes, thank you. I have added that shortcut to the addon description. I'm glad you found it useful though.

I've been thinking about what else I could add that might be helpful (maybe a table explorer?), so if you have any ideas, I'd be happy to hear them.
Report comment to moderator  
Reply With Quote
Unread 05/03/20, 11:37 AM  
Aenathel
 
Aenathel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 22
Uploads: 3
I was about to ask if you could add a shortcut to remove history items, but then I took a look at the code and found out that this is already supported using Shift+M2, if anyone else is wondering.
Report comment to moderator  
Reply With Quote
Unread 05/03/20, 04:21 AM  
Aenathel
 
Aenathel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 22
Uploads: 3
This is very useful, thank you!
Report comment to moderator  
Reply With Quote
Unread 09/07/18, 03:39 PM  
Drummerx04
AddOn Author - Click to view AddOns

Forum posts: 48
File comments: 56
Uploads: 5
Originally Posted by iRogue32
This has been super useful. Thanks Drummer
Thanks, I got so tired of trying to use the in game /script for testing and basically spit this addon out to fix it. I'm in the casual planning stage of turning this into a more fully featured dev tool, so if there is a minor tweak or ability you'd like to see in it, let me know
Report comment to moderator  
Reply With Quote
Unread 09/07/18, 10:44 AM  
iRogue32
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 1
This has been super useful. Thanks Drummer
Report comment to moderator  
Reply With Quote
Unread 10/18/17, 11:16 PM  
Drummerx04
AddOn Author - Click to view AddOns

Forum posts: 48
File comments: 56
Uploads: 5
Originally Posted by ghostbane
THIS IS GREAT!

Thank you!
Well I'm glad someone appreciates it! It's not a very complicated Addon, but I like to think it has its place.
Last edited by Drummerx04 : 10/18/17 at 11:16 PM.
Report comment to moderator  
Reply With Quote
Unread 10/18/17, 01:45 AM  
ghostbane
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 21
Uploads: 3
THIS IS GREAT!

Thank you!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: