Jump to content
Sign in to follow this  
fesrts

WinMove Does Not Work on SAPGui Window?

Recommended Posts

fesrts

Hello.

I need to place the SAP Logon Screen is a specific position so as not to block another window that I have created using GUICreate. I tried WinMove but unable to.

Using the AutoIt Window Info, I know that the SAP's Title is "SAP Logon 730". So I had the code as

WinMove ("SAP Logon 730", "", 0, 0)

But SAP will not go to that top left corner that I wanted it to.

Appreciate any suggestion. Thanks.

Share this post


Link to post
Share on other sites
computergroove

Is this being used on just one computer? Is the resolution going to stay the same? Can you use MouseClickDrag to move your window? -> https://www.autoitscript.com/autoit3/docs/functions/MouseClickDrag.htm

Edited by computergroove

Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html

Share this post


Link to post
Share on other sites
fesrts

Is this being used on just one computer? Is the resolution going to stay the same? Can you use MouseClickDrag to move your window? -> https://www.autoitscript.com/autoit3/docs/functions/MouseClickDrag.htm

 

Thanks for suggestion.

The application I am developing is meant to be used by multiple people. I expect to have many screen sizes/resolution. Still, worth the try - perhaps I will try to determine the screen size and then work my way. Sure wish I understand why WinMove don't work on SAPGui.

Share this post


Link to post
Share on other sites
fesrts

Finally figure it out.

I used WinMove ("[Active]", " " , 0, 0)

Cheers.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×