Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
WordPerfect
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====Macro languages==== WordPerfect for DOS stood out for its [[Macro (computer science)|macros]], in which sequences of keystrokes, including function codes, were recorded as the user typed them. These macros could then be assigned to any key desired. This enabled any sequence of keystrokes to be recorded, saved, and recalled. Macros could examine system data, make decisions, be chained together, and operate recursively until a defined "stop" condition occurred. This capability provided a powerful way to rearrange data and formatting codes within a document where the same sequence of actions needed to be performed repetitively, e.g., for tabular data. But since keystrokes were recorded, changes in the function of certain keys as the program evolved would mean that macros from one DOS version of WordPerfect would not necessarily run correctly on another version. Editing of macros was difficult until the introduction of a macro editor in Shell, in which a separate file for each WordPerfect product with macros enabled the screen display of the function codes used in the macros for that product. [[Image:Compaq Portable and Wordperfect.JPG|thumb|left|WordPerfect 5.0 for DOS running on a Compaq Portable home computer, 1988]] WordPerfect DOS macros,<ref>{{cite news |newspaper = [[The New York Times]] |url = https://www.nytimes.com/1990/07/03/science/peripherals-wordperfect-offspring.html |title = WordPerfect Offspring |first = L. R. |last = Shannon |date = July 3, 1990 }}</ref> which assumed a text-based screen, with fixed locations on the screen, could not, or could not easily, be implemented with the Windows WYSIWYG screen and mouse. For example, "go down four lines" has a clear meaning on a DOS screen, but no definite meaning with a Windows screen. WordPerfect lacked a way to meaningfully record mouse movements. A new and even more powerful interpreted token-based macro recording and scripting language came with both DOS and Windows 6.0 versions, and that became the basis of the language named PerfectScript in later versions. PerfectScript has remained the mainstay scripting language for WordPerfect users ever since. It dealt with functions rather than with keystrokes. There was no way to import DOS macros, and users who had created extensive macro libraries were forced to continue using WordPerfect 5.1, or to rewrite all the macros from scratch using the new programming language. An important property of WordPerfect macros is that they are not embedded in a document. As a result, WordPerfect is not prone to [[macro virus (computing)|macro viruses]] or [[malware]], unlike MS Word. Despite the term "macro", the language has hundreds of commands and functions and in fact creates full-fledged programs resident on and executed on the user's computer. In WPDOS 6 the source code is generated using the same interface used to edit documents. A WordPerfect macro can create or modify a document or perform tasks like displaying results of a calculation such as taking a date input, adding a specific number of days and displaying the new date in a dialog box. Documents created or edited by a WordPerfect macro are no different from those produced by manual input; the macros simply improve efficiency or automate repetitive tasks and also enabled creating content-rich document types, which would hardly be feasible manually. The PerfectScript macro language shows especial versatility in its ability to deploy every function that exists in the entire office suite, no matter whether that function was designed for WordPerfect, Quattro Pro or Presentations. The macro development wizard presents and explains all of these functions. The number of functions available through PerfectScript is unparalleled in the office market.{{Citation needed|date=February 2012}} On top of the functions available in the main components of the office suite, PerfectScript also provides the user with tools to build dialogs and forms. Widgets like buttons, input fields, drop-down lists and labels are easily combined to build user-friendly interfaces for custom office applications. An example: a Dutch housing company (VZOS, Den Haag, several thousands of apartments) had its mutation administration build with WordPerfect.{{citation needed|date=May 2016}} Beginning with WordPerfect Office 10, the suite also included the Microsoft Office [[Visual Basic]] macro language as an alternative, meant to improve compatibility of the suite with Microsoft Office documents. Macros may be used to create data-entry programs which enter information directly into WordPerfect documents, saving the time and effort required to retype it.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
WordPerfect
(section)
Add topic