Jump to content



Photo

How To Wait For A File To Be Created With Ubot

csv wait

  • Please log in to reply
1 reply to this topic

#1 Dallashox

Dallashox

    Member

  • Members
  • PipPip
  • 17 posts
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Standard Edition

Posted 17 August 2017 - 07:35 PM

Sorry if this is obvious but is there a way to wait for file to be created before executing part of a job?  E.g One job creates a .xlsx or .csv.  Then your next ubot does something with it but only when that .xlsx or .csv exists.

 

Thanks :D



#2 abbas786

abbas786

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 444 posts
  • OS:Windows 7
  • Total Memory:2Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 18 August 2017 - 02:02 AM

try

loop while($not($file exists("xxx.xlsx"))) {
    wait(1)
}


YouTube Views [ High Retention . Social Media Referrer , Suggested Video Referrer, None Geo / Geo Targeted Views ] - YouTube Video Ranking Service [ Rank Any Video Like A PRO ]   

All IN ONE - Ultimate Ubot Plugin [ Email Plugin - Datagrid Plugin - Graphical Chart Plugin - Image Processing Plugin - Video Processing Plugin - Zip / UnZip Plugin - OS Plugin - Php and Python Plugin - Cyrpto Plugin - Data Conversion Plugin - Youtube Plugin

 

Ultimate Captcha Plugin [ Solve reCaptcha NoCaptcha Within Ubot Studio -  Also Supports EX Browser using Chrome and FixFox ]






Also tagged with one or more of these keywords: csv, wait

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users