BCI Nodes - Shortcut
<Shortcut> - In BBj 11.0 and higher, this node creates a shortcut on all platforms except the Mac. The Mac uses a directory structure (.app) for shortcuts. The name can include program groups, separated by a forward slash, as shown in the second line of the example.
Attribute |
Description |
Possible Values |
Default Value |
description |
Description of the shortcut. |
any string |
none |
image |
Image for the shortcut. |
image file name |
none |
name |
Name of the shortcut. Can include folder names, separated by a forward slash. |
any string |
none |
parameters |
Specifies parameters for the target. |
any string |
none |
target |
Specifies the target of the shortcut. |
executable file name |
none |
workingdir |
Specifies the working directory. |
valid directory |
none |
Common Attribute |
Description |
Possible Values |
Default Value |
bit |
Specifies the Java bit level for which the BCI node will be active. |
0 = All bit levels In BBj 19.21 and later, the following values may also be used: |
0 = All bit levels |
osbit |
Specifies the OS bit level for which the BCI node will be active. |
0 = All bit levels In BBj 19.21 and later, the following values may also be used: |
0 = All bit levels |
portid |
Specifies the port ID for which the BCI node will be active. Multiple port IDs are comma separated. |
See www.basis.cloud/availability for possible port IDs. |
All port IDs |
<Variable> - In BBj 11.0 and higher, this node creates a variable that can be used instead of string value in the custominstall.xml. The following variables are provided by default:
Variable Name |
Variable Value |
$BASISInstallDir |
BASIS installation directory. |
$BASISInstallDrive |
BASIS installation drive on Windows resolves to the drive letter and colon (i.e. d:). |
$DesktopDir |
Desktop directory on Windows. |
$InstallDir |
Installation directory. |
$InstallDrive |
Installation drive on Windows resolves to the drive letter and colon (i.e. d:). |
$ProgramsDir |
Programs directory on Windows. |
$UserHome |
User's home directory. |
$Version |
BBj version. |
Example
<Shortcut name="BBj" target="bin/bbj" image="images/BBj.xpm" description="Runs the BBj Interpreter" portid="2145,2169,2172,6146,6173"/>
<Shortcut name="BASIS/BBj/BBj" target="bin/BBj.exe" parameters="" workingdir="bin" image="bin/BBj.exe,0" description="Runs the BBj Interpreter" portid="2166"/>