Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

delete recently opened file list? 1

Status
Not open for further replies.

mrmomaz1234

Programmer
Jul 2, 2003
75
US
Is there a way to delete some of the items in the last opened file list? <the list at the bottom when a File option is used>>
 
Probably. One has to use a macro to do it. Do you want selective entries deleted or all of them? The macro has to edit your registry.
 
Thanks for the response. A selective deletion would be prefered, but total deletion would be a nice option. I am not afraid of modifying the registry, but have not been able to find the list. Any assistance will be appreciated.
[bigsmile]
 
The list in the registry is something like:
HKEY_CURRENT_USER\Software\Corel\User Assistant\10\Recent Work\WordPerfect\Last Opened\x

x is letters "a" to "i". Click Start, Run, and type regedit and press Enter key. Then open one of the a-i folders. If you will notice, there is an "a" edit string and an "a" key folder. In the "a" key, there are various edit keys to describe that last opened file. Modify these and close the registry.

Unfortunately, you will have to then close and reopen wp for these to update in wp's File menu listing.

I have a macro that can automate this but it can not change wp's behavior. It can modify the registry and remove entries but wp only reflects the changes when it is reopened. The macro allows the last 10 or so files, macros and graphic files to be opened, inserted, inserted as subdoc or play for macros. If this interests you, post back and I will post it to wpuniverse.com after I tweak it a little.

There is a fairly good macro by Klaus that does most of this except updating the list like you want at wpuniverse.com's code snippet forum.
 
Thanks for the reply khobson. Yes I would like to have your macro, if you would be so kind to post it for me.

ckearification question: after your macro is run, do i need to simply open wp or do i need to do a file|open on each of the deleted files? (I could probably figure that one out, but it's asked now.)
thank you
 
Thanks for the reply-i looked at the macro by Klaus but didn't feel that it was exactly what i was lookinig for. <I wanted a selective deletion.> However, your registry key was exactly what i was looking for. i was able to find the keys in Registry that i did not want and deleted the key. when WP was loaded, the un-desirable file name(s) was not there. thanks. :)

Also-that's for the wp site. it too was helpful. :)
 
If your goal was to refresh the last opened to not show file that do not exist, try a macro such as:
PrefSave ()
PrefMenu (DisplayLastOpened: No!)
PrefSave ()
PrefMenu (DisplayLastOpened: Yes!)
PrefSave ()
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top