![]() If you want to indent multiple lines, you can also select the text and press the Tab key. ![]() You can indent your statements by selecting the text and choosing Edit > Format > Indent. Use indentation to reflect the logical structure and nesting of your statements. You can remove the comments from a selected block or line of text by choosing Edit > Format > Uncomment. You can remove comments from your statements by deleting the apostrophe ('), either at the beginning of a separate line, or at the end of a statement. ![]() Each line in the block is preceded by an apostrophe. You can comment a selected block of text by choosing Edit > Format > Comment. You can add comments to your statements by adding an apostrophe ('), either at the beginning of a separate line, or at the end of a statement. For details, see Comments.Īdding Comments. This improves readability and makes your scripts easier to maintain and update. Use comments to explain sections of an action, a scripted component, or a function library. When working with actions, scripted components, or function libraries in the Editor, it is important to follow accepted VBScript practices for comments and indentation. Note: If you don’t see this menu, your file is probably set to be Rich Text (RTF).Relevant for: GUI actions, scripted GUI components, and function libraries When saving a file ( File : Save), make sure the Plain Text Encoding menu is set to Unicode (UTF-8) or whatever encoding you want.The formatting options will disappear and the text will likely change appearance. To convert your file to true plain text (.txt), go to the Format menu and select Make Plain Text. Text Edit saves as RTF (Rich Text) by default and includes formatting and font options.Text Edit, the free text editor on the Mac, saves in Unicode by default, but to ensure that you are saving a Unicode. In the Encoding menu, change the value from ANSI to UTF-8 or other appropriate Unicode value.Go to the File then Save or Save As… menu.Notepad, the free text editor on Windows, saves in ANSI Latin encoding by default. Switch your keyboards to the appropriate script or input appropriate symbol codes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |