forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


dialog (click OK automatically)

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
thomas
Newbie


Joined: 15 Jan 2003
Posts: 23
Location: Germany

PostPosted: Fri Feb 06, 2004 7:15 am    Post subject: dialog (click OK automatically) Reply with quote

Hello,

I have an application that creat a dialog with one Button OK.

Now I want to identify this dialog with vds script and then confirm the OK Button with the script, so the application continue.

Does anybody now I solution??

Thanks!!

Thomas
Back to top
View user's profile Send private message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Fri Feb 06, 2004 9:15 am    Post subject: Reply with quote

I think you'll have to create a repeat loop that checks whether or not the windows exists, and then send a @cr() to that window.

Like this:
Code:

option decimalsep, ","

%%Exit =
repeat
   rem Try to use a class name instead of a window title... Class names are presumably unique...
   if @winexists(Warning!)
      window send, Warning!, @cr()
      %%Exit = 1
   end
   wait "0,01"
until %%Exit


Regards,
Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group