|
Joined: May 2006
Posts: 93
Babel fish
|
OP
Babel fish
Joined: May 2006
Posts: 93 |
I want to open the mIRC editor (on remote tab, not alias) by clicking on an icon on the toolbar. I made the icon and I placed it in the toolbar, but i don't know what command use to open the mIRC editor. Thanks. Taggnostr
|
|
|
|
Joined: Dec 2002
Posts: 212
Fjord artisan
|
Fjord artisan
Joined: Dec 2002
Posts: 212 |
there's a SENDKEYS alias, which uses windows shell script com, it can be used to send key combinations (in your case it will be /sendkeys (%r) ) but i'm not sure where I got this alias from, so I wont paste it here, use google
And all I need now is intellectual intercourse, a soul to dig the hole much deeper
|
|
|
|
Joined: Sep 2005
Posts: 2,881
Hoopy frood
|
Hoopy frood
Joined: Sep 2005
Posts: 2,881 |
alias sendkeys {
.comopen sendkeys WScript.Shell
if ($com(sendkeys)) .comclose sendkeys $com(sendkeys,SendKeys,3,bstr,$1-)
} sendkeys % $+ r
|
|
|
|
Joined: May 2006
Posts: 93
Babel fish
|
OP
Babel fish
Joined: May 2006
Posts: 93 |
There's a little problem, every time that I click the button the mIRC editor open, but the block num is (de)selected. I also tryed to insert the %r in the SendKeys ( .comclose Sendkeys $com(Sendkeys,Sendkeys,3,bstr,% $+ r) ), but nothing change.
|
|
|
|
Joined: Sep 2005
Posts: 2,881
Hoopy frood
|
Hoopy frood
Joined: Sep 2005
Posts: 2,881 |
What do you mean by "the block num is (de)selected" ?
|
|
|
|
Joined: May 2006
Posts: 93
Babel fish
|
OP
Babel fish
Joined: May 2006
Posts: 93 |
I find the problem, the software of my bluethoot key shows a tooltip when the num lock (sorry, in italian is bloc num :P), caps lock and scroll lock. I don't know why, but when i use the sendkeys the tooltip appears, but the num lock remain activated. Now i've just to find how to disable that tooltip.
|
|
|
|
Joined: Jan 2004
Posts: 2,127
Hoopy frood
|
Hoopy frood
Joined: Jan 2004
Posts: 2,127 |
alias sendkeys {
.comopen sendkeys WScript.Shell
if ($com(sendkeys)) .comclose sendkeys $com(sendkeys,SendKeys,3,bstr,$1-)
} sendkeys % $+ r Just curious about the sendkey alias - I've also seen aliases here where the 3 method is instead as 1, and I was just curious which is best? It seems to work both ways.
|
|
|
|
Joined: May 2006
Posts: 93
Babel fish
|
OP
Babel fish
Joined: May 2006
Posts: 93 |
what are the other aliases?
|
|
|
|
Joined: Sep 2005
Posts: 2,881
Hoopy frood
|
Hoopy frood
Joined: Sep 2005
Posts: 2,881 |
You use 1 to call a method and 2 to retrieve a property. If you add them together you're calling a function (a method that returns a value).
|
|
|
|
|