Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: OLE Word Hyper links Hyperlinks
; create word object... wordapp = objectopen("Word.Application") ; set the documents object... docs = wordapp.documents ; open a preset file... docs.open("C:\data\word\http.doc") ; make word visible... wordapp.visible = @true ; set the activedocument object... thisdoc = wordapp.activedocument ; set the hyperlinks collection object... hlinks = thisdoc.hyperlinks ; show a message with the document name and how many links in the document... message(thisdoc.name, strcat("There are ", hlinks.count, " Links in this document.")) ; loop thru the links for x = 1 to hlinks.count ; setup an individual link object... thislink = hlinks.item(x) ; show the link's name... message("Debug", thislink.name) ; delete the link thislink.delete next exitThe actual "breaklink" action is part of the linkformat, but how to associate a link with its format is unclear.
Article ID: W15267
File Created: 2002:09:05:13:50:54
Last Updated: 2002:09:05:13:50:54