The title bar is displayed at the top of the application screen. The title bar displays the PackageFile Editor icon, the name of the application (PackageFile Editor), and the name of the open file. The menu bar is displayed at the top of the application screen immediately below the title bar. The menu bar lists the menus available within the PackageFile Editor application, including the File, Edit, and Help menus. Below the menu bar, the toolbar displays the tool buttons associated with the PackageFile editor. On the left side of the application window, the Explorer window lists the components of the package file. The Workspace is located in the center of the application and is used to display the contents of the currently selected component.
Menus
File Menu
Commands | Shortcut | Function |
New | Ctrl+N | Creates a new PackageFile Editor (i.e., *.epk3) file. |
Open | Ctrl+O | Opens the selected file using the PackageFile Editor. Only one file may be opened at a time. |
Save | Ctrl+S | Saves the current PackageFile Editor (*.epk3) file. |
Save As | F12 | Opens a prompt for specification of a filename and save location. |
Exit | Alt+F4 | Closes the PackageFile Editor application. |
Edit Menu
Commands
Shortcut
Function
Undo
Ctrl+Z
Erase most recent command
Redo
Ctrl+Y
Recreates the previous command
Cut
Ctrl+X
Cancel
Copy
Ctrl+C
Copy
Paste
Ctrl+V
Paste
Insert Reference
Ctrl+E
Add a reference
Insert Routine
Ctrl+R
Add a routine
Edit Name
F2
Edit name
Delete
Del
Delete
Find and Replace (within Edit Menu)
Commands | Shortcut | Function |
Find | Ctrl+F | Search |
Replace | Ctrl+H | Search and replace |
Mark | Ctrl+M | Visually indicate positive search result |
Clear Marked | Ctrl+Shift+M | Erase marked results |
Help Menu
Commands | Shortcut | Function |
About | Information about PackageFile Editor |
Toolbar
The toolbar is located at the top of the application display, below the menu bar. The toolbar includes shortcuts to frequently used functions in the PackageFile Editor, such as creating a new file (.epk3), opening an existing file, or saving the current file.
Tool Button | Description |
New | Opens a new PackageFile Editor file. |
Open | Displays the Open dialog to navigate to an existing .epk3 file. |
Save | Saves the open .epk3 file. All .epk3 files must be saved in a valid location as specified under PackageFile Search Folders in the Packages options within E-Studio. |
Insert References | Allows the user to insert a reference to another .epk3 file. |
Insert Routine | Allows the user to insert a new Routine. |
Delete Routine | Deletes the currently selected Routine. |
Auto Format | Initiates the Auto Format command for the script entered into the active window. |
Explorer Window
The Explorer window displays the components associated with the currently opened *.epk3 file. Each component can be selected with the mouse to display its contents in the Workspace. The References and Routines components can be expanded if a reference or a routine exists in the package file. When a reference or a routine is added, the associated component will be expanded by default. A component can be expanded by clicking the "+" next to the component and collapsed by clicking the "-" next to the component.
Component Name | Description |
Package | Displays the general properties of the .epk3 file itself in the Workspace, including the name, prefix, and version number. |
Declare | Displays a window in the Workspace used to enter DLL calls that will be associated with the .epk3 file when used in E-Prime. |
GlobalVariables | Displays a window in the Workspace used to declare global variables, constants, and user types that will be used by the routines in the *.epk3 file. |
InitGlobals | Displays a window in the Workspace used to enter script that will run prior to any startup info prompts, and prior to the initialization of devices and objects. This component is only for assigning variables like x = 5 and Attributes. It is not to be used to call functions, or performing other operations. |
UnInitGlobals | Displays a window in the Workspace used to enter executable script that will run at the end of the experiment to release any references created in InitGlobals. |
InitPackages | Displays a window in the Workspace used to enter executable script that will run after devices have been initialized but before objects are initialized. |
UnInitPackages | Displays a window in the Workspace used to enter executable script that will run at the end of the experiment to release any references created in InitPackages. |
References | Any *.epk3 files that are referenced by the currently opened PackageEditor File will be listed under the References component. |
Routines | Any routines that are associated with the currently opened PackageEditor File will be listed under the Routines component. |
Workspace
The Workspace displays the contents of the component currently selected in the Explorer window. Some components consist of only a script window while others include more extensive contents, such as property fields and version number specifications. Individual Routine components also include tabs to separate the various aspects of each Routine.
Next Article: PACKAGEFILE: Package Component [22894]
Comments
0 comments
Please sign in to leave a comment.