Using Your Liquid UI Products > WS aka Web Scripts (Attended RPA for SAP)

Opening URL using a click of a pushbutton

(1/1)

Rahul Gera:
This example, is to OPEN a URL with the click of a Liquid UI Pushbutton using VIEW command

//////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Author: Synactive, Inc. [1065 E. Hillsdale Blvd, Foster City, CA, 94404, USA]
// Email: support@guixt.com; sales@guixt.com;
// Contact: 650.341.3310
//////////////////////////////////////////////////////////////////////////////////////////////////////////////

Liquid UI Script:

pushbutton([TOOLBAR], "@01\\Qwww.liquid-ui.com@LiquidUI", "?", {"size":[1,25], "process":pm_launchpad, "using":{"l_layout":"htmlview", "l_html":"http://www.liquid-ui.com"}});
pushbutton([TOOLBAR], "@01\\Qwww.google.com@Google", "?", {"size":[1,25], "process":pm_launchpad, "using":{"l_layout":"htmlview", "l_html":"http://www.google.com"}});
pushbutton([TOOLBAR], "@01\\Qwww.yahoo.com@Yahoo", "?", {"size":[1,25], "process":pm_launchpad, "using":{"l_layout":"htmlview", "l_html":"http://www.yahoo.com"}});

function pm_launchpad(param){
                pm_layout = param.l_layout;
                pm_html = param.l_html;
}

if(pm_layout=="htmlview"){
                view([3,38], [30,193], "&V[pm_html]", {"floating":true});
                set("V[pm_layout]","");
                set("V[pm_html]","");
}

Navigation

[0] Message Index

Go to full version