mIRC Home    About    Download    Register    News    Help

Print Thread
#34326 05/07/03 11:19 PM
M
MTech
MTech
M
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,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
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'.

#34328 06/07/03 12:43 AM
H
Hindsight
Hindsight
H
What exactly are you trying to do? We might be able to help you with some code. :>

#34329 06/07/03 01:18 AM
M
MTech
MTech
M
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
R
RAIN
RAIN
R
Showmirc -s will set mIRC active application after you open dialog.

#34331 06/07/03 03:39 AM
M
MTech
MTech
M
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,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
Hmm. Is on ACTIVE any use to you?

#34333 06/07/03 10:04 AM
M
MTech
MTech
M
no not in this particular script ;/

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

#34335 06/07/03 05:34 PM
M
MTech
MTech
M
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