HomeVisionXL action editing

Multi-line copy/paste

Many HomeVision users have been asking for the posibility to perform multi-line copy/paste operations. HomeVisionXL provides this feature. The user can select multiple lines in the action editor and if the selection is a consistent piece of the code, it will be possible to cut/copy/delete that piece of code. A consistent piece of code is a sequence of code lines that contain neither or all parts of a matching set of If/Then/EndIf, If/Then/Else/EndIf and/or Wait/EndWait commands.

Multi-line copy screen shot

Conversion of If-Then to If-Then-Else and vice versa

Sometimes it may be desirable to add an else clause to an existing If/Then/EndIf command. With the multi-line copy facility it is already quite easy to just copy the condition part and the then-part to a new If/Then/Else/EndIf template, but there is an even easier way. The context menu that pops up when you click the right mouse button on the If command will show the appropriate option to "Convert to If-Then-Else-EndIf" or "Convert to If-Then-EndIf". When removing the else clause from an If/Then/Else/EndIf command, any commands in the Else section will be placed after the EndIf code line.

If conversion screen shot

Shortcut to actions of referenced objects

On code lines that reference other objects that may have actions attached, the context menu contains an option to edit those actions.

Action shortcut screen shot

Conversion of a line of code into comment

During action development it can be useful to temporarily disable part of the code. The context menu contains a "Comment out" option to convert a command to a note. This option will convert the command into a note describing the command. The original command is hidden in the note in such a way that it will not be visible. Notes created in this way can later be converted back into the original command. When the text of the note is edited, the hidden command is lost and it will not be possible to convert the note text back to a command again.

Editing multiple actions concurrently

It is possible to open editing windows for different actions at the same time, making it very easy to copy pieces of code from one action to another.

Next: Programming