Page 1 of 1

[Solved] How to change the author

Posted: Thu Dec 13, 2007 6:48 pm
by tehforum
Hi there Openoffice.org community!

I have joined this forum in order to ask for some help.

here it goes

I need to change the author of a certain document.

You see when you go into a 'my Documents' window and you mouse over the document it displays the author, and I need the author changed for reasons.

P.S - I use windows xp sp2.

I appreciate any help

Thank you.

Re: How to change the author.

Posted: Thu Dec 13, 2007 8:14 pm
by acknak
The document author is set from the information under Tools > Options > OO.org > User Data, which you can change to whatever you want.

When you start a new document, the author name is copied from there. After that, I don't think there is any way to change it.

You can always start a new document, then copy/paste an existing document into that.

Re: How to change the author.

Posted: Sat Dec 15, 2007 11:39 pm
by h1h
File -- Properties --- delete user data

uncheck user data and/or click delete.

Re: How to change the author.

Posted: Sun Mar 22, 2015 8:45 pm
by mogin12
I need the same help. My user data is blank but the file I want to change the author for still shows a name.

Re: How to change the author.

Posted: Sun Mar 22, 2015 8:49 pm
by RoryOF
Put a name in user data.

Re: How to change the author.

Posted: Sun Mar 22, 2015 8:51 pm
by mogin12
Still shows old name when I select "get info" for that file.

Re: How to change the author.

Posted: Sun Mar 22, 2015 8:53 pm
by RoryOF
A quick and dirty way. Start a blank file with the correct author, then /File /insert and insert the other file.

Re: How to change the author.

Posted: Sun Mar 22, 2015 9:00 pm
by mogin12
I did that and the new name is there now, but it has messed up all my formatting.
Way too much work to do.

Re: How to change the author.

Posted: Sun Mar 22, 2015 9:06 pm
by Zizi64
or you can use a simple macro for changing the name of the author:

Code: Select all

Sub Change_Author
     sAuthorName = InputBox("Please enter name of author:", "Dear User")
     ThisComponent.getDocumentProperties().Author = sAuthorName
End Sub

Re: How to change the author.

Posted: Sun Mar 22, 2015 9:07 pm
by mogin12
I have no knowledge at all about macros. So what do I do with that text?

Re: How to change the author.

Posted: Sun Mar 22, 2015 9:10 pm
by Zizi64
How to istall code snippets:
viewtopic.php?f=74&t=5519&p=46551

Re: How to change the author.

Posted: Sun Mar 22, 2015 9:13 pm
by mogin12
This seems to be a lot of work for something so simple.

Re: How to change the author.

Posted: Sun Mar 22, 2015 9:19 pm
by mogin12
OK. I've followed the instructions you gave me and it worked.
I need to mention that running the macro using the "To run the code" steps, crashed OO and more than once. The "Or better" steps worked fine.

Thank you for helping me.

Re: How to change the author.

Posted: Sun Mar 22, 2015 9:24 pm
by Zizi64
This seems to be a lot of work for something so simple.
When you have knowledge then this task requires a half minute only...
I suggest, study the API (Application Programming Interface), and built in Starbasic IDE (Integrated Developer Environment).

Re: How to change the author.

Posted: Sun Mar 22, 2015 9:29 pm
by mogin12
errrmm..no thanks. I am not technical and have no desire to do such things. I'm just a regular user.
I shouldn't have to learn all the details about how a car works in order to just drive it.
In this day and age, this kind of change should not be so user unfriendly/cumbersome. We are not in the 80s, anymore.

Re: How to change the author.

Posted: Sun Mar 22, 2015 9:35 pm
by acknak
Sorry, I must have missed something.

Set the Tools > Options > OO > User Data ... fields to whatever you want.

Open the document where you want to change the author. Go to File > Properties > General; click "Reset".

Make sure the "Apply user data" option is ON (checked) and when the document is saved it should get the new author name from the user data.

Does that not do what you want?

Re: How to change the author.

Posted: Sun Mar 22, 2015 9:36 pm
by RoryOF
You are not allowed drive a car without a licence. You have to learn the rules of the road, where the specific controls of the car are and how to use them. also how to control the car on the road. In some areas you have to show that you can insert the fuel and change a tire. So you have to learn quite a number of things before you can drive a car legally. A word processor of the complexity of OpenOffice is no different.
.

Re: How to change the author.

Posted: Sun Mar 22, 2015 9:41 pm
by mogin12
acknak wrote:Sorry, I must have missed something.

Set the Tools > Options > OO > User Data ... fields to whatever you want.

Open the document where you want to change the author. Go to File > Properties > General; click "Reset".

Make sure the "Apply user data" option is ON (checked) and when the document is saved it should get the new author name from the user data.

Does that not do what you want?

Now that's what it should be like!
Thanks, yes, it did the trick.

Re: How to change the author.

Posted: Sun Mar 22, 2015 9:46 pm
by mogin12
RoryOF wrote:You are not allowed drive a car without a licence. You have to learn the rules of the road, where the specific controls of the car are and how to use them. also how to control the car on the road. In some areas you have to show that you can insert the fuel and change a tire. So you have to learn quite a number of things before you can drive a car legally. A word processor of the complexity of OpenOffice is no different.
.
I think you are mixing apples and oranges.
What you're talking about in the car analogy is knowing how to drive, not knowing how the car engine works, which was my point.
My comments stand and which I believe are quite reasonable.
I understand that techie people don't always appreciate that most regular/ordinary users aren't going to be like them, can't be and don't need to be like them.

Re: How to change the author.

Posted: Sun Mar 22, 2015 10:01 pm
by Zizi64
I think you are mixing apples and oranges.
What you're talking about in the car analogy is knowing how to drive, not knowing how the car engine works, which was my point.
My comments stand and which I believe are quite reasonable.
I understand that techie people don't always appreciate that regular/ordinary users aren't going to be like them and don't need to be like them.
But you must know how to start engine of the "car", how to shift gears, how to refuel...
The usage of the macros or the menu items are not same to knowing how the car engine works, but more analogous to driving the car. And it not too bad to know which type of engine, which power has your car...

Re: How to change the author.

Posted: Sun Mar 22, 2015 10:17 pm
by mogin12
Zizi64 wrote:But you must know how to start engine of the "car", how to shift gears, how to refuel...
The usage of the macros or the menu items are not same to knowing how the car engine works, but more analogous to driving the car. And it not too bad to know which type of engine, which power has your car...
Those things are thing to do with driving, not the workings of the engine. A person wishing to drive a car needs to know those things for the basic functioning/operation of the vehicle. It is completely unnecessary to know the workings of the engine, etc., simply be able to drive.
Macros/programming are not required for basic usage of this software and many/all others.
If I require the software to do more complex things, I will then have to go further than my current knowledge and then I can choose that or get someone else to do it if I can't/don't want to.
I know you and the Mod are trying to make your argument legitimate, but you won't be able to, because it isn't.

This will be my last comment on this subject and I will not be returning to this thread.

Re: How to change the author.

Posted: Sun Mar 22, 2015 10:26 pm
by Zizi64
Macros/programming are not required for basic usage of this software.
To make a macro, it do not mean that you programming the Office Suite, but it means you automatize only your job by macros. You only use a tool, a device.

You can programming (use) your digital TV receiver because you have studied the description, you can programming (use) your digital washing machine, etc...
But you do not want to get knowledge about usage of your office suite. Why you want use it?

Re: [Solved] How to change the author

Posted: Thu Apr 30, 2015 8:03 pm
by Villeroy
Extract the document (yes, it's a zip archive).
Edit

Code: Select all

<meta:initial-creator>Your name here</meta:initial-creator>
and repackage.

Re: How to change the author.

Posted: Sun Jan 06, 2019 6:39 am
by victusinambitus
mogin12 wrote:
acknak wrote:Sorry, I must have missed something.

Set the Tools > Options > OO > User Data ... fields to whatever you want.

Open the document where you want to change the author. Go to File > Properties > General; click "Reset".

Make sure the "Apply user data" option is ON (checked) and when the document is saved it should get the new author name from the user data.

Does that not do what you want?

Now that's what it should be like!
Thanks, yes, it did the trick.
And for me too - an easy two step operation when you know how:
1. Change the User Data in Tools/Options
2. Reset in File/Properties [making sure that the "Apply User Data" checkbox is checked]
Done!
No need to scripts or alternatives!

Re: [Solved] How to change the author

Posted: Sun Jan 06, 2019 4:42 pm
by Lupp
1. Changing the user data will afflict all the subsequently created and edited files if "Apply User Data" is enabled.
2. Resetting the document properties will clear all the information about dates and versions. (Fake "new" document)
victusinambitius wrote:No need to scripts or alternatives!
except there is need due to different expectations.