on 01-27-2011 10:19 AM
Hi there
is there a way to get the Text inside the messagebox (Message)
I dont mean the heading Text ...
If session.findbyId("wnd[1]").Text Like "*"
End if
It's because we have special Transactions where the Heading says "Information" in 3 different meanings (I hate the Programmer gr thats why I have to get the Message ...
Thanks for your response
Edited by: Thomas Br on Feb 1, 2011 7:41 PM
Hi Thomas,
by using vbs try this:
Row1 = Trim(session.findById("wnd[1]/usr/txtMESSTXT1").text)
Row2 = Trim(session.findById("wnd[1]/usr/txtMESSTXT2").text)
Grettings,
Netkid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
If GuiXT is active, the following script could bring a solution.
For example: sapmsdyp.d0010.txt:
if V[_title=Information]
set V[MESSTXT1] "&F[MESSTXT1]"
set V[MESSTXT2] "&F[MESSTXT2]"
if V[MESSTXT1=XYZ]
// do something
endif
if V[MESSTXT2=abc]
// do something
endif
endif
However, I suspect that the command "set" requires a non-free option "InputAssistant".
Regards,
ScriptMan
Edited by: ScriptMan on Feb 2, 2011 1:40 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.