Example of a script launching an URL from a version

Posted by

Example of SCRIPT Designer : LOAD.DX.LINK

    
Dim sAppName
Dim MyCommand
Set oApp = Desktop.GetCurrentWindow
sID = oApp.ID
Select Case sID
  Case "10305"
    MyCommand = "http://www.euronext.com/trader/contractspecifications/wide/contractSpecifications-3503-EN.html?docid=47403"
  Case "12014"
    MyCommand = "http://cfe.cboe.com/Products/Spec_VIX.aspx"
End Select
call desktop.Sexecute(MyCommand)

Then in VERSION :

 13.15 FIELD.NO....... *
 16.15 TEXT.CHAR.MAX.. 13
 17.15. 1 TEXT........ Contract Link
 23.15 TABLE.LINE..... 9
 37.15 HYPE SPT LOAD.DX.LINK

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.