ScriptPro Editor This topic is for use by scriptwriters who are using ScriptPro Editor to create custom scripts for their agencies. Agents can go to Using ScriptPro Scripts for more information about using custom or standard scripts within Travelport Smartpoint. |
ScriptPro Quick Reference
ScriptPro Editor menu
Menu Item |
Hot Key |
Action |
---|---|---|
File |
-- |
File menu. |
New File Dialog List |
-- <Ctrl-N> <Ctrl-D> <Ctrl-L> |
Create a new script file. Create a new dialog box. Create a new list file. |
Open... |
-- |
Open an existing file. |
Save |
<Ctrl+S> |
Save the file. |
Save As... |
-- |
Save the file with a different name. |
Print... |
<Ctrl+P> |
Print the file. |
Preferences⦠|
-- |
Display optional settings |
Exit |
<Alt+F4> |
Exit the ScriptPro Editor. |
1-4 <filename> |
-- |
Open a previously accessed file from a list of the 4 most recently accessed files. |
Edit |
-- |
Edit menu. |
Undo |
<Ctrl+Z> |
Undo last edit. |
Redo |
<Ctrl+Y> |
Redo last edit. |
Cut |
<Ctrl+X> |
Move marked area to the clipboard. |
Copy |
<Ctrl+C> |
Copy marked area to the clipboard. |
Paste |
<Ctrl+V> |
Paste the clipboard to the document. |
Delete |
<Del> |
Delete the marked text. |
Find... |
<Ctrl+F> |
Find search text. |
Replace... |
<Ctrl+R> |
Search with the option to replace. |
Go To... |
<Ctrl+G> |
Go to specified line number. |
Toggle Results Window |
<Ctrl+R> |
Toggle the results window between show and hide. |
Compile |
-- |
Compile menu. |
Run Compiler |
<Ctrl+K> |
Compiles the script. |
View Errors |
<Ctrl+E> |
Display the errors from the last compiled script. |
Bulk Compiler |
|
Enables bulk compiling of scripts from any source. |
Replay |
Compile menu. |
|
Load Replay File |
Loads the recorded file used to walk through code. |
|
Start Replay |
<F5> |
Move focus to the first breakpoint or step. |
Step Next |
<F10> |
Move focus to the next logical line of code. |
Stop Replay |
<Ctrl+F5> |
Exit the recorded replay file. |
Toggle Breakpoints |
<F9> |
Create a breakpoint on a specific line or toggle to remove the breakpoint. |
Clear Replay State |
Clear all the variable in the Autos window. |
|
Delete All Breakpoints |
Delete all the breakpoints. |
|
Generate Replay Info |
Select to record a replay file. |
|
Help |
-- |
Help menu. |
Contents |
<F1> |
Help system index. |
Get Code Samples |
Download sample files with code example. |
|
About ScriptPro Editor... |
-- |
Displays software version and copyright. |
Script Editor right-click menu
Menu Item |
Hot Key |
Action |
---|---|---|
Cut |
<Ctrl+X> |
Move marked area to the clipboard. |
Copy |
<Ctrl+C> |
Copy marked area to the clipboard. |
Paste |
<Ctrl+V> |
Paste the clipboard to the document. |
Call |
-- |
Open the file that is being Called in a separate tab. Note: This option will only be shown when right clicking on a CALL line of code. |
Chain |
-- |
Open the file that is being Chained in a separate tab. Note: This option will only be shown when right clicking on a CHAIN line of code. |
Dialog |
-- |
Open the Dialog that is being clicked on a separate tab. Note: This option will only be shown when right clicking on a DIALOG line of code. |
Gosub |
-- |
Move the cursor to the associated Sub Routine. Note: This option will only be shown when right clicking on a GOSUB line of code. |
Goto |
-- |
Move the cursor to the associated Goto code. Note: This option will only be shown when right clicking on a GOTO line of code. |
List Dialogs⦠|
-- |
List of dialog boxes currently in the script. |
Transfer Dialog... |
-- |
Create a Dialog Box statement in script and move variables to VARIABLES section of script. Note: This option will transfer the selected Dialog box from a standard Window screen. |
List Variables... |
-- |
List of variables currently in the script. |
List Commands... |
-- |
List of script commands. |
List Screen Commands... |
-- |
List of screen commands. |
Dialog Box right-click menu
Menu Item |
Hot Key |
Action |
---|---|---|
Cut |
<Ctrl+X> |
Copies control to paste buffer and also deletes control. |
Copy |
<Ctrl+C> |
Copies control to paste buffer, retains original control. All characteristics defined for the control in the Control Characteristics Dialog Box, except the variable name, are copied. |
Paste |
<Ctrl+V> |
Pastes control from buffer. |
Delete All |
<Del> |
Deletes all the control in the box. |
Button |
|
Creates a new Button control in the dialog box. The type of button will be set in the properties section. |
Checkbox |
|
Creates a new Checkbox control in the dialog box. |
Edit |
|
Creates a new Edit box control in the dialog box. The type of edit will be set in the properties section. |
Label |
|
Creates a new Label control in the dialog box. This includes Static Text, variables, and images. The type of label will be set in the properties section. |
ListBox |
|
Creates a new Listbox control in the dialog box. This includes ListBox, ValidBox, SingleList, MultiList, and ComboBox. The type of list box will be set in the properties section. |
Test! |
<ALT+T> |
Displays dialog box as it appears in Res Manager. |