Jump to content

WinMove not moving specific window in Windows 7


Go to solution Solved by Tuokki,

Recommended Posts

Just migrated from XP to Win7 and my scripts can't move windows owned by RunAccess.exe / MSACCESS.EXE. :sweating:

Notepad, Firefox etc move/resize without any problem.

MsgBox(0,"",WinMove ("Tele On","",200,200))

It returns the handle, but window is not moving.

Tested also with "#AutoIt3Wrapper_UseX64=y/n" options, no help.

BTW: WinActivate works...

Any ideas?

Window info:

>>>> Window <<<<
Title:    Tele On-Site(7)  3,0746 - [:]
Class:    OMain
Position:    599, 142
Size:    1126, 866
Style:    0x16CF0000
ExStyle:    0x00000100
Handle:    0x0005033C

>>>> Control <<<<
Class:    
Instance:    
ClassnameNN:    
Name:    
Advanced (Class):    
ID:    
Text:    
Position:    
Size:    
ControlClick Coords:    
Style:    
ExStyle:    
Handle:    

>>>> Mouse <<<<
Position:    1038, 158
Cursor ID:    13
Color:    0x5782C1

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
MsoDockLeft
MsoDockRight
MsoDockTop
mainMenu32
SoSMAIN
MsoDockBottom
:
>>>> Hidden Text <<<<
Menyrad
 : Databas (Access 2002-filformat)
MSO Generic Control Container
usys_unload : Formulär
 

Edited by Tuokki
Link to comment
Share on other sites

Window was in normal state, tried minimized and maximized also...

Just tested with WinSetState and it also has no effect, but still returns "1" (Success)

WinGetState returns 7, so: Window exists + Window is visible + Window is enabled.

WinActivate works..

WinGetTitle works..

WinWaitActive works..

WinActivate + WinMove, still not moving.

Edit:

WinGetPos does not return anything

WinClose has no effect (returns 1=>success).

Edited by Tuokki
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...