Skip to content
/ auWin Public

auWin is a program with which you can easily edit window attributes and interact with windows.

License

Notifications You must be signed in to change notification settings

dodaucy/auWin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auWin

auWin is a program with which you can easily change attributes of windows and do other things with windows. An introduction is here.

Usecases

  • Does you find it annoying that an important window moves into the background when you're working? Just enable always on top!

  • Does this window also block the view of the window behind it? Just set the transparency!

  • Don't want to see the title bar? Just move it to Y -32!

  • You want to uncover a hidden window? Just show it!

  • You don't want to see a program anymore but still want to keep it running? Just hide it!

  • You want to use a disabled window? Just enable it!

Preview

basic

in action

Run

Download the standalone executable (auWin.exe) from the last release or run auWin.au3 with AutoIt 3.

Compile yourself

Requirements

Compile

  1. Right click auWin.au3 and click on Compile with Options. The specified settings for the AutoIt3Wrapper are not loaded using the other options.

compile_with_options

  1. Now just click on Compile Script.

compile_script

  1. There is now an executable in the same folder as the auWin.au3 file.

compiled

Note

⚠️ The executable could be detected as malware. More information here.

Supported operating systems

  • Windows XP and Windows Server 2003

  • Windows Vista and Windows Server 2008/2008 R2

  • Windows 7 / 8 / 10 / 11

Stand november 2022 - From the AutoIt Downloads Overview

Introduction

Select windows

description

Select a select mode and enter something in the select input. So you select windows that should be affected by an action.

⚠️ This also selects system windows. So be careful what you do with those windows!

Start of the title

In this mode, a window with the window title Untitled - Notepad will be selected by Untitled - Notepad, Untitled, Un, etc.

Any part of the title

In this mode, a window with the window title titled Untitled - Notepad will be selected by Untitled - Notepad, Untitled, Notepad, pad, etc.

Exact title

In this mode, a window with the window title Untitled - Notepad will only be selected by Untitled - Notepad.

HWND / Window Handle

In this mode, only a specific window with a specific HWND will be selected.

PID / Process ID

In this mode, all windows from a specific process with a specific PID will be selected.

Any part of the text

In this mode, all windows containing the text will be selected.

All windows

In this mode, all windows will be selectet. You can't enter anything in the select input.

Advanced

When have selected the Start of the title, Any part of the title or Exact title mode, you can use these properties instead of a title to select windows:

  • TITLE - Window title
  • CLASS - The internal window classname
  • REGEXPTITLE - Window title using a regular expression
  • REGEXPCLASS - Window classname using a regular expression
  • X \ Y \ W \ H - The position and size of a window
  • INSTANCE - The 1-based instance when all given properties match

One or more properties can be used in the select input in the format: [PROPERTY1 : Value1; PROPERTY2:Value2]. If a value must contain a ; it must be doubled.

Here are some examples:

  • [CLASS:Notepad] - All windows with the classname Notepad
  • [TITLE:My Window; CLASS:My Class; INSTANCE:2] - The 2nd instance of a window with title My Window and classname My Class
  • [REGEXPTITLE:(?i)(.*SciTE.*|.*Internet Explorer.*)] - All windows matching title defined by a regular expression

Actions

description

Select a action and then press the start button.

List selected windows

Just lists all windows found. This can be used to test whether the windows are found or to get the PID.

list selected windows

Enable always on top

Ensures that all selected windows always stay on top of other programs. Can be undone with disable always on top.

Disable always on top

Ensures that other windows can again be above the selected windows. Can be undone with enable always on top.

Hide

Hides the selected windows. These continue to run in the background but are no longer visible. Can be undone with show.

Show

Shows the selected windows that were not previously visible. Can be undone with hide.

Disable

Disables the selected windows. This means that you can no longer interact with the windows. Can be undone with enable.

Enable

Enables the selected windows. After that you can interact with the windows again. Can be undone with disable.

Set transparency

Sets the transparency of all selected windows.

transparency 1

transparency 2

Set title

Sets the window title of the selected windows.

set title 1

set title 2

Move

Moves all windows to the given position. Windows can also be moved to a negative position.

move 1

move 2

Resize

Changes the size of all selected windows.

move 1

move 2

Minimize

Minimizes the selected windows.

Maximize

Maximizes the selected windows.

Restore

Restores the selected windows. This is the third state next to minimize and maximize. The windows are visible but do not cover the entire screen.

Send close signal

Sends a close signal to the selected windows. Some windows may ask for confirmation.

⚠️ Whether this signal is processed is entirely up to the program. The program could still continue. Use your task manager to kill a process.

close

Send kill signal

Sends a kill signal to the selected windows.

⚠️ Whether this signal is processed is entirely up to the program. The program could still continue. Use your task manager to kill a process.

Flash

Flashes the selected windows until this window is selected.

flash

Display HWND

Displays the HWND of the selected windows in the output display.

display HWND

Display position and size

Displays the position and size of all selected windows in the output display.

display position and size

Display text

Displays the text of all selected windows in the output display.

display text

Loading bar

This loading bar shows how far the progress of the current action is.

description

Output display

While auWin is running, the output display shows the return value of the action for each window. The format for each window is this:

[ Window Title ] (PID: PID ) Optional return value

The return value can be requested information such as the position and size of the window or whether the action was successful.

example 1

example 2

Exclude own process

When activated, no actions are performed on itself.

exclude own process

Stay on top

If activated, auWin always stay on top of other programs.

stay on top

Window Title

The title of a window.

window title

Text

The text of a window. Only some windows return a text. You can get the text with the Display text action and use it for the Any part of the text select mode.

text

HWND

HWND means window handle. Each window has its own HWND. You can get the HWND with the Display HWND action and use it for the HWND / Window Handle select mode. This select mode can be useful when the window name changes. An example of a HWND is 0x00000000000802EC.

PID

PID means process ID or process identifier. Each process has its own PID and can have several windows. You can get the PID with the List selected windows action (the PID is in behind PID:) or with the task manager and use it for the PID / Process ID select mode. An example of an PID is 980.

License

MIT

Copyright (C) 2022 - 2023 dodaucy

About

auWin is a program with which you can easily edit window attributes and interact with windows.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages