I'm playing a bit with pictures in our outlook signature script so we can include some small icons for our company facebook, youtube channel, blog and twitter pages.
There is an option to give a picture a hyperlink so it becomes clickable. I did this in Word and recorded a macro of it (see below).
Small issue........I have no idea how to get the script that sets the hyperlink to work in KiXtart. Inserting the picture works fine. Sure I can just insert some text as a hyperlink but it looks much cleaner when it is just the icons and no text.

 Code:
    Selection.InlineShapes.AddPicture FileName:= _
        "S:\Facebook.gif", LinkToFile:=False, _
        SaveWithDocument:=True
    ActiveDocument.DefaultTargetFrame = ""
    ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, Address:= _
        "http://www.test.com/", SubAddress:="", ScreenTip:="Some tooltip text here" _
        , TextToDisplay:=""


VBS code from this website:
 Code:
'Insert a picture.
Set oILPic = oDoc.InlineShapes.AddPicture(Range:=oDoc.Content, FileName:= sPicFile, LinkToFile:=True)

'Add a hyperlink For the picture.
oDoc.Hyperlinks.Add Anchor:=oILPic.Range, Address:=sLinkFile

'Use the InlineShapes Property To reference the Object.
Set oHLink = oDoc.InlineShapes(1).Hyperlink


Edited by Mart (2010-02-15 05:14 PM)
Edit Reason: Added vbs code
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.