Text replacement is not automatic and you press a hotkey after typing the abbreviated word to expand it, the default is Shift+Space but can be changed. ProKeys also has an auto character pair insert option (if you type a left bracket it will add a right bracket and place the cursor in between them) and an exclusion list where specific websites. Rocket Typing is an easy-to-use Text Expander Software which can save you countless keystrokes with customized abbreviations for your frequently-used phrases. Manage your snippets library with innovative and easy-to-use user interface.-Save countless keystrokes-Answer business emails in a snap.

The Tabbed MAXScript Editor introduced in 3ds Max 2008 lets you define and use abbreviations of common used words to speed up the typing of scripting code.

Copy

Defining Abbreviations

The abbreviations are defined in a file called MXS_Editor_Abbrev.properties which is empty by default after a fresh installation of 3ds Max and is located in the 3ds Max root directory, but can be easily accessed and edited using the Tools >Open Abbreviations.properties Editor Menu option.

An abbreviation is defined in the form

The abbreviation names can contain any characters (except control chars lile r or n), including high ASCII characters (accented characters). Abbreviation names cannot start with #, space or tab (but can contain spaces inside the name) and cannot contain the '=' character inside. Abbreviations names are limited to 32 characters.

The expanded form may contain new line characters indicated by 'n' and a caret position indicated by the ' ' character. To include a literal ' ' character, use ' '. When expanding, the names don't need to be separated from the previous text. For example, if you define 'é' as 'é', you can expand it inside a word. If a name is the ending of another one, only the shorter will ever be expanded. For example if you define 'ring' and 'gathering', the later will see only the 'ring' part expanded.

You can define abbreviation definitions for any word, special character or expression that you find yourself typing in too often or is too long to remember.

FOR EXAMPLE,

The following are some possible abbreviations for accelerating GUI creation:

After defining the abbreviations, press Ctrl+S to save the MXS_Editor_Abbrev.properties file to disk.

Using the Expand Abbreviation Feature

Press Ctrl+Nto open a new Untitled script in a new tab.In the new script, enter

While the cursor is still at the end of the abbreviation, press Ctrl+SHIFT+A. The abbreviation will immediately turn into

Using the Insert Abbreviation Feature

Alternatively, position the cursor at the desired location in the editor and press Ctrl+SHIFT+R to open a small dialog listing all defined abbreviations.

Either select an entry from the list or type in an existing abbreviation and press the Insert button to add the expanded word to your code.

Rocket Typist 1 3 – Expand Typed Abbreviations Copy

Using the Abbreviation Feature To Write Code Fragments

Since the expanded version can contain new line characters, it is possible to define abbreviations that contain prototype code and even full functions you need often to be inserted into your code.

FOR EXAMPLE,

You can define the following for loop prototype code as abbreviation in the file MXS_Editor_Abbrev.properties

After defining the abbreviations, press Ctrl+Sto save the MXS_Editor_Abbrev.properties file to disk.

If can now type in a script file

and after pressing Ctrl+SHIFT+A, the following code would appear:

Now you could customize this prototype code by modifying the from and to values, entering a valid while condition in place of true and writing some code into the body of the for loop, but it would have saved you some typing.

Rocket Typist 1 3 – Expand Typed Abbreviations Worksheets


Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

Rocket Typist 1 3 – Expand Typed Abbreviations Words

Expand

Rocket Typist 1 3 – Expand Typed Abbreviations Letters