Jump to content

Recommended Posts

Hi,

I need to be able to WinMove windows from different CLASS.

I have a loop to WinMove several windows, but i discover that some windows are different CLASS and not affected by WinMove.

 

What is the correct syntax to Add a Class into a WinMove? I can't get it...

   WinMove("[TITLE:"&$Title&";CLASS:WMgrBasic|Qt5QWindowIcon;]" ,"",$X, $Y, $SX ,$SY) is not working

   WinMove("[TITLE:"&$Title&";CLASS:WMgrBasic;|Qt5QWindowIcon;]" ,"",$X, $Y, $SX ,$SY) is not working

   WinMove("[TITLE:"&$Title&";CLASS:WMgrBasic|CLASS:Qt5QWindowIcon;]" ,"",$X, $Y, $SX ,$SY) is not working

   WinMove("[TITLE:"&$Title&";CLASS:WMgrBasic;|CLASS:Qt5QWindowIcon;]" ,"",$X, $Y, $SX ,$SY) is not working

Please help me, i need to fix that quickly.

Thank you for your help.

 

Share this post


Link to post
Share on other sites

Per the docs here: https://www.autoitscript.com/autoit3/docs/intro/windowsadvanced.htm

You need to double any semi-colons contained in the value: "Note : if a Value must contain a ";" it must be doubled."


All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

Spoiler

My Humble Contributions:
Personal Function Documentation - A personal HelpFile for your functions
Acro.au3 UDF - Automating Acrobat Pro
ToDo Finder - Find #ToDo: lines in your scripts

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...