Page 1 of 1

[Solved] Move all custom autocorrect entries to new computer

Posted: Sun Jun 17, 2018 1:58 am
by doncell6
Running OpenOffice version 4.1.3 on Windows 7 Pro computer.
I purchased a new computer. I have many hundreds of autocorrect entries on my old computer.
How do I move these autocorrect entries to the new computer?

Re: How to move all custom autocorrect entries to new comput

Posted: Sun Jun 17, 2018 2:25 am
by RusselB
I believe all you need to do is to copy your user profile from the old computer to the new one. Easily done with a USB stick.

Re: How to move all custom autocorrect entries to new comput

Posted: Sun Jun 17, 2018 3:52 am
by robleyd
If you only want the auto-correct entries you can copy part of your profile. See [Tutorial]The OpenOffice User Profile for more information on what is stored where in your profile.

Note that the profile is OS independent; so if you move from say Windows to Mac you can still copy the profile, or part thereof, across.

Re: How to move all custom autocorrect entries to new comput

Posted: Sun Jun 17, 2018 10:10 am
by John_Ha
1. Update AOO on the old PC
2. Install AOO on the new PC
3. Move the entire profile C:\Users\xxxxxx\AppData\Roaming\OpenOffice\4\user to the new PC.

AOO is now identical on both PCs.

Showing that a problem has been solved helps others searching so, if your problem is now solved, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.

Re: How to move all custom autocorrect entries to new computer

Posted: Wed Dec 14, 2022 3:22 am
by Yowoth
Hello, lady and gentleman,

I have done alot of autocorrect Words or Phrase by my own. I want to know how it is moved to new laptops or computer.

Please help me,

thank u so much

Yowoth

Re: How to move all custom autocorrect entries to new computer

Posted: Wed Dec 14, 2022 3:45 am
by John_Ha
1. Read robleyd's post.

2. Copy C:\Users\xxxxxx\AppData\Roaming\OpenOffice\4\user\autocorr\*.* to your new PC where xxxxxx is the name you have given yourself on the old PC. It is a hidden file.

Re: How to move all custom autocorrect entries to new computer

Posted: Wed Dec 14, 2022 8:59 am
by Hagar Delest
Yowoth wrote: Wed Dec 14, 2022 3:22 am Please help me,
What have you not understood in the instructions provided in that old but still relevant topic?
We can repeat again and again the same instructions but what is the point?

Re: How to move all custom autocorrect entries to new computer

Posted: Wed Dec 14, 2022 9:49 am
by LastUnicorn
Well if you have the time and the inclination you can try a different approach to AutoCorrect by using AutoHotkey. Overview can be read here: A better autocorrect is really needed

Re: How to move all custom autocorrect entries to new computer

Posted: Wed Dec 14, 2022 1:38 pm
by JeJe
LastUnicorn - there is (almost) complete control over mouse and keystrokes in OO with macros which use a Keyhandler or Mousehandler - cross OS and without an external application.

Re: How to move all custom autocorrect entries to new computer

Posted: Wed Dec 14, 2022 2:22 pm
by LastUnicorn
JeJe wrote: Wed Dec 14, 2022 1:38 pm LastUnicorn - there is (almost) complete control over mouse and keystrokes in OO with macros which use a Keyhandler or Mousehandler - cross OS and without an external application.
Well that is fair enough, though I wouldn't know how to do that myself, but it does sound like a very steep learning-curve. Learning to write macros is not simple, adding a autocorrect pair of words to an AutoHotkey AutoCorrect script is trivial in comparison.

My suggestion for AutoHotkey in Windows systems is that then the AutoCorrect functionality works across multiple applications and all from one easy to edit AutoCorrect file and one (admittedly external) program. Works well for me. I get AutoCorrect functionality in, for example, Firefox, Notepad and WordPad neither of which have AutoCorrect functionality built-in. And into the bargain AutoHotkey doesn't interfere with the native AutoCorrect in OpenOffice or LibreOffice. If a word to AutoCorrect is in, say, LibreOffice and also in the AutoHotkey AutoCorrect file the word gets corrected without issues. Likewise, if the word is in the AutoHotkey file and not in, say, LibreOffice's native AutoCorrect, then the word still gets corrected in LibreOffice. So I guess I think AutoHotkey is a good on balance solution to AutoCorrect woes — one file to maintain for multiple applications. That's a 'win win' to me.

Re: How to move all custom autocorrect entries to new computer

Posted: Wed Dec 14, 2022 3:02 pm
by JeJe
There's not much to a keyhandler. If you run sStartXKeyHandler below then whenever you type the capital A afterwards it will insert Anteater in the document. Very simple code.

I started off with programs like AutoHotkey before graduating to macros. There's more flexibility - if the paragraph style for example is a character heading in a screenplay then the A keypress might be used to suggest the character name Angela... but with other styles just insert the A.

Each to their own - I can see the cross application benefits for you.

Code: Select all

sub sStartXKeyHandler
	oXKeyHandler = CreateUnoListener("KeyHandler_", "com.sun.star.awt.XKeyHandler")
	thiscomponent.CurrentController.AddKeyHandler(oXKeyHandler)
end sub

sub KeyHandler_Disposing(oEvent)
end sub

function KeyHandler_KeyPressed(ev) as boolean
if ev.keychar = "A" then
	thiscomponent.currentcontroller.viewcursor.string ="Anteater"
	KeyHandler_KeyPressed=true
else
	KeyHandler_KeyPressed=false
end if
End function

function KeyHandler_KeyReleased(oEvent) as boolean
end function