Topic: FindFile bug (1 of 3), Read 16 times
Conf: VEDIT Macro Library
From: Howard Goldstein
Date: Tuesday, June 07, 2011 02:48 PM

The version of the FindFile macro included with VEDIT 6.20.1 fails under the following conditions:

o "Open file directly on single match" is checked

o Only one match is found

o The name of the directory where the file is found contains spaces.

For example, if the match were found in "c:\Progrm Files\vedit" the error message would be something like, "Directory not found: Files\vedit". The part of the directory name before the space is lost which is of course what causes the error.

Also, in a somewhat related issue, I don't see anything in the help system about this macro. I think that "Find and Open" should at least be mentioned in the help entry for the File | Open(More...) menu.

-- Howard

 


Topic: FindFile bug (2 of 3), Read 13 times, 1 File Attachment
Conf: VEDIT Macro Library
From: Pauli Lindgren
Date: Wednesday, June 08, 2011 07:17 AM

On 6/7/2011 2:48:57 PM, Howard Goldstein wrote:
>The version of the FindFile
>macro included with VEDIT
>6.20.1 fails under the
>following conditions:

I fixed that. Double quotes were needed around filename.

The enclosed FindFile v1.3 contains some other fixes, too:

- Check that directory exists. Previously, if user entered a non-existing directory, it caused an endless loop and you had to use Task Manager to kill Vedit.

- If there are no files open and no stored directory found, Current Directory is used as default in the dialog.

Ted, may I suggest that you add a hotkey for FindFile in the default keyboard configuration.
Ctrl-Shift-F would be a good choice.

--
Pauli

 
FindFile v1.3

 


Topic: Re: FindFile bug (3 of 3), Read 12 times
Conf: VEDIT Macro Library
From: Ted Green
Date: Wednesday, June 08, 2011 09:35 AM

----- Original Message -----
> From: "Pauli Lindgren" ( pauli0212@... ) On 6/7/2011 2:48:57 PM,
> Howard Goldstein wrote:
> >The version of the FindFile
> >macro included with VEDIT
> >6.20.1 fails under the
> >following conditions:
>
> I fixed that. Double quotes were needed around filename.
>
> The enclosed FindFile v1.3 contains some other fixes, too:
>
> - Check that directory exists. Previously, if user entered a
> non-existing directory, it caused an endless loop and you had to use
> Task Manager to kill Vedit.
>
> - If there are no files open and no stored directory found, Current
> Directory is used as default in the dialog.
>
> Ted, may I suggest that you add a hotkey for FindFile in the default
> keyboard configuration.
> Ctrl-Shift-F would be a good choice.

Pauli:

Thank you for the fix.
Yes, I will add that hot-key.
I will also make an entry into the help system for this new function.

Ted.