TOC : Script API > JavaScript > JavaScript API > Component > Shape > Rectangle > Method >

 

SetLinkExecute

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > Component > Shape > Rectangle > Method >

 

SetLinkExecute

 

 

Sets the command to execute by the link.

 

 

 

Prototype :

 

void SetLinkExecute

(

        string Command,

        string Parameter

)

 

 

 

Arguments :

 

Command

Command to execute

Parameter

Parameter for the command

 

 

 

Reference :

 

This is only supported on the ActiveX Viewer.

 

 

 

Example :

 

//Script that executes Microsoft Edge

 This.SetLinkExecute("msedge.exe", "--profile-directory=Default");

 

 

 

Available Events :

 

OnAddToPage,  OnBind,  OnEndBind,  OnInitialize,  OnStartBind