On 1/9/2011 5:18:57 PM, peter rejto wrote:
>On 5/10/2010 11:40:35 AM, Pauli Lindgren
>wrote:
>>Hi,
>>
>>I have made a new version of
>>the snippets.vdm macro.
>>There was a kind of bug. After
>>calling other macros from the
>>snippets file, the text
>>register was not always
>>emptied.
>>
>>This was caused by the strange
>>behavior I have noticed
>>earlier with user and tools
>>menus, too.
>>If you call a macro like this:
>>#116=Reg_Free
>>Call_File(#116,"some.vdm")
>>Reg_Empty(#116)the contents of
>>the register #116 may have
>>changed even if the macro did
>>not use that register.
>>
>>I changed the double-click
>>event macro so that it does
>>not rely on a numeric
>>register.
>>
>>Another change is that the
>>default name for snippets file
>>is now default.snp (instead of
>>example.snp).
>>The files default.snp and
>>html.snp have been updated,
>>too, with some new snippets.
>>
>>P.S.
>>If you have download the
>>previous version of
>>search116.vdm (v2.5) from my
>>web page, please download the
>>updated version (v2.6).
>>There was a hazard character
>>added in the code of v2.5 that
>>caused an error.
>
>Pauli,
>
>
>I would like to add a footnote to your
>snippet.vdm macro.
>
>Specifically, I ended up with several
>.snp files.
>When I was double clicking on any of
>them I got an error message.
>
>
>Then I realized that this error message
>was due to the fact that Windows
>associated the .snp files with the
>program snapshot.
>
>So, I went into {Windows Explorer,
>Tools, Folder Options, File Types }
>
>and changed the File Type of the .snp
>Extension to Vedit.
>
>Now, double clicking on an .snp file,
>windows opens up the file in Vedit. So,
>in this respect, Windows treats .snp the
>same way as it treats .vdm files.
>
>
>Well, I started out with a footnote. Now
>I have a real question:
>
>Could you automate this association
>procedure ?
>In other words, if I have a snippet.vmd
>file in my
>USER_MACRO directory, then I would like
>to associate the .snp files with Vedit.
>
>
>Thanks as always.
>
>-peter
Pauli,
I know that you are busy and I have, essentially, the answer to my question.
So, there is no need for you to answer it.
(In short I noticed that I can use the Vedit registry.vdm macro.)
Thanks as always,
-peter,
|
|