PDA

View Full Version : Corel WordPerfect Document


mike2002
05-09-2002, 02:26 PM
In the 'Find and Replace' box, is it possible to reduce the number of saved entries that are retained to, say, just one?

Rick
05-09-2002, 04:00 PM
When you have the text entered .
Click the Find button. and or the Find Next
When it finds the One you want to replace
Just click replace,

This can be slow using it this way instead of replace all.
But it is the only way I know of to replace Only One instance .

mike2002
05-09-2002, 08:23 PM
Hi Rick,

Don't know if you've understood my query.

In the 'Find and replace' box, where you enter in the text (to find),
there's an arrow, which opens a drop-down list of the last ten words you've entered to search for. (What you'd call a 'recently used' list).
What I want to do is to edit the Registy (I can't find any setting in WordPerfect itself), to reduce this number.

Here is the corresponding Registry info:-

HKEY_CURRENT_USER\software\corel\wordperfect\8\fin d and replace

Find String0 63 00 61 00 72 00 69 00 62 00 00 00
Find String1 74 00 68 00 61 00 69 00 00 00
Find String2 44 00 4c 00 4c 00 00 00
Find String3 64 00 6c 00 6c 00 00 00
Find String4 63 00 68 00 6c 00 6f 00 65 00 00 00
Find String5 63 00 68 00 69 00 6e 00 65 00 00 00
Find String6 6a 00 61 00 70 00 00 00
Find String7 6f 00 72 00 69 00 65 00 6e 00 74 00 61 00 6c 00
Find String8 72 00 61 00 63 00 65 00 00 00
Find String9 62 00 6c 00 61 00 63 00 6b 00 00 00
Number of Find Strings 0a 00
Number of Replace Strings 00 00
Options 04 00

I cannot see any value that corresponds to ten saved enrties.
Over to the experts!

david eaton
05-10-2002, 03:58 PM
Hi mike.
The string corresponding to ten entries is there - it's in hex, so you are looking for number of find strings 0a 00. I suppose that amending it to 01 00 would do what you want. I don't know for sure if that will work, but try it and see. If not restore the original value.

Before you hack the registry MAKE A BACKUP!

david



------------------
If man could be crossed with the cat, it would improve the man, but disimprove the cat.

Mark Twain

mjc
05-10-2002, 04:22 PM
Also if you want to clear out that list you should be able to just delete Find String(0-9 would get all of them). It isn't really a good idea to go posting lists like that on the net...there is the potential for them to be embarrassing or worse. (those letters and numbers are hexidecimal representations of the actual text, at least in the findstring entries), usually a good idea is to blank that part out...

------------------
mjc
Links list:Computer Links (http://www.dreamwater.org/tech/mjc/index.htm)

Celts are the men that heaven made mad, For all their battles are merry and their songs are all sad.

mike2002
05-11-2002, 09:39 AM
Thanks for the sugestions. Interesting this!
Dave, tried your one and altered the 'find strings 0a 00' to '01 00'. Yes it deleted the list from WordPerfect, but it continues to save any future entries.

To test it, I typed in eight entries, then went back to the Registry, it was now saying 'find strings 08 00' - equivalent to the number of entries. Later it reverted back to the default setting of '0a 00'.

MJC, I haven't tried your one yet. But, as stated earlier, I want to set it so that it only permanent retains one entry; similar to RealPlayer: File, Preferences, 'Number of clips to display in the File menu'. But it appears that these settings revert back to default.

I can always remove the list by entering a further ten random entries, so that the previous ones 'disppear' at the bottom, but it's not a permanent solution.

Rick
05-11-2002, 11:19 AM
I don’t know the registry key that controls the History or size of the history in Find and replace

My I suggest If all you want to do is clear the history.
Create a script to remove the Key . and replace it with the zero content key

using an INF file

[Del.Reg]
HKEY_CURRENT_USER\software\corel\wordperfect\8\fin d and replace

The exact syntax or key to remove would be up to you.
Then on another line use the add to change it back to zero

[Add.Reg]
HKEY_CURRENT_USER\software\corel\wordperfect\8\fin d and replace

Or to simply reset the value to 0a 00 or 01 00

david eaton
05-11-2002, 03:07 PM
Second option. Do as I suggested in my first post, and additionally delete the "findstring1" to "findstring9" entries. that way, the program should only have room to store one value, and the numberof findstrings key should not be reset.


David

------------------
If man could be crossed with the cat, it would improve the man, but disimprove the cat.

Mark Twain

mike2002
05-13-2002, 05:43 PM
Rick, This is getting a bit beyond me!! What's an INF file?
David, Yes, I changed the value and, in addition deleted the strings from 1-9,leaving just string 0. I went back to WordPerfect, typed in five entries, and returned to the Registry again. It was displaying five strings - equal to the number typed in! I don't beliveeeeeee it!!
Thanks for all your efforts guys - But I think I'll learn to live with it!!

Mike