Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate |
![]() Toolbox for WordPerfect |
||
Macros, tips, and
templates for Corel® WordPerfect® for Windows® |
Page updated Feb 20, 2020 |
|
MakeReadOnly - Changes the currently open document to a Read Only file | ||
|
Purpose Makes the currently open (on screen) document Read Only by changing the Windows file attribute. • If the document is new (thus, not yet named) the macro will ask you to name it and save it so that it can be marked as Read Only. (Note that if it was already saved to disk as Read Only, no harm is done.) • If the document was opened from the disk, the macro will mark it as Read Only. A Yes/No message will ask for confirmation first. • You can remove the Read Only attribute in Windows Explorer, File Explorer, or the WordPerfect File Open window by right-clicking on the filename, choosing Properties, and then 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. See the
"...Modifications..." link in the left column if you need help with
this. |
|