Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Basic control of script editor

The script editor is a specialized text editor with script entry support, as a color highlight of the code nad the PmAutocomplete - Automatic text completion function for automatic text completion.
 
Key shortcuts for moving the cursor:

Note: If you move the cursor by the key shortcut together with the Shift key, then the cursor moves and the text is marked at the same time.

- <left key>: cursor one char left
- <right key>: cursor one char right
- <up key>: cursor one line up
- <down key>: cursor one line down
- <Home>: cursor at the beginning of line
- <End>: cursor at the end of line
- <PageUp>: cursor one page back
- <PageDown>: cursor one page forward
- <Ctrl-Left>: cursor one word back
- <Ctrl-Right>: cursor one word forward
- <Ctrl-Home>: cursor at the beginning of page
- <Ctrl-End>: cursor at the end of page
- <Ctrl-PageUp>: cursor at the beginning of the whole script
- <Ctrl-PageDown>: cursor at the end of the whole script
 
Other key shortcuts:
- <Ctrl-W>: Script wizard
- <Ctrl-space>: Activate the PmAutocomplete - Automatic text completion function
- <Ctrl-S>: (Save) Save the current script
- <Ctrl-F>: (Find) Finds the appearance(s) of selected or entered text
- <Ctrl-H> or <Ctrl-R>: (Replace) Replaces the found text with another
- <Ctrl-Z> or <Ctrl-Backspace>: (Undo) Undo the last edit action
- <Ctrl-Y>: (Redo) Redo the edit action cancelled by Undo
- <F1>: Shows the help
- <F3>: Find the next occurrence of the last searched text (without the search window)
- <F11>: Display fullscreen editor
- <Ctrl-C> or <Ctrl-Ins>: Copies the selected text into the clipboard
- <Ctrl-V> or <Shift-Ins>: Pastes the text from clipboard to the selected position
- <Ctrl-X>: Cuts the selected text and puts it into the clipboard
- <Ctrl-P>: Print the script with printer selection window
- <Tab>: Shifts the selected block to the right
- <Shift-Tab>: Shifts the selected block to the left
- <Ctrl-[+]>: Increase the size of editor font
- <Ctrl-[-]>: Decrease the size of editor font
- <Esc>: If the editor runs in fullscreen mode then it is switched into normal mode.
 
Shortcuts for mouse:
- <Ctrl-mouse wheel>: Increase or decrease the size of editor font
- <mouse doubleclick>: Select the whole word under the cursor position
 
Script editor local menu:
- Script wizard ... (Ctrl+W): Script wizard
- Canvas editor ... (Ctrl+L, Ctrl+E): Opens graphic editor of the PmiCanvas object.

- Test script (Ctrl+L, Ctrl+T): Runs the script syntax check (i.e. it checks the algorithm written in this editor). It will run only the basic check of the VBScript syntax. This test is not checking the existence of objects, methods, properties, variables, etc.

- Comment block (Ctrl+L, Ctrl+C): Comment char is inserted at the beginning of each marked line of the block. See VBScript Rem statement.
- Uncomment block (Ctrl+L, Ctrl+U): Comment char is removed from the beginning of each marked line of the block (if there is no comment char, nothing happens)
- Increase block indent (Tab): Shifts the selected block to the right
- Decrease block indent (Shift+Tab): Shifts the selected block to the left

- Find ... (Ctrl+F): Finds the appearance(s) of selected or entered text
- Replace ... (Ctrl+R): Replaces the found text with another

- Cut (Ctrl+X): Cuts the selected text and puts it into the clipboard
- Copy (Ctrl+C): Copies the selected text into the clipboard
- Paste (Ctrl+V): Pastes the text from clipboard to the selected position

- Undo (Ctrl+Z): Undo the last edit action
- Redo (Ctrl+Y): Redo the edit action cancelled by Undo

- Turn on full screen mode (F11): Display fullscreen editor
- Print ... (Ctrl+P): Print the script with printer selection window

- Help: Shows the help

- Script editor settings ...: Script editor settings
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice