Thursday, August 5, 2004, 9:39:56 AM, you wrote:

I have a script which is start samurize client.exe when winamp or myhtpc start. 

I want to close samurize client.exe when winamp or myhtpc is closed.


If (not visiblewindow("=winamp,=myhtpc")) do

Window Close! =client

endif

quit



In a few word: I want a script which is closed the client.exe when
I close winamp or myhtpc.
-------------------------------------------

Test this:

If (not visiblewindow("=winamp,=myhtpc") and (anywindow "=client")) do
Window Close! "=client"
Else quit
Endif


 Also check winamp exe name. It can be winamp3.

 HTH


-- 
 Ozkan
      
          



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

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

Reply via email to