Liquid UI Forum

Using Your Liquid UI Products => WS aka Web Scripts (Attended RPA for SAP) => Topic started by: chirag.amin@guixt.com on September 27, 2016, 12:51:26 PM

Title: System Variable: _windowsize
Post by: chirag.amin@guixt.com on September 27, 2016, 12:51:26 PM
As of WS Version 1.2.296 and Server Version 3.5.523, a new system variable has been added; _windowsize. The system variable is used to retrieve either the width or the height of your SAP window in pixels. For the width, the variable is as follows: _windowsize_x. For the height, the variable is as follows: _windowsize_y.

LiquidUI Code:

clearscreen();

title("Width: "+_windowsize_x+", Heigth: "+_windowsize_y);

y=_windowsize_x/7.4;
x=(_windowsize_y+280) / 38;

view([0,0], [x,y], "http://www.google.com");



See attachments...