Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate

Barry MacDonnell's
Toolbox for WordPerfect
 

Macros, tips, and templates for Corel® WordPerfect® for Windows®
© Copyright 1996-2017 by Barry MacDonnell. All Rights Reserved.

Page updated Mar 15, 2010

MakeReadOnly - Changes the currently open document to a Read Only file

Download MAKEREADONLY.ZIP (v1.0; 03/15/10; 5,805 bytes)

Written in WordPerfect X4 and probably compatible with earlier and later versions

WordPerfect 11 users: See important information about using macros in the first release of WP11 (11.0.0.233) at the top of this page.

Downloading, Documentation, Modifications, and Support

Purpose

Makes the currently open (on screen) document Read Only by changing the Windows file attribute.

If the document is new (thus, unnamed), you will be asked to name it and save it so that it can be marked as Read Only. (Note that if it is already saved to disk and it is already Read Only, no harm is done.)

You can remove the Read Only attribute in Windows Explorer or the WordPerfect File Open window by right-clicking on the filename, choosing Properties, and un-ticking the Read Only box.

Modifications

See the redlined User Modification Area in the macro code to enable or disable various pop up messages.