AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wait for a windows completly build?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
wasserflo



Joined: 24 Feb 2005
Posts: 1

PostPosted: Thu Feb 24, 2005 8:41 am    Post subject: Wait for a windows completly build? Reply with quote

Hi,
is there a command which is waiting for a window completly build with all buttons and textboxes?
My problem is that I want to create a script which fills out the remotedesktop support form.
If I try to capture mouse and keyboard with the autoscriptwriter, between all mouseclicks is a Sleep, 100. But when I try to run this script it is so fast that the WinWait and WinActivate are working but the window is not fully build and the buttons that will be clicked are not active.
I know I can increase the Sleep time, but we have very fast and very slow machines, therfore I don't want to 'Sleep' 1000 or so between every mouse or keyboard click. I want to do this dynamicly.

Greetings

Florian
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Thu Feb 24, 2005 9:13 am    Post subject: Reply with quote

Welcome Wasserflo(h).
currently an AHK A_WinPaint variable, returning the errorlevel/status which indicates that a window has been painted/build completly, isn't available.
IMHO I would appreciate such a feature as well, as I'm not happy not to see in realtime what's going on. That's one of the main reasons why I try to bypass mouse related actions. Pushing a non visable (for 98% of users --> non existing) button, won't give me that warm and cosy feeling that everything is running fine/under control.

Du kannst PixelGetColor nehmen. Suche dir einen Pixel aus, der grundsätzlich zuletzt geladen wird. Wird dieser angezeigt ist das Fenster da/vorhanden/anwesend/geladen. Ich würde aber eine andere Vorgehensweise bevorzugen. Da min. 20% meiner Zeit/Energie für die englische Wortwahl draufgehen wäre eine Anfrage im Deutschen Forum auch nicht falsch. Wink
Back to top
Loeppi



Joined: 11 Feb 2005
Posts: 2
Location: Duesseldorf, Germany

PostPosted: Thu Feb 24, 2005 10:27 am    Post subject: Reply with quote

Perhaps then you should post the link here again Wink
http://www.autohotkey.de.vu/forum
There are possibly other people here speaking german who want to discuss the topics in german Wink
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group