Jump to content
UBot Underground

copy paste to/from clipboard


Recommended Posts

For some odd reason i've never had to do this before. . but i do right now. I'm using url shorteners, and cant get the data off the page. and example would be tinyurl.com. I go there . .input my link. . get the shortened link. .but can't figure out how to add the link to a list.

 

Is there a way to copy/paste into the computer clipboard? I just want to take that link and copy it into a list i'm building. I'm sure I've missed some very basic thing to do this. . but i just can't seem to find the answer.

Link to post
Share on other sites

I don't personally want to copy the url . . i want the bot to do it. It needs to get to a page.. . highlight an item, and copy to clipboard. . then paste what is on a clipboard to a list it is building.

Link to post
Share on other sites

Ohhhhhhhhhhhhhhhhhh!

 

Why didn't you say so?

 

Well, before I can tell you how I need to know what your setup is. So go update your Profile and tell us your OS, UBot version, and stuff like that. Look below my avatar and you will see what we need.

Link to post
Share on other sites

I get confused in the profile section. .i know for real . .here is my info here. . and i'll figure out how to post it on profile next

 

Using win 7 64 bit

IE 8.0.7600.16385

Ubot 3.5119

total mem: 8gb

framework: framework 4

Link to post
Share on other sites

Thanks!

 

That info is important so that we don't have to constantly keep asking for the same info.

 

If you look in four Toolbox under Input Commands do you see the nodes

"move mouse, "mouse click", "send keys" and "press or release keys" ?

 

I am thinking those four nodes are a part of the Pro license. That is how I do a Copy & Paste with the bot.

 

If there is another way then I do not know it. If there is another way then hopefully someone in here will share it.

Link to post
Share on other sites

'I am thinking those four nodes are a part of the Pro license. That is how I do a Copy & Paste with the bot.'

 

I run off a standard license. I don't have an 'input commands' option, unless its in a part i'm not aware of or i'm missing something. Putting up a screen shot to show you my set up.

 

http://img709.imageshack.us/i/ubot.jpg/

 

I can't imagine that ubot on its basic level can't handle copying text that is not a url, or has a distinct tag. Someone out there care to shine some light on this. In the image (in this circumstance) I'm tryin to just select the link created for me. .and then add it to a list which will be saved as a txt file.

Link to post
Share on other sites

Jroma Try this copytoclipboard.ubot

 

Thanks for throwing that together for me kreatus. .nice work, unfortunately it seems that my standard devloper license doesn't have these options . .

 

 

'Sorry but your license doesn't allow for this command'

 

 

If anyone can think of a different way than just clipboarding it maybe that would work as well. Just think of how else that link (which is not a link but just a txt that says http://whateverurl.com) can be copied and send to a list. Already i can get some of the URL shorteners to work, but most have this tinyurl setup . .and i'd like to solve it for future reference as well.

Link to post
Share on other sites

Thanks for throwing that together for me kreatus. .nice work, unfortunately it seems that my standard devloper license doesn't have these options . .

 

Maybe this can be done using javascript..

 

BTW what is your goal on copying the url to clipboard? Maybe you can do it by scraping the url.

Link to post
Share on other sites

 

BTW what is your goal on copying the url to clipboard? Maybe you can do it by scraping the url.

 

I would scrape the URL. . . that is normally what i do . i select what i'm looking for by attribute, then I copy that to add to a list. Just I can't find a way to do it when its not a url.

 

In the example i'm using i have no problem copying from a place like bit.ly, but places like snipr and tinyurl, they don't offer a direct link. The give you a txt version of the url, and sometimes have a button you can click to activate the link, but that url is some kinda of internal php redirect or something.

 

I'll do anything to get workarounds on this. I just want to create a bot that uses around 50 of these shortener sites, and creates unique links. All suggestions/ work arounds welcome.

Link to post
Share on other sites

I would scrape the URL. . . that is normally what i do . i select what i'm looking for by attribute, then I copy that to add to a list. Just I can't find a way to do it when its not a url.

 

In the example i'm using i have no problem copying from a place like bit.ly, but places like snipr and tinyurl, they don't offer a direct link. The give you a txt version of the url, and sometimes have a button you can click to activate the link, but that url is some kinda of internal php redirect or something.

 

I'll do anything to get workarounds on this. I just want to create a bot that uses around 50 of these shortener sites, and creates unique links. All suggestions/ work arounds welcome.

 

You can scrape that url even if its not a hyperlink. Check this copytoclipboard.ubot

Link to post
Share on other sites

aaahhhh. . . i always use scrape chosen attribute. . but i'll play around with this page scrape stuff. I'm not sure 100% what you did but it looks like it works. . i'll play with this . . thanks a lot . .really helpful!

Link to post
Share on other sites
  • 2 weeks later...

NOTE: You don't have to view the entire page code to do a scrape. If you simply higlight what you want to scrap or even over highlight / select it you can then right click--->page scrape and it will only display the code that you selected in the browsers.

 

When i say over highlight /select I also seclect some text,image or whaterver just a little above and a bit below what you want to scrape so that when you do the page scrape you can see a fair amount of code to work with just in case the actual thing you want to scrape doesn't have anything unique in it.

 

 

If you post an actual bitly link there may be another way to get the job done if i can see the acutal link.

Link to post
Share on other sites
  • 4 years later...

Jroma Try this attachicon.gifcopytoclipboard.ubot

I tried this file, but in Ubot Studio version 5.917 (current version) it says this is NOT a valid ubot file, can you update this file. I'd really like to use it! Id like to be able to run a command that is same as right click then select copy link address, just like I would in a normal browser. Thank you!

Link to post
Share on other sites

I tried this file, but in Ubot Studio version 5.917 (current version) it says this is NOT a valid ubot file, can you update this file. I'd really like to use it! Id like to be able to run a command that is same as right click then select copy link address, just like I would in a normal browser. Thank you!

 

 

Their has been an actual plugin released  by I think Dan,called Advanced File,which you can read write to from Clipboard

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