  | 
	
	
	
		kyros Novice
 
  Joined: 26 Jan 2005 Posts: 33
 
  | 
		
		  
			
			   Posted: Fri Jan 27, 2006 8:17 am   
  Launch question   | 
			 
			
				Is there a way to see if a launched file is still running?
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		kyros Novice
 
  Joined: 26 Jan 2005 Posts: 33
 
  | 
		
		  
			
			   Posted: Fri Jan 27, 2006 8:17 am      | 
			 
			
				like an IF statement and if it isn't it will stop the script.
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		TonDiening GURU
  
  Joined: 26 Jul 2001 Posts: 1958 Location: Canada
  | 
		
		  
			
			   Posted: Fri Jan 27, 2006 8:21 am      | 
			 
			
				Launched file as in a commandline open of a character on start up?
 
 
You can do alarm triggers to see if you have seen a certain text (prompt?) if not do something like:
 
#MENU {file|disconnect}
 
#DISC | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		kyros Novice
 
  Joined: 26 Jan 2005 Posts: 33
 
  | 
		
		  
			
			   Posted: Fri Jan 27, 2006 8:24 am      | 
			 
			
				#var Winamp %comcreate( "WinampCOM.Application")
 
 
I used that to open winamp and perform instructions to it.. well then I close winamp, zmud crashes.
 
now... I want it to check if it is open, if not, stop the script. If I don't do this, it will keep crashing :p | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		TonDiening GURU
  
  Joined: 26 Jul 2001 Posts: 1958 Location: Canada
  | 
		
		   | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		kyros Novice
 
  Joined: 26 Jan 2005 Posts: 33
 
  | 
		
		  
			
			   Posted: Fri Jan 27, 2006 10:19 am      | 
			 
			
				that still doesn't answer my question..
 
 
Zmud crashes on closing of winamp if you don't clear the winamp variable, is there a way to avoid it crashing... or a safe check... | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		Pseudo Wanderer
 
  Joined: 25 Oct 2005 Posts: 99
 
  | 
		
		   | 
	
	
	  
		  
		    
			  
  Last edited by Pseudo on Fri Jan 27, 2006 3:10 pm; edited 1 time in total | 
			       | 
			 
		   
		 | 
	
	
		  | 
	
	
		Pseudo Wanderer
 
  Joined: 25 Oct 2005 Posts: 99
 
  | 
		
		  
			
			   Posted: Fri Jan 27, 2006 3:06 pm      | 
			 
			
				Knowing the requirements of the COM object, I'd like to ask for:
 
 1. Your zMud version
 
 2. Your WinampCOM version
 
 3. Which Operating System is this for? | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		kyros Novice
 
  Joined: 26 Jan 2005 Posts: 33
 
  | 
		
		  
			
			   Posted: Fri Jan 27, 2006 10:33 pm      | 
			 
			
				zmud 7.21
 
lastest winamp com
 
and windows xp sp2 | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		Pseudo Wanderer
 
  Joined: 25 Oct 2005 Posts: 99
 
  | 
		
		  
			
			   Posted: Sat Jan 28, 2006 2:50 am      | 
			 
			
				I should also ask where you downloaded the latest COM component from as it doesn't ship with the program.
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		kyros Novice
 
  Joined: 26 Jan 2005 Posts: 33
 
  | 
		
		  
			
			   Posted: Sun Jan 29, 2006 3:45 am      | 
			 
			
				Winamps site. it all works, it's just when I close winamp without clearing using: #var winamp ""
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		Pseudo Wanderer
 
  Joined: 25 Oct 2005 Posts: 99
 
  | 
		
		   | 
	
	
	  
		  
		    
			  
  Last edited by Pseudo on Tue Jan 31, 2006 6:11 pm; edited 1 time in total | 
			       | 
			 
		   
		 | 
	
	
		  | 
	
	
		Pseudo Wanderer
 
  Joined: 25 Oct 2005 Posts: 99
 
  | 
		
		  
			
			   Posted: Tue Jan 31, 2006 5:53 pm      | 
			 
			
				I should also mention, closing Winamp without clearing the variable in ActiveWinamp did not crash zmud during my tests.
 
Should you require further support on a plugin not designed for Windows XP, I wish you luck on your search! :) | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		| 
		
		 | 
	
	
		 |