14. ABF Development Example : Application Handling Operations : Define an Operating System Command
 
Share this page                  
Define an Operating System Command
You can give the application user the convenience of typing in only one name to run the application by creating a command with the frame name as part of it. The following command designates "sales" as the name that users can type in to run the Sales Entry Application and Topframe as the start frame.
Windows:
Put the following command in a shortcut called "sales":
full_pathname\sales.exe topframe
After this, users need only select the sales shortcut to run the Sales Entry Application.
You can create shortcuts to allow users to start the application on different frames.
UNIX: Define the alias or shell script name:
alias sales 'full_pathname/sales.exe topframe'
To run the Sales Entry Application at the operating system level, users type sales.
If you defined saleapp as in the previous section, define "sales" as follows:
alias sales 'saleapp topframe'
VMS: To designate "sales" as the name that users type to run the Sales Entry Application by calling Topframe, define the symbol:
sales :== "$dir_spec sales.exe topframe"
To run the Sales Application at the operating system level, users type sales.
If you defined saleapp as in the previous section, define "sales" as follows:
sales == saleapp + " topframe"
You can define aliases that allow users to start the application on different frames. For more information, see Defining Symbols for Different Users.