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

23512Re: Clip to execute file at cursor

Expand Messages
  • david335577
    Dec 12, 2012
    • 0 Attachment
      Thank you, all, for your good ideas. The problem has not yet been solved, because it fails to open a file like this one, where the cursor is between the quotes:

      "C:\arjuna ardagh.mp3"

      The problem is that it is difficult to write clip code to select a quoted string containing spaces.

      The best I have so far is this:

      ^!If ^$GetSelSize$ = 0 ^!Select FILENAME
      ^!shell "^$GetSelection$"

      This will run a file that has no embedded spaces, and will also run a file with embedded spaces if one manually selects it first.
    • Show all 22 messages in this topic