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

Re: [Clip] Clip to move file and reopen/to list image sizes of files in directory

Expand Messages
  • Alan
    Hi Jonathon, ... try the following, i set two items, the filename and extension into the filname variable before the file is moved then after the file is moved
    Message 1 of 2 , Dec 16, 2000
      Hi Jonathon,

      >path to get just the document name or is there another command to do this?

      try the following, i set two items, the filename and extension into the
      filname variable before the file is moved then after the file is moved
      reinstitute the filname variable in conjunction with your path
      variable. OK the Info prompts at first then Remove the two Info lines and
      any other commented (;) lines you want out of there whenever you get the
      clip working

      p.s. if it is an unsaved file instead of ^** you might need try ^##

      But, try the clip first, it might work right away. Otherwise you may need
      do as suggested by above line and/or also need fiddle with quotes which
      surround ^%Path%^%filname%, maybe remove them.

      ^!Set
      %Path%=^?{(H=10)Directory&path==D:\jwebsite\|D:\jwebsite\pbi\etp\|D:\pbiwebsite\jmods\};
      %Ext%=^?{(H=10)File &Types;*.txt==All Files^=*.*|_Html Only^=*.*htm*|Text
      Only^=*.txt|Html & Text^=*.*htm*;*.txt}; %us%=^?{&Select all files for
      open?==_Yes^=_|No^=}
      ^!Info ^%Path%
      ;help "clip language-disk files"
      ^!Set %filname%=^$GetFileName(^**)$
      ^!Info "^%Path%^%filname%"
      ;^!Goto end
      ^!MoveFile ^$GetDocName$ ^%Path%
      ^!Keyboard Ctrl+F4
      ^!Open "^%Path%^%filname%"



      >2) Has anyone made a clip to paste the image sizes of all images in a
      >particular dir into focused doc in a format like:
      >image1.jpg width="407" height="265"
      >image2.jpg width="347" height="129" etc. ???

      In addition to Don's suggestion you might look
      http://12.16.133.65/libraries.htm which is NoteTab clip
      repository. Person by name of J. Barta has some image clip stuff there for
      www docs. Lots of www clip libraries there too, some by Jody Adair.

      good luck. Regards. Alan.
    Your message has been successfully submitted and would be delivered to recipients shortly.