Hi Experts,
I ran scripting to save a table from a transaction. That works great too. For another transaction, selection parameters must first be set in a mask. As soon as the table is loaded and a button in the toolbar is clicked in the scripting program, I get the error message: "The control could not be found by id." Therefore I cannot save the table via scripting.
The scripting tracker doesn't show me a menu button, but a shell.
The scripting code works for the first table:
session.findById("wnd[0]/usr/shell[0]").pressToolbarContextButton("&MB_EXPORT")
In the second table I record the following command, which however outputs the error:
session.findById("wnd[0]/usr/shell[1]/shellcont[0]/shell").pressToolbarContextButton("&MB_EXPORT")
What am I doing wrong? How can I find out what the difference between the two tables is, why the toolbar is only inaccessible for one table?
Is there a way to give the mouse coordinates to click as a command?
Thank you very much for your support.
Many Greetings, Chris