scroll GUI table in VBS - dynamic title

Hi,

I need to loop VA02 items table to check which of the current line is selected
I saw this solution  http://scn.sap.com/thread/3316995

but in this solution i need to provide in this following line the title:
WshShell.AppActivate "Title of the SAP Window"

but the title is  which is dynamic  because every order has different title

Any solution for this ?

Thanks

Mark

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 20, 2015 at 07:54 PM

    Hello Ziv,

    sure, try this: session.findById("wnd[0]/titl").text

    to get the title of the window.

    E.g. with

    MsgBox session.findById("wnd[0]/titl").text

    you get



    Cheers

    Stefan


    Add comment
    10|10000 characters needed characters exceeded

Skip to Content