Hyperlinks

In SDL Passolo, Hyperlinks can be defined in the string comments and the output window.

This makes it possible to jump to a specific string or to open a Web page.

Hyperlinks are defined by simply enclosing the relevant text in double square brackets. The text "Click on [[http://www.sdl.com/products/sdl-passolo]]." is displayed as follows: "Click on http://www.sdl.com/products/sdl-passolo" The link text is then clickable and opens the specified page.

It is also possible to enter a link text. The link text is separated from the address by a vertical bar: "Click on [[http://www.sdl.com/products/sdl-passolo|here]]." comes out as "Click on here."

Commands

In addition to opening a Web page via "http:" Passolo also defines other commands for different operations that are carried out when the user clicks on the hyperlink.

CommandDescription
http:Opens a web page in the standard browser.
string:Jumps to a different string within the project. If the string is in the same string list as the hyperlink, it is sufficient to enter the string number. Otherwise the hexadecimal ID of the string list must also be specified.
folder:Opens the folder in the Windows Explorer. If a file is specified, the corresponding file is selected in the folder.
shell:Executes a Windows shell command. The command can use the same placeholders as in the definition of a tool. (See Tools)
userfile:Opens a user file, which is embedded in the project. (See User Files)
macro:Starts a macro (see Macro Administration). The macro is specified by its file name or its full path.

Examples

[[http://www.sdl.com/products/sdl-passolo]] Opens the Passolo homepage

[[string:123]] Jumps to string number 123 in the current string list

[[string:33:a4b3cc10]] Jumps to string number 33 in the string list with the ID a4b3cc10

[[folder:c:\Data]] Opens the folder c:\Data.

[[folder:c:\MyProjects\Samples.lpu]] Opens the folderc:\MyProjects and selects the file Samples.lpu.

[[shell:c:\readme.txt]] Opens the file readme.txt in the standard text editor.

[[shell:<TargetPath>]] Runs the target file

[[userfile:sceenshot.jpg]] Opens the embedded user file screenshot.jpg with the attached program.

[[macro:mymacro.bas|Start Macro]] Starts the macro mymacro.bas.

Creating Hyperlinks in Text Comments

Hyperlinks can be inserted using the format described above when entering comments in the source string list (see Using Comments) or when adding translation comments. When the comment is displayed in the translation list, the brackets are removed and the link text is shown (if available).

Creating Hyperlinks in the Output Window MessagesMessages

The hyperlinks in the output window Messages are generally created automatically by Passolo. In addition, the macro command Output can be used to write any other text to the output window. If the text written to the output window contains a section in square brackets, this will be interpreted as a hyperlink.