FAQ's - APPX Software, Inc. : APPX Utility : APPX Runtime Environment : Other Runtime Questions :
What are the command line options? | |
The APPX Client has a number of options that can be set at the command line. These options will only effect the associated session being started. You can prevent the client login box from displaying by supplying the options to attach and login to the proper system. If enough information is available for the client to make a good connection, the login box will not be displayed. If any part is missing or invalid, the login box will pop up. The following command line options can be appended to the COMMAND LINE= line of the runnappx.ini file located in the Primary Destination Directory. (Default location= C:\appx\java\runappx.ini).
Command Line Options -application=(APPX server Application ID) Instructs the server to startup in a particular application ID. (not implemented) -bg=(color) Background color (See -fg for color list). -bmode=(tile|expand) default=tile Defaults how background tiles are painted in the Java window. The “tile” setting uses the tile image over and over again to fill the window. The “expand” setting resizes the image to just fill the space inside the window. Used with the –splash= setting. -boldFg=(color) Set the default text foreground text color for bold text (See –fg for color list). -cols=(window size in columns) default=80 Defaults the initial screen size in columns. -database=(APPX server Database ID) Instructs the server to start in a particular database. (not implemented) -editBg=(color) Set the default text foreground text color for edit fields (See –fg for color list). -fg=(color) Valid colors are black, blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink, red, white, yellow, or any valid #rrggbb number. Set the default text foreground color. Defaults to black. -font=fixed Turns off the proportional font normally used by the Java client. If you are having problems with the text on your application screens not lining up the way you want, try this setting. -hideMenu (not implemented) -hideToolbar (not implemented) -host=(server hostname) Defaults the remote host field on the remote login pane of the login dialog box. It is also used when the login dialog box is skipped. -look=(java|windows|motif) default=windows Defaults the look and feel setting on the “options” pane of the login dialog box. It is also used when skipping the login box. -mode=(local|remote|both) default=both Controls which login panels are shown and also determines which type of login to do if the login in dialog box is skipped. -optkey=(character) Resets the key used as the option key. The default is the single back quote character (`, left of the 1 on the QWERTY keyboard. To set the option key to the ~ character, use –optkey=~ -password="(server OS password)" Defaults the password on the remote login pane of the dialog box. It is also used when skipping the login box. -pathname=(path & filename of the local appx.exe file) Defaults the location and name of the APPX server when running APPX locally. This is also used when skipping the login dialog box and the –mode=local is set. -port=(server port number) default=8060 Defaults the remote server port number on the login dialog and also used when doing a remote login with the login dialog box skipped. -process=(APPX server process name) Set startup process name. -ptype=(menu|job|input|output|...etc...) Sets the startup process type. -rows=(window size in rows) default=21 Defaults the initial screen size in rows. -shell=(command line to start a document) Overrides the default command line used to ‘start’ a document. Starting a document is telling Windows to open a document and having Windows use the association for that document type to decide which program to use. This defaults to start (document), which might not work on NT. NT may require this to be set to start the command shell like “cmd.exe /c start”. -smode=(tile|expand) default=expand Defines how the splash image is painted on the Java window. The “tile” setting uses the tile image over and over again to fill the window. The “expand” setting resizes the image to just fill the space inside the window. Used with the –splash= setting. -splash=(url to an image) Used as a background image in the main client window during the login process. How it is painted is determined by the –bmode= setting. -tile#=(url to an image) Defines an array of images that the client will use to fill window backgrounds. –tile1= defines the base wallpaper image. –tile2= defines the wallpaper for all one up from the base window. –tile3= sets the pattern for all windows two up from the base window, etc. You can define as many or as few as you like. The client will cycle back to the first image if you have more windows layered on the screen for which it has tile images. Used with the –bmode= setting. -title="(text/information to display)" Replaces the default text in the title bar of the client with the text and optional data specified in this parameter. Supports the following options; $(host) displays the host id, either name or IP as entered in login $(user) displays the user login id $(pathname) displays the engine path $(pid) displays the server task id $(port) displays the port the connection is attached through Example: -title=”Host is $(host), PID is $(pid), on server port $(port)”
-user=(server OS userID) Defaults the userid on the remote login pane of the dialog box. It is also used when skipping the login box.
| |
[Append to This Answer] | |
2004-Apr-01 3:16pm |
Previous: | No Beep on Errors and Warnings |
Next: | Diagnose SUBR --- SEND FILE TO CLIENT problems |
|