on ‎2020 Aug 05 11:58 PM
I am running into an issue where a UI changes, but I don't want it to change, while recording a script.
1. Without scripting: The specific window I bring up looks like it uses "System Defaults" for display.
2. With scripting recording: it looks like the "Dialog (modal)" display setting is turned on (found in Help -> Settings -> F4 Help).
Are there any registry keys or other settings I can use to disable UI changes while scripting? I already disabled "ShowNativeWinDlgs" but that had no effect.
Request clarification before answering.
Hello Wolfgang,
you want to realize that a person and a script interacts parallel on the same UI. In my opinion is this approach like one car with two drivers at the same time. If a script runs on a system where a user works parallel I recommend you to use the method LockSessionUI. When it is necessary that a user must take some inputs, the user should communicate with the script and not with the automated UI below.
Best regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think this is a "feature" of SAP GUI Scripting.
sandra.rossi the problem we hit is that we want scripting + a person interacting with SAP. When the UI changes, that person can not copy data out of SAP GUI. The UI doesn't seem to support clipboard interactions when scripting is active.
Ideally we would keep the more person-friendly UI (so no change for them), while still having scripting turned on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK.
Please use the COMMENT button for comments, questions, adding details, replying to OP comment, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.