mIRC Home    About    Download    Register    News    Help

Print Thread
open a query on desktop #81673 02/05/04 12:49 PM
Joined: Apr 2004
Posts: 7
C
CandC Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Apr 2004
Posts: 7
i need to open a query window on desktop, but the /window command i don't know.

help me pls

Re: open a query on desktop #81674 02/05/04 01:06 PM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
There is a "display on desktop" option in mIRC options for various types of windows, including queries. This opens query windows that you receive and that you open on the desktop. If you use Windows XP or 2K then you can also set 'Transparency' for how transparent the window should be (so you can see what goes on in the background too).

The option can be found in ALT+O > Display > Options > [Windows] - check the box 'Query'. Press 'OK' to get out of the dialogs and then simply type /query nickname to open a new desktop query window. When you receive a PM query window, the same thing will happen.

A lot of help with the window command is found by typing /help /window.

Hope this helps smile

Regards,


Mentality/Chris
Re: open a query on desktop #81675 02/05/04 01:15 PM
Joined: Apr 2004
Posts: 7
C
CandC Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Apr 2004
Posts: 7
yes, but....

/query Mentality
/window -d mentaly

these commands not function

i can not use alt + o ... ecc ecc

Re: open a query on desktop #81676 02/05/04 02:11 PM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
I don't know of a command to open a query window on the desktop via a command, and not with /window.

If you enable the option I said, and press 'OK' then you can just type /query nickname and the window will open on the desktop, it just requires activation of that function...why can you not use ALT+O?

I think if you change the mirc.ini file to say: wquery=140,851,140,477,0,1,1 under [window] (use CTRL+F) then it might change the options accordingly without having to use ALT+O...might be useful for a script and the like.

There might well be a scripting way to do it, but if there is I don't know it, keep checking back to see if some other clever person has posted smile

Regards,


Mentality/Chris
Re: open a query on desktop #81677 02/05/04 02:19 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
afaik mIRC rewrites the ini file if changes have been made without mirc doing it.


New username: hixxy
Re: open a query on desktop #81678 02/05/04 02:31 PM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
Yeah, it does, but I mean if they are planning to distribute the mIRC.ini file with a script they might want this preset in the ini file so that when the user who downloads the script puts the mIRC.exe into the script folder, it should activate the desktop query message windows option.

When this is done I don't think mIRC rewrites anything otherwise I wouldn't see so many scripts with these awful preset colours in wink

Regards,


Mentality/Chris
Re: open a query on desktop #81679 02/05/04 05:26 PM
Joined: Dec 2002
Posts: 1,321
H
Hammer Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
alias query {
  • query $$1
    var %WSH = WSH $+ $ticks
    .comopen %WSH WScript.Shell
    .comclose %WSH $com(%WSH, SendKeys, 3, *bstr, % $+ -D)
}


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
Re: open a query on desktop #81680 02/05/04 05:33 PM
Joined: Mar 2003
Posts: 187
S
Soul_Eater Offline
Vogon poet
Offline
Vogon poet
S
Joined: Mar 2003
Posts: 187
you can also use DmU dll (located at my site) to make any window a desktop window.

Re: open a query on desktop #81681 02/05/04 08:44 PM
Joined: Apr 2004
Posts: 7
C
CandC Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Apr 2004
Posts: 7
tks Soul_Eater
this dll is wonderful! :-)

a problem with dmu.dll #81682 02/05/04 11:39 PM
Joined: Apr 2004
Posts: 7
C
CandC Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Apr 2004
Posts: 7
Example 1
_____________________________________________
scon 2 query Mentality
scon 2 dll dmu.dll Desktop $window(mentality).hwnd
____not function________________________________


Example 2
_____________________________________________
scon 2 query Mentality
dll dmu.dll Desktop $window(mentality).hwnd
____not function_________________________________________

this dll is good only on single connection?


Re: a problem with dmu.dll #81683 03/05/04 04:33 AM
Joined: Mar 2003
Posts: 187
S
Soul_Eater Offline
Vogon poet
Offline
Vogon poet
S
Joined: Mar 2003
Posts: 187
the dll makes whatever HWND you specify desktopped. It just means youll have to find a better way to get the hwnd.

Re: a problem with dmu.dll #81684 03/05/04 08:55 AM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Try these.
  • scon 2 query Mentality
    scon 2 dll dmu.dll Desktop $!window(mentality).hwnd
  • scon 2
    query Mentality
    dll dmu.dll Desktop $window(mentality).hwnd

Re: a problem with dmu.dll #81685 03/05/04 05:50 PM
Joined: Apr 2004
Posts: 7
C
CandC Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Apr 2004
Posts: 7
uau...
scon 2 query Mentality
scon 2 dll dmu.dll Desktop $!window(mentality).hwnd

it's fantastic!!!