23515Re: [Clip] Re: Clip to execute file at cursor
- Dec 12, 2012david wrote:
>The problem is that it is difficult to write clip code to select aYou could use ^Find to search backwards to find the first quote
>quoted string containing spaces.
>The best I have so far is this:
>^!If ^$GetSelSize$ = 0 ^!Select FILENAME
(provided the cursor is between the quotes). Store the location of it
in a variable with ^$GetRow$:^$GetCol$ . Then find the next quote.
Place the cursor after it (for example with ^!Jump select_end ). Then
use ^!SelectTo to select from that position to the position of the
first quote you stored in a variable.
- << Previous post in topic Next post in topic >>