I am trying to add a new button in DeltaV Operate toolbar for the toolbar. Is there a way to know which toolbar is the operate utilizing when we open a picture.
Has anyone configured this before?
In reply to girishbm1:
In reply to Summer:
I don't know it will be safe, for testing you can try this
The Operator user must have Windows Administrator Access (go to User Manager to enable the access) for this coding.then only he can access this browser path.
here the VBScript code frsRunTask ("C:\Program Files (x86)\Google\Chrome\Application\chrome https://www.google.com) if you want to use microsoft egde brower , select the path of microsoft esge browser in your directory and replace with frsRunTask ("path of microsoft esge browser https://www.google.com)
In reply to THENNARASU R:
In reply to Youssef.El-Bahtimy:
Andre Dicaire
The code below is what we used. Notice that invoking windows explorer then uses the user profile setting for which application opens URLs, so that if the browser changes, the code doesn't have to. The default is Internet Explorer.
Your observation of the unprivileged OS/DeltaV user not being able to open applications via script on the DeltaV Desktop is something I have also seen in recent versions of DeltaV, though I am looking at a 14.3.1 system now and my OS/DeltaV does not have administrator access and can launch the browser using this code. Please note, they are also NOT configured as a 'Basic Operator' which is a significantly more restricted role than 'not an administrator'.
Here are a few of the things you also need to consider with this HMI strategy, some are pre-requisite, some are things to think about. :
1. Is you MES server SSL? Have you created, installed a certificate so that the DeltaV system trusts the secure site?
2. Have you added the MES site as a trusted site for all OS users to the DeltaV HMIs? You'll need to.
3. Internet explorer will ask users whether they want to save their password when logging into MES, especially Syncade Workflow 4.9? You won't want them to click yes on this prompt
4. Browsers have tons of ways to access the file system and tons of nagging warning prompts that DeltaV applications have either never had or have worked in some cases to reduce or eliminate over time. These conveniences built into 'consumer software' like IE don't account for an operating and file system that should not be accessed by users. You don't want users being able to open Developer Mode on IE, or to open new tabs that default to MSN.com regardless of the fact that they can't reach this site. It just looks ugly and raises questions.
Here is the code.
Private Sub YOURBUTTON_Click()
On Error GoTo ErrorHandler
Dim strPath As String
strPath = "YourURL"
frsruntask "explorer", strPath
Exit Sub
ErrorHandler:
frsHandleError
End Sub