[Solved] Move all custom autocorrect entries to new computer

Discuss the word processor
Post Reply
doncell6
Posts: 73
Joined: Wed Jul 24, 2013 6:26 am

[Solved] Move all custom autocorrect entries to new computer

Post 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?
Last edited by Hagar Delest on Mon Feb 27, 2023 11:36 am, edited 1 time in total.
Reason: tagged solved
Version 4.3.7.2 on Windows 7 Pro
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

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

Post 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.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
User avatar
robleyd
Moderator
Posts: 5082
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

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

Post 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.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Post 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.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Yowoth
Posts: 1
Joined: Wed Dec 14, 2022 3:12 am

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

Post 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
OpenOffice 4.1.13
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Post 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.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
User avatar
Hagar Delest
Moderator
Posts: 32657
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

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

Post 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?
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
User avatar
LastUnicorn
Posts: 554
Joined: Sat Mar 29, 2008 2:41 am
Location: Scotland

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

Post 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
Windows 10 Pro. x64
LibreOffice (Still) 7.6.5.2 (x64) Fully installed to system
LibreOffice (Still) Portable 7.6.5.2 (x86) [PortableApps]
JeJe
Volunteer
Posts: 2779
Joined: Wed Mar 09, 2016 2:40 pm

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

Post 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.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
User avatar
LastUnicorn
Posts: 554
Joined: Sat Mar 29, 2008 2:41 am
Location: Scotland

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

Post 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.
Windows 10 Pro. x64
LibreOffice (Still) 7.6.5.2 (x64) Fully installed to system
LibreOffice (Still) Portable 7.6.5.2 (x86) [PortableApps]
JeJe
Volunteer
Posts: 2779
Joined: Wed Mar 09, 2016 2:40 pm

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

Post 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

Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Post Reply