Loading ...
Sorry, an error occurred while loading the content.
 

i_view32

Expand Messages
  • Dave
    Hi E: SYD BARRETT.jpg If You Place The Above In A Text Document And Use The View Clip It Opens The Image. H= view ^!c: IrfanView i_view32.exe ^& SELECTING THE
    Message 1 of 2 , Dec 1, 2004
      Hi
      E:\SYD BARRETT.jpg
      If You Place The Above In A Text Document And Use The View Clip It Opens The
      Image.

      H="view"
      ^!c:\IrfanView\i_view32.exe ^&

      SELECTING THE IMAGE IN THE LINE BELOW WILL NOT WORK ,HAS ANYONE GOT THIS
      SORT OF IDEA TO WORK
      a href="AudioCompleteIndex.html#2001X3"><IMG SRC="2001/3f.jpg"

      THANKYOU DAVE
    • Don - htmlfixit.com
      ... I am not sure I fully understand, but I suspect the problem is your directory structure. The first presumably includes the directory, while the latter
      Message 2 of 2 , Dec 1, 2004
        Dave wrote:
        > Hi
        > E:\SYD BARRETT.jpg
        > If You Place The Above In A Text Document And Use The View Clip It Opens The
        > Image.
        >
        > H="view"
        > ^!c:\IrfanView\i_view32.exe ^&
        >
        > SELECTING THE IMAGE IN THE LINE BELOW WILL NOT WORK ,HAS ANYONE GOT THIS
        > SORT OF IDEA TO WORK
        > a href="AudioCompleteIndex.html#2001X3"><IMG SRC="2001/3f.jpg"
        >
        > THANKYOU DAVE

        I am not sure I fully understand, but I suspect the problem is your
        directory structure. The first presumably includes the directory, while
        the latter does not. If I have missed the mark, let me know.

        If I use your clip, then I can open for example this file:
        c:/Documents and Settings/username/My Documents/temp.jpg
        by highlighting it and clicking the clip.
        Note that I cannot open it however if it has %20's in lieu of spaces!
        c:/Documents and%20Settings/passengd/My%20Documents/temp.jpg
        and that is the native format, for example if I use the insert image
        feature in html contained in notetab to get an image link inserted into
        a non-saved file.

        So I guess I might add to the front of your clip a search and replace
        and a variable set so that I don't actually change the highlighted
        content thus:
        11 lines follow
        ; 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

        To open a relative link, you need to first set the directory. I think
        this one will work for that, assuming the link is relative to the
        current document.

        11 lines follow
        ; by don at htmlfixit.com
        ; open highlighted relative path to image
        ; in irfanview
        ; format: subdirectory(ies)/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
      Your message has been successfully submitted and would be delivered to recipients shortly.