-2

UPDATE- This problem occurs when the doc/docx file is open over on a network drive/share, with windows file sharing.

Is there a way that microsoft word can see that the computer wants to go into sleep mode and SAVE there and then.

e.g. if I or somebody from the welcome screen put the computer into sleep mode(i'd rarely do that but if I did). Or if the battery went low and had to sleep or hibernate, then I want Word to Save immediately before that.

Instead what happens is next time word opens it says it's has recovered files and it shows me autosaved ones which differ from the original. I have an option to save the recovered one, though I want to compare the two files as i'm not sure which is later and the differences. I don't know if I can easily just check the times straight away, but this time when it happened I wanted to compare the two. I chose the option to Save the recovered files, and instead of just saving, a SaveAs dialog box came up, which made me wonder if the autosaved one was older. 'cos if the autosaved one was newer it should've given me the option to just damn well save it. I combined the two files. Which was a hassle. I saved the autosaved one with SaveAs and the default puts the text AutoSave in the filename after. Then I compared the two word documents manually, made them the same, making each have what the other hand, and deleted the autosaved one. There would've been some duplication of text in the document doing that. I miht check the dates next time if it lets me.

Ideal is if Ms Word didn't wet itself when the computer went into sleep mode, if Word could just save the files and not bother me with a list of files it 'recovered'.

Is there any way to get it to do that?

This is Ms Word 2013!!!! So not exactly old software

ADDED

I have continued to get the error. Here is a picture from Win7 and Ms Word 2013. (I think this one I saved again as a new file and merged with the original where necessary).

enter image description here

I do have a network connection when I see this message.

I don't get this problem when the file is local.

barlop
  • 25,198

1 Answers1

2

From:

Is there any way to execute something when closing the laptop's lid?

Which references:

a technet answer

1 Input “Task Scheduler” in search box and press Enter

2 Click “Create task…” on the Task Scheduler---Action

3 Go to Triggers, create new triggers

4 On “Begin the task”, select “On an event”

5 Select Log to “system” , set “Source” to “Kernel-Power” , Event ID is “42” and click “Ok”

6 Go to “Actions” and create a new actions

7 You can select “Start a program”, “Send an e-mail” and “Display a message” on action as you need. If you want to mute sound, a script may be needed.

[...]

8 Save the task scheduler

  1. On conditions tab, check the box “Wake the computer to run this task”. Click OK.

Thus, when you close laptop lid, you PC will go to sleep mode, and sleep mode trigger the task scheduler.

You can (in theory) make a macro for word which saves all documents, and have your task call it using vbscript or via a batch file (etc). Probably a good idea to work in a check for whther word is running so as not to launch word to save files that aren't being worked on.

horatio
  • 3,719