mIRC Home    About    Download    Register    News    Help

Print Thread
#34326 05/07/03 11:19 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
i have a problem with this.
i use this command
showmirc -x
to set the active back to mirc when the dialog opens

but i have a problem..
sometimes mirc isnt active when it opens and it brings mirc up anyways..

also..it maximises mirc, no matter what mirc was at the time the dialog opened

#34327 06/07/03 12:24 AM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Code:
also..it maximises mirc, no matter what mirc was at the time the dialog opened

What else can you expect when, as the helpfile states, '-x = maximize'.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#34328 06/07/03 12:43 AM
Joined: Jan 2003
Posts: 108
H
Vogon poet
Offline
Vogon poet
H
Joined: Jan 2003
Posts: 108
What exactly are you trying to do? We might be able to help you with some code. :>

#34329 06/07/03 01:18 AM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
heres the script:

http://mtec89.ath.cx/scripts.html

click on 'Threat Level'

on line 87 you will see that i have showmirc -x

i want the code to just set mirc active *IF* it was active just before the dialog opened

not maximise and not set mirc active if it wasnt to begin with

#34330 06/07/03 03:20 AM
Joined: Dec 2002
Posts: 29
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Dec 2002
Posts: 29
Showmirc -s will set mIRC active application after you open dialog.

#34331 06/07/03 03:39 AM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
that helps a bit, it doesnt resize mirc if mirc was active
but if mirc wasnt active it makes it active...i still need to fix that some how

#34332 06/07/03 05:57 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Hmm. Is on ACTIVE any use to you?

#34333 06/07/03 10:04 AM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
no not in this particular script ;/

#34334 06/07/03 10:45 AM
Joined: May 2003
Posts: 215
Fjord artisan
Offline
Fjord artisan
Joined: May 2003
Posts: 215
if ($appactive) { showmirc -s }


- Jason
#34335 06/07/03 05:34 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
whoops

if i have mirc minimized when the dialog pops up it seems to lock mirc till the dialog is closed (ie i cant un minimize it)


Link Copied to Clipboard