Maffe811 Posted June 28, 2014 Share Posted June 28, 2014 I have made a borderless faker, which moves the window X pixels over the edge, which gives the illusion of borderless mode and works perfectly fine. But the edge goes over in my other screens and i was just wondering if it's actually possible to remove the border of the other programs? [font="helvetica, arial, sans-serif"]Hobby graphics artist, using gimp.Automating pc stuff, using AutoIt.Listening to music, using Grooveshark.[/font]Scripts:[spoiler]Simple ScreenshotSaves you alot of trouble when taking a screenshot!Don't remember what happened with this, but aperantly the exe is all i got.If you don't want to run it, simply don't._IsRun UDFIt figures out if the script has ben ran before based on the info in a ini file.If you don't want to use exactly what i wrote, you can use it as inspiration.[/spoiler] Link to comment Share on other sites More sharing options...
FireFox Posted June 28, 2014 Share Posted June 28, 2014 Hi,Take a look at the WinList, _WinAPI_SetWindowLong functions in the helpfile.Br, FireFox. Link to comment Share on other sites More sharing options...
Maffe811 Posted July 4, 2014 Author Share Posted July 4, 2014 First, thanks! Second, i tried doing this: #include <WinAPI.au3> #include <WindowsConstants.au3> Func BorderRemover() $Handle = WinGetHandle("") _WinAPI_SetWindowLong($Handle, $GWL_STYLE, $WS_POPUPWINDOW) ;~ _WinAPI_SetWindowLong($Handle, $GWL_EXSTYLE, $WS_EX_CLIENTEDGE) EndFunc Func Quit() Exit EndFunc ;==>Quit HotKeySet("{F9}", "BorderRemover") HotKeySet("{F10}", "Quit") While 1 Sleep(40) WEnd And tried it on notepad, made notepad active and hit F9, but no matter what the 2nd and 3rd parameter of _WinAPI_SetWindowLong is set to it does the same thing: Remove the top bar and replace it with random stuff from the screen or white space and then freezes the program. Any suggestions? [font="helvetica, arial, sans-serif"]Hobby graphics artist, using gimp.Automating pc stuff, using AutoIt.Listening to music, using Grooveshark.[/font]Scripts:[spoiler]Simple ScreenshotSaves you alot of trouble when taking a screenshot!Don't remember what happened with this, but aperantly the exe is all i got.If you don't want to run it, simply don't._IsRun UDFIt figures out if the script has ben ran before based on the info in a ini file.If you don't want to use exactly what i wrote, you can use it as inspiration.[/spoiler] Link to comment Share on other sites More sharing options...
FireFox Posted July 5, 2014 Share Posted July 5, 2014 Hi,As I said, take a look at the example in the helpfile.You will see that it's not as simple as to call setwindowlong with the only style you want to set.Br, FireFox. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now