Jump to content

Recommended Posts

Posted

Hello.

I try to change windows size but it not working and be state center and not use my size.

I have this code :

$windows = WinActivate("[TITLE:MyApp; CLASS:MyAppClass]")
Global $windows1 = WinMove($windows, "", 0, 0, 1024, 768)

Can you help me please.

For resize i not have error.

Posted
59 minutes ago, AutoDEV said:

I have alrerady say. Don't have errerur 0

Check :  https://www.autoitscript.com/autoit3/docs/functions/WinActivate.htm

The help clearly states :

Return Value

Success: the handle of the window.
Failure: 0 if window is not found or cannot be activated.

By the way: It is a mystery to me how you will ever create an operable script if you permanently ignore all hints from renowned users.

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

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
  • Recently Browsing   0 members

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