Open Files in Irfanview

A reader on the YahooGroups Clips List was wondering how to open files in Irfanview via a NoteTab Clip. I proposed the following two solutions:

For a complete image link with path included:

; by don at htmlfixit.com
; open highlighted full path to image
; in irfanview
; format: c:/Documents and Settings/username/My Documents/temp.jpg

; start clip - line 7
^!Set %TempVar%=^$GetSelection$
^!Replace "%20" >> " " ATIHS
^!C:\Program Files\IrfanView\i_view32.exe ^%TempVar%
; end clip - line 11

For relative image links (relative to the current document):

; by don at htmlfixit.com
; open highlighted full path to image
; in irfanview
; format: c:/Documents and Settings/username/My Documents/temp.jpg

; start clip - line 7
^!Set %TempVar%=^$getpath(^**)$^$GetSelection$
^!Replace "%20" >> " " ATIHS
^!C:\Program Files\IrfanView\i_view32.exe ^%TempVar%
; end clip - line 11

Keywords: image, path, file, open, irfanview

Leave a Reply

Recent Posts

Archives

Topics