Need button that modfies url in clipboard

Hello all,

I need a button/command that inserts image tags [img] url [/img] for a url in the clipboard and i was wondering if its somehow possible to get it work seamless with the upload to imageshack button.?

For example I upload to imageshack. The imageshack sends link to clipboard and then with a button I insert img befor and /img after the link

And also would it be possible to insert image tags for multiple urls in clipboard, but add the tag separate for each url?

thanks in advance

Can't you just change the preferences for ImageShack, in Opus, which determine the type of url placed in the clipboard - there are a number of options there, including a custom one.

(Edit: Looks like Steve beat me to it.)

If the aim is to use this with the Imageshack integration then you can change the URL format put into the clipboard via Preferences -> Photo Sharing -> ImageShack.

Oh boy, I feel stupid again :blush: I didn't know about that.

Still i would like to know how it can be done without imageshack. It would save me some time.

What exactly do you want to do? What are the inputs & outputs? Do you really want it to work on one (or multiple) URLs in the clipboard, or would you rather it took the filenames from the selected file(s) and built URLs out of them?

You could use :

Clipboard SET [img]{clip}[/img]

If you just want to wrap a url in the clipboard with img tags...

Yeah thanks alot steve, that is what i need. Im going to assing a hotkey for this. As i need to put separate urls in img brackets.

Leo the multiple url question was what i needed for the imageshack uploads, but seeing as there is a solution for that already, steve set clipboard is good!!

Sorry for giving you guys headdache.

Big thanks for the help!!