| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Tue Nov 29, 2011 2:47 am    Post subject: |   |  
				| 
 |  
				| No, there is currently no processlist/windowlist implemented. 
 Anyhow, the openProcess function call lets you specify the processID of the target process. So you can give the user an editbox and let him type in the pid. (or perhaps you can fetch it another way, like a shell command doing a tasklist...)
 
 Also, if you give the name of the process it will always pick the process at the bottom of the list (newest, same as autoattach)
 
 If your intention is to show a list to the user and assume the user knows which one to pick, you're wrong. Users 'never' know which particular process to pick if all 3 have the same name
 _________________
 
 Do not ask me about online cheats. I don't know any and wont help finding them.
 Like my help? Join me on Patreon so i can keep helping
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| atom0s Moderator
 
  Reputation: 205 
 Joined: 25 Jan 2006
 Posts: 8587
 Location: 127.0.0.1
 
 | 
			
				|  Posted: Tue Nov 29, 2011 7:28 am    Post subject: |   |  
				| 
 |  
				| Lua itself also does not expose any way to obtain information about running processes. The most you could do is force Lua to run a command line app that prints out a clean list of processes and use that, but there is no built in way to list the running processes. 
 Unless DB decides to expose more functions to handle listing them in CE.
 _________________
 
 - Retired. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| hack0535 Cheater
 
 ![]() Reputation: 2 
 Joined: 16 Oct 2011
 Posts: 28
 
 
 | 
			
				|  Posted: Mon Jan 16, 2012 3:52 am    Post subject: |   |  
				| 
 |  
				| just use 
 openProcess( "abc.exe" )
 
 if you want attach to the running process
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |