mIRC Homepage
Posted By: Solo1 close script editor - 26/02/08 02:59 PM
Greetings

I would like to close the script editor via script, is there anyway of doing this without a dll?
Posted By: RoCk Re: close script editor - 26/02/08 03:06 PM

Trying to keep someone from editing your script? Don't release it. The answer is no, there's no command to close the editor.
Posted By: Solo1 Re: close script editor - 26/02/08 04:48 PM
1: bad guess, i am not trying to stop someone editing a script
2: i know there is no command for it, i am asking for help with making one.
Posted By: LostShadow Re: close script editor - 26/02/08 09:29 PM
Maybe not a command.

But by typing something to close the editor, then yes.

Code:
closeremote {
  openremote | var %temp = $+(sendkeys,$ticks) | .comopen %temp WScript.Shell | .comclose %temp $com(%temp, SendKeys, 3, *bstr, % {down 5}^~) 
}

/openremote { var %temp = $+(sendkeys,$ticks) | .comopen %temp WScript.Shell | .comclose %temp $com(%temp, SendKeys, 3, *bstr, % $+ r) }


You can press Alt R, then type /closeremote when the remotes are already open. And it still closed.

Tested and confirmed for both.

-Neal.
Posted By: Solo1 Re: close script editor - 27/02/08 09:04 AM
thank you. works very well.
© mIRC Discussion Forums