On Mon, Jul 5, 2010 at 2:25 AM, Francois Gouget fgouget@free.fr wrote:
I fixed the problem by replacing 'winwait, Save' with 'winwait, ahk_class #32770'. Based on my reading it appears to be an acceptable solution if we assume that the 'Save As' dialog will be the only dialog open at that point in the script.
The problem is it does not work in Wine. In Wine the class of 3DMark2000's 'Save As' dialog is #32769 which corresponds to a desktop window!
I also checked notepad's 'Save As' dialog and this one does have a class of #32770.
http://msdn.microsoft.com/en-us/library/ms633574%28VS.85%29.aspx
Sadly, I've found window class IDs to not be very unique (though I've looked mostly in Wine and not Windows).
Can you try using a regular expression? - Dan