Thread Tools Display Modes
08-29-15, 12:08 AM   #21
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
Have you packed it in an addon ?

I am another lazy player too :-)
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote
09-01-15, 02:54 PM   #22
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
I have a "sandbox" Lua file in my custom development tool I built to test code ideas in. I usually have a bunch of random crap in there to tweak the UI to how I want it to run.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 09-01-15 at 02:56 PM.
  Reply With Quote
09-02-15, 01:30 AM   #23
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
I asked because I liked the idea so much ... and having it in a macro is not so confortable.

BTW, a minimalistic approach could be (suppose the addon name will be LazyDelete):

LazyDelete.toc

Lua Code:
  1. ## Interface: 60200
  2. ## Title: LazyDelete
  3. ## Notes: Remove the need to type DELETE to destroy items
  4. ## Author: Your Name
  5. ## Version: 1.0-2015090201
  6.  
  7. core.lua


core.lua

Lua Code:
  1. StaticPopupDialogs.DELETE_GOOD_ITEM=StaticPopupDialogs.DELETE_ITEM
  2. print("LazyDelete is ON")


It should suffices :-)
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Type DELETE!

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off