Jump to content
UBot Underground

[Help Req] Use Of If Command In Windows Automation


Recommended Posts

I need help, I have a particular test written in a external application window, I want ubot to read that text if found true then do a particular task..if not keep waiting..

 

This can be simple for you guys But I failed..

 

 

How can this be done..

 

 

Link to post
Share on other sites

if u can save that to file from the other program then read that file with ubot that  would be best

 

or if it is a command line program this can be done too

by reading the out put -- needs a little more explaining

 

or you can use windows commands

 

make sure the active window is the one from external program

then scrape that text with windows command/function

see the tutorials on windows commands
in the wiki or the vids

 

http://wiki.ubotstudio.com/wiki/Main_Page

 

http://www.ubotstudio.com/tutorials

HTHelps,

 

CD
 

Link to post
Share on other sites

I think, I fail to explain what is required let me try once more..

 

I have firfox page in this page there is text "close this" 

Now time is not specific when this text "close this" appear in the firefox or webpage..

 

 

Now what I want ubot to loop while till it see "close this" text on webpage soon it find , it just close the firfox window..

But if bot don't see "close this" text string..bot will not do anything

 

I hope this clears my point.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...