mIRC Home    About    Download    Register    News    Help

Print Thread
#200805 12/06/08 09:48 AM
Joined: Mar 2007
Posts: 139
S
Solo1 Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Mar 2007
Posts: 139
Greetings
Is there a way to make a dialog focus on a certain tab using a command? I tried using the -f parameter but all it does is sets the focus on the tab. What i need is to simulate clicking on a tab, the -f parameter is not helpful as if i clicked on it for example it will not run any SCLICK events when it is used. Any advice??

Solo1 #200808 12/06/08 11:12 AM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
-f selects the tab for me. If you're expecting it to trigger an event-- don't. In general, no /commands executed by you will trigger an event. The only real exception of this is the ON INPUT or ON SIGNAL event-- every other event in mIRC is triggered only by user input or external means.

If you want your /did -f to act out the same behaviour you have in your event you need to move the event code into an alias and call that after you /did.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard