Resize window without elements adjusting/moving?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
scriptomundo
Posts: 44
Joined: 08 Nov 2021, 23:40

Resize window without elements adjusting/moving?

Post by scriptomundo » 17 Jan 2022, 19:04

Hi,

I am after some possible solution:

Aim: to remove all visual elements of chrome window except for a discord conversation feed.

I am using this code:

Code: Select all

WinSet, Region, 320-81 W407 H970, %targetwindow% ;remove titlebar and sidebar.
It is *almost* perfect, however there's still a faint outline of the window.

Is there a way to resize the window to this new size, (I can't use WinMove as this causes the window elements to adjust - the side pane of discord and top bar of chrome browser will be in view).

Thanks

scriptomundo
Posts: 44
Joined: 08 Nov 2021, 23:40

Re: Resize window without elements adjusting/moving?

Post by scriptomundo » 18 Jan 2022, 00:29

I used a chrome add on for this in the end! don't think it was possible via ahk from what I've read

Post Reply

Return to “Ask for Help (v1)”