The Current Script

Navigation:  Scripts >

The Current Script

Previous pageReturn to chapter overviewNext page

The Current Script refers to the script which appears in the Scripts Editor of the Q++Studio Main Window.

 

At the very left of the Q++Studio Main Window Toolbar, there are 6 buttons corresponding to the most commonly used scripts menus items. Place your mouse over any of these buttons and a tooltip will appear with the button's function.

 

New

To create a new Script, use the Scripts|New menu item, or corresponding shortcut. Make sure you have used the Preferences to set all the default options that you wish to have in newly created scripts.

Open

To open existing Script, use the Scripts|Open menu item, or corresponding shortcut. This brings up the Scripts Explorer.

 

If the Script you wish to open was one of the ones you recently opened, you can also use the MRU Scripts menu (see below).

Open

(recently-used)

Use the Recent Scripts sub-menu of the Scripts Menu, to directly access the most recently used Scripts. The advantage of this method of opening Scripts is that you are presented with all the most recently used scripts together, regardless of the directory where it is located.

Rename

To rename a the Current Script, use the Scripts|Rename menu item, or corresponding shortcut. A dialog appears allowing you to enter a new name.

Copy

(save as)

To make a copy of the Current Script, use the Scripts|Save as menu item, or corresponding shortcut. Select the directory in which you wish to place the script's copy, and type a name in the edit field at the bottom left of the dialog.

Move

To move the current script to a new location, use the Scripts|Move menu item, and then select the destination folder.

Delete

To delete the current script, use the Scripts|Delete menu item, or corresponding shortcut. To delete more than one script, use the Scripts Explorer.

Save

To save changes made to the Current Script since it was opened or last saved, use the Scripts|Save menu item, or corresponding shortcut.

 

The "save" menu item and toolbar button are enabled/disabled to indicate if the current script has been modified.

 

Q++Studio saves the current script automatically before executing it.

 

You usually do not need to save changes to scripts; Q++Studio will prompt you to save changes made when closing a script (unless you have specified, in the Preferences, that Scripts should be saved automatically).

Close

To close the Current Script you can either use the keyboard shortcut F3, or use the SCRIPTS |Close menu item. Q++Studio will ask you if you wish to save any changes that have been made to the current script, if necessary, and unless have specified, in the Preferences, that Scripts should be saved automatically.

 

You do not need to close the current script before opening another. When you open a Script, Q++Studio automatically prompts you to save any changes, and closes the current script before opening a new one.

 

You can also manipulate Scripts, singly or multiply, from within the Scripts Explorer.


Topic 87123 updated on 01-Feb-2019.
Topic URL: https://www.qppstudio.net/webhelp_xe3/index.html?manipulatingscripts.htm