Jump to content
Macro Express Forums

Inserting blank line in code


Recommended Posts

A comment without text is a blank line.

// ----------------------------------------------------------
//   Initialization
// ----------------------------------------------------------
Variable Set From Misc:  "Name of Current Macro" into %MacroName%
Variable Set String %T[1]% to ""
Variable Set String %T[2]% to "You indicated that you are running Windows "
Get OS Version String: %T[5]%
 
// --------------------------------------------------------
//   Display Introduction and Instructions
// --------------------------------------------------------
Variable Set Integer %Left% to 0 // Unused

 

Link to comment
Share on other sites

Thanks for the explanation

 

I would like to do some thing like the above explantation.

// --------------------------------------------------------
//   Display Introduction and Instructions
// --------------------------------------------------------

 

I was able to use the comment section on the right but it puts the comment after the command, I was unable to insert a comment in a line with out code attached. 

 

Thanks

 

James

Link to comment
Share on other sites

On the right edge of the Script Editor, near the top, there are four small buttons. The top two are

 

"Move command up" and

"Move command down."

 

To change the order of commands in the script, select a line (or more) and then click the button to perform the action you want.

In addition, the are keyboard shortcuts to move lines up and down:

 

Ctrl + Arrow Up

Ctrl + Arrow Down

 

I have a hazy recollection that on a computer I once used, I had to include the Shift key as part of these shortcuts:

 

Shift + Ctrl + Arrow Up

Shift + Ctrl + Arrow Down

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...