Re: [foxboro] making web calls in foxboro

  • From: Venu Navuluri <venunavuluri@xxxxxxxxx>
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Tue, 23 Nov 2010 14:59:14 -0600

Hello All ,
               i am trying automation of right click menu which will put my
tag info into the URL, that is embedded in the code, can anyone give me some
ideas of how to parse the tag into the URl , what i am tried to do is as
follows :
I modified the disp.mnu as follows

 COMMAND -label "$SELTAG" -cmd "set_select_pt $SELTAG" # gives me the C:B:P
in the right click menu that i want to parse it in to the other label line
as shown below , the tag has to appear in XXXX and tag.alarm info appears in
YYYY.


COMMAND -label "iExplorer" -cmd "run C:\Program Files\Internet
Explorer\iexplore.exe
http://mywebsite.aspx?doücu&tag=XXXX&alarm=YYYY<http://mywebsite.aspx/?doücu&tag=XXXX&alarm=YYYY>"
-p 100

I parsed the tag manually by replacing the XXXX with the tag name and it is
working , but i do not have a clue of how to parse the tag information into
the URL.
I tried to do it with the knowledge i have but i am not able to parse the
tag information into the URL, is this method going to work or am i going in
the wrong direction .

Any suggestions, or ideas that you can advise is always helpful.

Thanks in Advance

Venu



On Mon, Nov 15, 2010 at 4:04 PM, Venu Navuluri <venunavuluri@xxxxxxxxx>wrote:

> Thanks Perez......
>
>
> On Mon, Nov 15, 2010 at 6:57 AM, Perez, Claudio 
> <CPEREZ@xxxxxxxxxxxxxxxx>wrote:
>
>>
>> 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
>>
>>
>

 
 
_______________________________________________________________________
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: