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 tag
    launchApp
    represents the location of a program like
    C:\Windows\System32\notepad.exe
    .
  • The string tag
    launchWarningFile
    represents the location of the file that contains the warning information like
    C:\Users\Public\Documents\warnings.txt.
  • If the current user has the security code
    A
    , 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
Have questions or feedback about this documentation? Please submit your feedback here.
Normal