Was this helpful?
Defining Symbols for Different Users
To give the application user the convenience of typing in only one name to run the application, you can create a command with the frame name as part of it.
The following directions designate "sales" as the name that users type in to run the Sales Entry Application and Topframe as the initial frame. To do this, follow the steps for your operating system:
Windows: Create a shortcut, sales, to the following command:
full_pathname\sales.exe topframe
After this, users must select the sales icon to run the Sales Entry Application.
You can allow users to start the application on different frames. For example, if users must run only the Customer frame and not the Topframe, you can create a shortcut for them that runs Sales by calling the Customer frame with the command cust. Either of the following commands in an icon runs the Sales application by calling the frame Customer:
full_pathname\sales customer
saleapp customer
Linux: Define the alias or shell script name:
alias sales 'full_pathname/sales.exe topframe'
You can define an alias if you use the C shell. If you use the Bash shell, you must write a shell script.
After this, users must type sales at the operating system level to run the Sales Entry Application.
If you defined saleapp as in the previous section, define "sales" as follows:
alias sales 'saleapp topframe'
This is possible only if you use the C shell. Bash shell users must write a shell script.
You can allow users to start the application on different frames. For example, if users must run the Customer frame and not the Topframe, you can define an alias for them that runs Sales by calling the Customer frame with the command customers. Either of the following definitions creates the symbol "customers." When entered, customers runs the Sales application by calling the frame Customer:
alias customers 'full_pathname/sales customer'
alias customers 'saleapp customer'
If you defined saleapp as in the previous section, define "sales" as follows:
sales == saleapp + " topframe"
You can allow users to start the application on different frames. For example, if users must run the Customer frame and not the Topframe, you can define an alias for them that runs Sales by calling the Customer frame with the command customers.
Either of the following definitions creates the symbol "customers." When entered, customers runs Sales by calling the frame Customer:
customers :== "$dir_spec sales.exe customer"
customers == saleapp + " customer"
Last modified date: 12/14/2023