Page 4 of 54

Re: Mudlet API requests

Posted: Wed Dec 16, 2009 2:26 am
by Vadi
Incorportate a way to know the x,y coordinates of a single click in setLabelClickCallback

need a setLabelDoubleClickCallback, setLabelRightClickCallback, and an ability to create a menu at x,y with menu items linked to lua function callbacks

EDIT HEIKO: included in 1.1.0

Re: Mudlet API requests

Posted: Sun Dec 20, 2009 8:10 pm
by Vadi
need to add selectBlockSection(starting line, length) for selecting multiple lines

also add this:

Code: Select all

function capitalize (what)
return string.upper(what:sub(1,1)) .. string.lower(what:sub(2))
end

Re: Mudlet API requests

Posted: Wed Dec 23, 2009 7:12 pm
by Vadi
Allowing to end a sendAll parameter sequence with a negative expression for echoing ala send would be welcome.

sendAll("n", "e", "w", "s", false)
sendAll("n", "e", "w", "s", 0)

Re: Mudlet API requests

Posted: Thu Dec 24, 2009 7:37 pm
by Vadi
Need a x,y,height,width = getWindowInfo(window) to enable different scripts which customize the UI to operate more efficiently.

a current workaround is to export these values into the global table.

Re: Mudlet API requests

Posted: Tue Dec 29, 2009 3:35 pm
by Vadi
killScript - to delete scripts. Ofc once loaded, they're loaded, but its useful to be able to create an alias that can remove the script package itself.

Re: Mudlet API requests

Posted: Fri Jan 08, 2010 2:09 pm
by Vadi
it would be nice to have raiseEvent accept function arguments also and booleans (Iocun requested)

along with having tempRegexTrigger accept the 'match all' flag optionally.

Re: Mudlet API requests

Posted: Sat Jan 09, 2010 12:15 pm
by fxf
It would be nice to be able to use some keybindings which are defaults in readline library (used in Linux shells etc...).
I'm used to ctrl+w deleting last word in input, ctrl+p, ctrl+n shows next and previous input line, ctrl+j is the same as enter, ctrl+a, ctrl+e goes to beginning and end of input line. These shortcuts are great for touch typing.

You could either create API for manipulating input line (text, selection, cursor position, history) or give an option to use those fixed keybindings (or even best, just link with readline library).

Re: Mudlet API requests

Posted: Tue Jan 19, 2010 7:36 pm
by Alaran
I'm not sure whether it has been requested already, but I'd like a cancel button on the popup you get when you close Mudlet.

As in: "Do you want to save profile x?" -> Yes, No, Cancel(meaning DON'T CLOSE). (Hitting the x-button of the popup closes mudlet anyway)

Right now there is no way to abort the closing of mudlet if you accidentally hit the button. (And yeah, I manage to do that more often that I'd like by using my Dock. :/ )

Re: Mudlet API requests

Posted: Thu Feb 04, 2010 6:04 pm
by Rieand
I like that last suggestion. Also maybe there could be an option to always save and not pop up that box every time :) I find myself reloading alot

EDIT Heiko: OK will be included in 1.0.6

Re: Mudlet API requests

Posted: Thu Feb 04, 2010 8:24 pm
by Alexander Divine
Handling and automation of COM/OLE. I'd love to be able to control my MP3 player through Mudlet like zMud can. :P