Jump to content
UBot Underground

Recommended Posts

Hello,

 

i want to save a screenshot of a side and the name of the picture should be the result&date&time&second but i dont know how to do that.

i try at random.org

The result is at the picture 100 so thename of the jpg should be 100&date&time&second.jpg

 

for helping i would be thankfull.

regards

mehcul

post-29468-0-88279500-1515326148_thumb.png

Edited by mehcul
Link to post
Share on other sites

simple enough
:)

comment("using browser 21

above go to \"Tools\" >> \"Options\"

browser, and change the browser to 21 and restart ubot")
navigate("https://www.random.org/","Wait")
wait for element(<name="true-random-integer-generator-button">,15,"Appear")
click(<name="true-random-integer-generator-button">,"Left Click","No")
wait for element(<id="true-random-integer-generator-result">,15,"Appear")
set(#result,$scrape attribute(<id="true-random-integer-generator-result">,"innertext"),"Global")
comment("saves to desktop
just replace wtih Application\\name of folder

this will be in the same folder as your bot inside the directory
name of folder")
save element image(<id="true-random-integer-generator">,"{$special folder("Desktop")}\\{#result}-{$replace($replace($plugin function("DateTime Manipulation.dll", "$datetime manipulation", $date, "UBOT", "Sortable date/time", "en-US", "en-US"),"T","-"),":","-")}.jpg")
comment("00&date&time&second.jpg")
navigate("{$special folder("Desktop")}\\{#result}-{$replace($replace($plugin function("DateTime Manipulation.dll", "$datetime manipulation", $date, "UBOT", "Sortable date/time", "en-US", "en-US"),"T","-"),":","-")}.jpg","Wait")
stop script
comment("replaces T with -

stakced inside the following replace

just replace with & if you wish")
alert($replace($plugin function("DateTime Manipulation.dll", "$datetime manipulation", $date, "UBOT", "Sortable date/time", "en-US", "en-US"),"T","-"))
comment("replaces colon with -")
alert($replace($replace($plugin function("DateTime Manipulation.dll", "$datetime manipulation", $date, "UBOT", "Sortable date/time", "en-US", "en-US"),"T","-"),":","-"))

you will need a plugin to make it easier

datetime manipulation plugin from here

random dot org.ubot

 

Using another browser may cause the browser to freeze.

 

Regards,
CD

  • Like 1
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...