Mudlet features and API requests

User avatar
Vadi
Posts: 4727
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mudlet API requests

Post by Vadi » Wed Dec 16, 2009 2:26 am

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

User avatar
Vadi
Posts: 4727
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mudlet API requests

Post by Vadi » Sun Dec 20, 2009 8:10 pm

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

User avatar
Vadi
Posts: 4727
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mudlet API requests

Post by Vadi » Wed Dec 23, 2009 7:12 pm

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)

User avatar
Vadi
Posts: 4727
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mudlet API requests

Post by Vadi » Thu Dec 24, 2009 7:37 pm

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.

User avatar
Vadi
Posts: 4727
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mudlet API requests

Post by Vadi » Tue Dec 29, 2009 3:35 pm

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.

User avatar
Vadi
Posts: 4727
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mudlet API requests

Post by Vadi » Fri Jan 08, 2010 2:09 pm

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.

fxf
Posts: 10
Joined: Sat Jan 09, 2010 11:37 am

Re: Mudlet API requests

Post by fxf » Sat Jan 09, 2010 12:15 pm

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).

Alaran
Posts: 27
Joined: Sat Dec 19, 2009 2:51 pm

Re: Mudlet API requests

Post by Alaran » Tue Jan 19, 2010 7:36 pm

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. :/ )

Rieand
Posts: 2
Joined: Wed Feb 03, 2010 4:55 pm

Re: Mudlet API requests

Post by Rieand » Thu Feb 04, 2010 6:04 pm

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

User avatar
Alexander Divine
Posts: 65
Joined: Mon Dec 21, 2009 7:01 pm

Re: Mudlet API requests

Post by Alexander Divine » Thu Feb 04, 2010 8:24 pm

Handling and automation of COM/OLE. I'd love to be able to control my MP3 player through Mudlet like zMud can. :P

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests