AmigaActive (826/1286)

From:Robert Cranley
Date:20 Aug 2001 at 19:32:08
Subject:ARexx and MUI?

Hi All,
Just wrote a simple script for controlling SongPlayer, and it launches
SongPlayer if it isn't already running, then waits for the port etc. before
continuing. Problem is if I run the script first thing after I boot, it
takes *ages* (as in >30 sec.) to open the SongPlayer window, but it opens
straight away if I quit and restart it, or if I have run any MUI apps before
running the script. Running SongPlayer directly works fine too...
Here's the relevant code, any ideas? Cheers!

ADDRESS "COMMAND"

IF ~SHOW(ports, "SONGPLAYER.1") THEN DO
"WBRun Work:Sound/SongPlayer/SongPlayer"
END

DO UNTIL SHOW(ports, "SONGPLAYER.1")
END

ADDRESS "SONGPLAYER.1"

Regards,
Rob



http://ireland.amiga.org

AIM: Daedalus2097 ICQ: 103366205 IRC: Daedalus on ARCNET



If God had meant us to travel economy class, he would have made us narrower.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Secure your servers with 128-bit SSL encryption! Grab your copy of VeriSign's FREE Guide, "Securing Your Web
site for Business" and learn all about serious security. Get it Now!
http://us.click.yahoo.com/aihfLB/oT7CAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->

Quote carefully and read all ADMIN:README mails
To unsubscribe mailto:amigactive-unsubscribe@yahoogroups.com
Anyone sending unsubscribe messages to the list will be SHOT!

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/