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
Mudlet features and API requests
Re: Mudlet API requests
need to add selectBlockSection(starting line, length) for selecting multiple lines
also add this:
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
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)
sendAll("n", "e", "w", "s", false)
sendAll("n", "e", "w", "s", 0)
Re: Mudlet API requests
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.
a current workaround is to export these values into the global table.
Re: Mudlet API requests
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
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.
along with having tempRegexTrigger accept the 'match all' flag optionally.
Re: Mudlet API requests
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).
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
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. :/ )
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
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
EDIT Heiko: OK will be included in 1.0.6
- Alexander Divine
- Posts: 65
- Joined: Mon Dec 21, 2009 7:01 pm
Re: Mudlet API requests
Handling and automation of COM/OLE. I'd love to be able to control my MP3 player through Mudlet like zMud can.