RE: Autoit V3 to slow? autoit2 was faster!?!

"Terwelp, Jeff" <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <1A533EC38656E14FBD6A00995500743C06B678ED@MIL-EXMB-01.us.rwbaird.com>
How can we help you without seeing your script?
 
Jeff


________________________________

	From: [email protected] [mailto:[email protected]] On Behalf Of "Lüth, Carsten"
	Sent: Wednesday, February 21, 2007 3:15 AM
	To: '[email protected]'
	Subject: [AutoIt] Autoit V3 to slow? autoit2 was faster!?!
	Importance: High
	
	

	Hello,
	
	I' ve got an old autoit2-script.
	I wan't to convert it to an autoit3-script.
	
	Problem: 
	The new written autoit3-Script works fine, but is to SLOW
	The old autoit2-script is much faster, because it's using "SetBatchLines,
	1000".
	
	How can I accelerate the new script?
	
	Mit freundlichem Gruß / With kind regards 
	
	Fielmann AG 
	
	Carsten Lüth
	IT - Desktop Services
	Weidestraße 118a
	22083 Hamburg
	Telefon: +49 - (0) 40 - 2 70 76 - 199
	mailto:[email protected] <mailto:c.lueth%40fielmann.com>  <mailto:[email protected] <mailto:c.lueth%40fielmann.com> > 
	
	-----Ursprüngliche Nachricht-----
	Von: valery_vi [mailto:[email protected] <mailto:shehrer1%40yahoo.co.nz> ] 
	Gesendet: Montag, 19. Februar 2007 12:38
	An: [email protected] <mailto:AutoItList%40yahoogroups.com> 
	Betreff: [AutoIt] Re: wingettitle with process?
	
	Carsten,
	
	I know about other simple thing:
	
	; Get process Id (pid) from hWnd:
	#include <GUIConstants.au3>
	Run("Notepad.exe", "")
	Sleep(1000)
	Opt("WinTitleMatchMode", 4)
	$hWnd = WinGetHandle('classname=Notepad')
	;get pid from window handle
	$pid = DllCall
	("user32.dll", "int", "GetWindowThreadProcessId", "hwnd", 
	$hWnd, "int_ptr", 0)
	If IsArray($pid) Then MsgBox(0,'','$pid = ' & $pid[2])
	WinClose('classname=Notepad')
	
	It's more useful, I think.
	
	Valery
	
	--- In AutoItList@yahoogro <mailto:AutoItList%40yahoogroups.com> ups.com,
	"Lüth, Carsten" <c.lueth@...> 
	wrote:
	>
	> Hello,
	> 
	> is it possible to get the windowstitle if you only know the name of 
	the
	> process ?
	> 
	> e.g.:
	> wingettitle (process = notepad.exe) ????
	> 
	> 
	> 
	> Mit freundlichem Gruß / With kind regards 
	> 
	> Fielmann AG 
	> 
	> Carsten Lüth
	> IT - Desktop Services
	> Weidestraße 118a
	> 22083 Hamburg
	> Telefon: +49 - (0) 40 - 2 70 76 - 199
	> mailto:c.lueth@... <mailto:c.lueth@...> 
	> 
	> 
	> 
	> 
	> 
	> [Non-text portions of this message have been removed]
	>
	
	[Non-text portions of this message have been removed]
	
	

	 


**********************************************************************
Robert W. Baird & Co. Incorporated does not accept buy, sell or other transaction orders by e-mail, or any instructions by e-mail that require a signature. This e-mail message, and any attachment(s), is not an offer, or solicitation of an offer, to buy or sell any security or other product. Unless otherwise specifically indicated, information contained in this communication is not an official confirmation of any transaction or an official statement of Baird. The information provided is subject to change without notice. This e-mail may contain privileged or confidential information or may otherwise be protected by other legal rules. Any use, copying or distribution of the information contained in this e-mail by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer on which it exists. Baird, in accordance with applicable laws, reserves the right to monitor, review and retain all electronic communications, including e-mails, traveling through its networks and systems. E-mail transmissions cannot be guaranteed to be secure, timely or error-free. Baird therefore recommends that you do not send any sensitive information such as account or personal identification numbers by e-mail.
**********************************************************************



[Non-text portions of this message have been removed]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.