Use these links to navigate the FAQ:

How much does PPT2HTMLBatch cost?

Can I run PPT2HTMLBatch on my server?

All about PPT2HTML index page


Microsoft MVP Logo

PPT2HTMLBatch stops processing when it encounters a password protected file

When PPT opens a password-protected file, it displays a dialog box asking for the password.

And then it waits forever for the user to either type a password or to dismiss the dialog box, which completely stops PPT2HTMLBatch and PowerPoint in their tracks.

There's no way to test the file before opening it, so PPT2HTML can't simply skip password protected files and move along.

Until now, this has been a problem if you want to run PPT2HTMLBatch unattended to process PPT files as they arrive. One password protected file could stop the whole processing run.

We're now distributing a small program called WindowWatch along with PPT2HTMLBatch.

If WindowWatch.EXE is in your PPTools folder, PPT2HTML launches it just before attempting to open each PPT file in a batch.
It tells WindowWatch to hang around for fifteen seconds, look every 1/4 second for PowerPoint's Password dialog box and, if it appears, dismiss it by sending it an ESC keystroke.

When a user or WindowWatch dismisses the Password dialog this way, it triggers an error that PPT2HTMLBatch can trap, report and move past, without interrupting its processing of files.

If the Password dialog box never appears, WindowWatch quits after fifteen seconds.

Modifying WindowWatch's behavior

To change the way WindowWatch works, open your PPTools.INI file and look for the [PPT2HTML] section.

Under that, look for the line:


If it's not there, add it (copy and paste from this page is the simplest/most accurate way to do that)

What's it mean? This is the command line that PPT2HTMLBatch will send to WindowWatch when launching it.
WindowWatch divides the line at the ! (exclamation points) and turns it into three or more parameters, in order:

Why change anything?

Normally you won't need to, but

To learn more about specific key sequences you can use here, start PowerPoint, start a new presentation if PowerPoint doesn't start one for you automatically, press Alt+F11 to launch the VBA editor, then use its Help feature to search for "Sendkeys".

What can't it do?

What if I don't want or need WindowWatch?

You can disable WindowWatch completely by moving WindowWatch.EXE out of the PPTools folder or by renaming it.

[Previous] [Home] [Next]