stef03 Posted December 21, 2009 Posted December 21, 2009 Hello, I need help, I searching to get the username of the active SAP session with autoit. The sap username is different from the windows username .We use one computer with different SAPUSERS and I like to change some options into the script depend the username sap. Thank you in advance Sorry for my bad english
Teltech Posted December 29, 2009 Posted December 29, 2009 Hello, I need help, I searching to get the username of the active SAP session with autoit. The sap username is different from the windows username .We use one computer with different SAPUSERS and I like to change some options into the script depend the username sap. Thank you in advance Sorry for my bad english I don't know exactly what you're trying to do, but this should get you started. #include <SAP.au3> ; Attach to the session with the window titled "SAP Easy Access" _SAPSessAttach("SAP Easy Access") $title = WinGetTitle("SAP Easy Access - User menu for ", "") If $title = WinGetTitle("SAP Easy Access - User menu for stef03", "") Then MsgBox(0, "Full title read was:", $title) EndIf
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now