AHK script for Vulkan Borderless
Spoiler
#UseHook On
F11:: WinGet, TempWindowID, ID, A If (WindowID != TempWindowID) { WindowID:=TempWindowID WindowState:=0 } If (WindowState != 1) { WinGetPos, WinPosX, WinPosY, WindowWidth, WindowHeight, ahk_id %WindowID% WinSet, Style, -0xC40000, ahk_id %WindowID% WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight ;Hide Windows Task Bar and Start Button. (Remove the following two lines if you don't want that behaviour) ;WinHide ahk_class Shell_TrayWnd ;WinHide Start ahk_class Button } Else { WinSet, Style, +0xC40000, ahk_id %WindowID% WinMove, ahk_id %WindowID%, , WinPosX, WinPosY, WindowWidth, WindowHeight ;Show the task bar again ;WinShow ahk_class Shell_TrayWnd ;WinShow Start ahk_class Button } WindowState:=!WindowState return Requires https://www.autohotkey.com/download/ to be installed on PC Copy /paste text in notepad /notepad++ Save file as example: borderless.ahk 1. double click to run it. 2. Start the game, go to options change to window mode. 3. Then press F11 and ahk script will do its job. Stretch game screen to fullscreen borderless. I have been using it for couple years on different games. Tested on Poe since Vulkan is released , no problems Have fun P.S Does not interfere with game. Does not modify /change anything. It just reads and stretches screen Intended result: No flickering when alt/tabing or dualscreen work. Etc Last edited by IceLancerSR#0218 on Jun 5, 2020, 9:33:41 AM Last bumped on Apr 23, 2023, 3:44:24 PM
|
![]() |
i hope i dont need an AHK script to use borderless in 2020 wth is this lol.
|
![]() |
" There is no need to be rude. Code scripts are code sign of 21+ century. Welcome Game is nothing but coded scripts :-) Last edited by IceLancerSR#0218 on Jun 5, 2020, 3:57:57 PM
|
![]() |
Hey thank you for this, fixed the flickering for me :)
Last edited by archevil7#0595 on Jun 17, 2020, 4:13:57 PM
|
![]() |
" not the same thing, and he's right. I know vulkan's in beta but why do we need a third party program for borderless windowed on a PC game in 2020. Hopefully only because it's in beta |
![]() |
" It's because this is GGG and lots of things that should be coded into the game are not, like being able to do item searches for trading. So GGG may never get around to putting it in the graphics settings configuration menu. "You've got to grind, grind, grind at that grindstone..."
Necessity may be the mother of invention, but poor QoP in PoE is the father of frustration. The perfect solution to fix Trade Chat: www.pathofexile.com/forum/view-thread/2247070 |
![]() |
Thank you very much for the code, I have modified it for my use with directx12 windowed mode to have a kind of pseudo windowed fullscreen, using 1680x800 on my 1680x1050 monitor to get a widescreen effect.
code
#UseHook On
F11:: WinGet, TempWindowID, ID, A If (WindowID != TempWindowID) { WindowID:=TempWindowID WindowState:=0 } If (WindowState != 1) { WinGetPos, WinPosX, WinPosY, WindowWidth, WindowHeight, ahk_id %WindowID% ;the next line removes the title bar WinSet, Style, -0xC00000, ahk_id %WindowID% ;for some reason the game resizes the window and sets it in a 7, 7 offset for me, the next line is set with offsets in mind, the result for me is window at 0, 0, size 1680x800 WinMove, ahk_id %WindowID%, , -7, -7, 1694, 814 } Else { WinSet, Style, +0xC00000, ahk_id %WindowID% WinMove, ahk_id %WindowID%, , WinPosX, WinPosY, WindowWidth, WindowHeight } WindowState:=!WindowState return |
![]() |