Re: [foxboro] making web calls in foxboro

  • From: "Perez, Claudio" <CPEREZ@xxxxxxxxxxxxxxxx>
  • To: <foxboro@xxxxxxxxxxxxx>
  • Date: Mon, 15 Nov 2010 09:57:35 -0300

We have implemented it using some scripts.

What we did was an overlay with a button that calls a script. It reads the 
block name as a parameter, then looks for a file and copy it to a scrath file. 
Then we call netscape, but it doesn't make a web call, it read an html 
formatted file.

########################################################################
#   CopyInfo.sh: Script to show ARO (operating risk analysis) of selected 
bloque 
#   Parameter: $1 bloque to show
########################################################################

# Copy default html file "Temp.html"
cp /rem/AW5101/opt/info/ARO/Falta.html /opt/info/Temp.html

# Copy html file of selected block
cp /rem/AW5101/opt/info/ARO/$1.html /opt/info/Temp.html

#########################################################################

#Open file
#Test to see if Netscape is running
if (test -h /.netscape/lock) then
   /opt/netscape/netscape -remote "openURL(file:/opt/info/start.htm)"
 else  
   /opt/netscape/netscape file:/opt/info/start.htm
fi

#########################################################################



start.htm make some formatting to disable all browsing capabilities an then 
call Temp.html

<html>
<head>
<script language="javascript">
<!--
function WinOpen(){
        window.open("file:/opt/info/Temp.html","test", 
"status=yes,hotkeys=no,toolbar=no,scrollbars=yes");
        timeoutID=setTimeout("WinClose()", 1000);
}
function WinClose(){
        window.close();
}
//-->
</SCRIPT>
</head>
<body onLoad="WinOpen()">
</body>
</html>



Regards.
Claudio A. Pérez
Instruments and Control Systems Reliability Engineer.
Profertil S.A.
Ph: (54) 291 4598139
email: cperez@xxxxxxxxxxxxxxxx
www: www.profertil.com.ar


-----Mensaje original-----
De: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] En 
nombre de Venu Navuluri
Enviado el: Jueves, 11 de Noviembre de 2010 13:38
Para: foxboro@xxxxxxxxxxxxx
Asunto: [foxboro] making web calls in foxboro

Hello All ......
                      is it possible to make web calls from Foxview
display with a customized shortcut menu . I am trying to build a
customized short cut menu for the displays that when a user right clicks
on a particular tag will find a link to a detailed overview that is on a
web URl.  Can anyone share ideas and docs that I have to refer to make
web calls from graphics. 

 

Best Regards

Venu 


 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 
 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: