The command to be executed when the hyperlink is clicked.

Usage

Set_Property(OLECtrlEntID, "OLE.ExecuteCmd", Text)

Values

Text can contain anything.

Default: ""

Remarks

The ExecuteCmd property allows you to define the website, email address, file, or executable to run when the hyperlink is clicked. This should be any URL specified location. See the code below for examples.

Example

// website 
Set_Property(@Window:".OLE_HYPERLINK", "OLE.ExecuteCmd", "http://www.srpcs.com") 

// email 
Set_Property(@Window:".OLE_HYPERLINK", "OLE.ExecuteCmd", "mailto:info@srpcs.com") 

// executable 
Set_Property(@Window:".OLE_HYPERLINK", "OLE.ExecuteCmd", "notepad.exe") 

// file 
Set_Property(@Window:".OLE_HYPERLINK", "OLE.ExecuteCmd", "file://word.doc")
  • No labels