The following code sets up a window with a custom menu, and also an alias which contains the same code as does the custom menu, but the code executes differently when called as an alias compared to being called from the dclick item.
In fact, the sendkeys command inside the menu definition does not get past opening the scripts editor within mirc, whereas alias 't' opens the scripts editor and activates the file menu also.
What do I need to do to get the custom menu to complete the sendkeys command?
cheers.
alias menuTesting {
window -l @menuTesting
%count = 10
while %count {
aline @menuTesting count = %count
dec %count
}
}
menu @menuTesting {
dclick: sendkeys % $+ r % $+ f
}
alias t {
sendkeys % $+ r % $+ f
}