Example: Address of hyperlinks
The address of the hyperlink animation can be a URL address, a file path, a tag or an expression.
Example 1: Use a URL address
To link to the main page of Rockwell Automation, in the
Address
field, enter "http://www.rockwellautomation.com"
or ''www.rockwellautomation.com"
. The URL must be enclosed in double quotes.Example 2: Use a file path
To link to a PDF file
sample.pdf
located under C:\Users\Public\Documents
, in the Address
field, enter "C:\Users\Public\Documents\sample.pdf"
. The path must be enclosed in double quotes.Example 3: Use a tag
Assume that the string tag
linkAddress
represents the linked destination of a
webpage or a file. To use the tag, in the Address
field, enter
linkAddress
.Example 4: Use an expression
Assume that:
- The string taglaunchApprepresents the location of a program likeC:\Windows\System32\notepad.exe.
- The string taglaunchWarningFilerepresents the location of the file that contains the warning information likeC:\Users\Public\Documents\warnings.txt.
- If the current user has the security codeA, then launches the specified application. Otherwise, shows the specified warning information.
To do this, in the
Address
field, enter If CurrentUserHasCode(A) Then launchApp Else launchWarningFile
.Provide Feedback