Jump to content
UBot Underground

Copy To Clipboard Vs Type Text (Very Long Text) Ubot And Exbrowser


Recommended Posts

Hello,

 

I am trying to paste an html code into a text area... (around 2000+ lines)...

 

at first I tried copy to clipboard and send special keys (CTRL+V) using exbrowser... and it work just fine... (FOR SINGLE THREAD)...

 

but I started having problem with MULTI-THREAD... (is it possible to do local on copy to clipboard????)

 

the problem is... that each thread is supposed to have a UNIQUE HTML CODE...

 

but since copy to clipboard is pretty much pressing CTRL+C to copy... and CTRL+V to paste...

 

one or two threads gets a SIMILAR HTML CODE from time to time... especially if I increase the thread number further...

 

 

 

I also tried TYPE TEXT...

 

this one is okay with single thread and multi thread...

 

however... even if I set a "ZERO" delay... the script takes a very sweet time trying to transfer an HTML CODE from variable #html into a text area... (it takes around 30 to 120seconds)...

 

pretty much trying to type each line... one by one...

 

What do you guys suggest I do?

 

is there a command or function that I am missing?

 

Is there a different approach that I should take?

Link to post
Share on other sites

take a look at this code,it reads a file,sets a variable for that file

ui open file("Pick HTML File",#file)
set(#myHTML,$read file(#file),"Global")
define pasteHTML(#html) {
    in new browser {
        navigate("www.pastebin.com","Wait")
        wait for browser event("DOM Ready","")
        wait for browser event("Everything Loaded","")
        type text(<id="paste_code">,#html,"Standard")
        wait(10)
    }
}
thread spawn(5,5) {
    pasteHTML(#myHTML)
}

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...