Copy to Clipboard with Web Address

From ptWiki

Jump to: navigation, search

By Greg Carlill (GregC)

This is my custom modified version of a script that I first saw posted by Manuel <a href="http://ptforum.photoolsweb.com/showflat.php?Number=10918#10918" target="_blank">here</a>. khodadad improved on it heaps <a href="http://ptforum.photoolsweb.com/showflat.php?Number=11169#11169" target="_blank">here</a> but my meager programing skills were not up to the task of adding my changes to khodadad's much more complicated (and better) version. My modification has added a path to where you store your images online.

This script copies to the clipboard certain details about an image. I use this to copy my shooting info and then paste this into messages when posting on various photography forums. I have the script in the one click bar for fast access and it gives results something like as shown below. The idea being that I can then paste into a photography forum the EXIF details of the shot on the first line and link to that image on the third line.

The http: address is hard coded into the script and only the image####.jpg is tacked onto the end. The jpg file name comes from the OID value of a particular image in the DB. I used this because I'm using the jf Extended Photo Gallery Creator to generate the jpg's and it uses the OID to create unique image id's. I'm aware that Mario has said over and over that OID's may disappear in a future version but because this matches the output of the jf Extended Photo Gallery Creator it works for me for now.

It would be very easy to modify the hard coded http: address and the any of the Canon specific EXIF tags that I use.

Hope some else finds it useful.

<example result>

105 mm at 105.00 mm 1/160 s at F 16.00 with ISO 100

<a href="http://www.pathtoyourphotos/photogallery/image8191.jpg" target="_blank">http://www.pathtoyourphotos/photogallery/image8191.jpg</a>

* Script file: Download this script
* See the Script downloading and installation instructions for generic information about using scripts downloaded from the IMatch Wiki.


Personal tools