argumentum Posted Sunday at 02:42 AM Share Posted Sunday at 02:42 AM (edited) These border colors are set by the app every time the window is created. The example for this is already posted. Since this is more of an app than an example, I opened a thread here for support. The script and compilation to .exe is the files area for download. According to Microsoft, the possibility to set the border color is available from Windows 11 Build 22000 onwards. Edited Sunday at 04:01 AM by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Solution argumentum Posted Sunday at 02:42 AM Author Solution Share Posted Sunday at 02:42 AM (edited) FAQ / Help Q: What does this app do ? A: Changes the border color around other apps. Q: Why does it ask for "Do you want to allow this app to make changes to your device" ? A: To change the border color of an elevated window, this app needs to be elaveted too. Otherwise only user level apps will have a custom border. Q: How can I stop this from asking to elevate each time I use it ? A: In the .INI file, set AskToElevate=0 Q: How can I have it elevate itself ?, How do I make this app load on boot ? A: There is a menu option to set a Task Scheduler entry to run on user login. Use that. Each user, if more than one, will have to set this for their enviroment. Q: I changed the settings and nothing happened. A: Right click the tray icon and select Reload from the menu. Q: What happens when I double click the try icon ? A: It switches alternate colors Yes/No when this app is elevated. Q: What happens when I right click the try icon ? A: It shows a menu with options to choose from. Q: Some windows don't get the border colored. Why ? A: The elevation of this app is lower, the app does not use that Windows API, the window is a child window, etc. Q: This is not working on my device ! A: It has to be Windows 11 (22000) onwards. https://learn.microsoft.com/en-us/windows/win32/api/dwmapi/ne-dwmapi-dwmwindowattribute Q: This app say that it will not work on my OS build, but I believe it would. A: Set SkipOsBuildCheck=1 in the INI file to skip the check. Q: There are more than one user on this PC. Can we have each our own settings ? A: Open the INI file and set MultiUser=1 That will keep a INI file for each user. Q: The other user on my PC does not like this. What can I do ? A: Set in the INI file ExemptUser=1. Then this will not run for that user. Don't set mutiuser=1 is another option. Q: How do I install this app ? A: Make a folder and put the files there. Run the app. Q: How do I uninstall this app ? A: Remove from TaskScheduler ( if present ), Exit the app and delete it. This is a portable app without an installer. Q: How much is the pro version ? A: This is it. No "pro" version. Always free. Nonetheless donations are always welcomed. Q: My question is not listed. Where can I ask ? A: In the forum at: https://www.autoitscript.com/forum/topic/212446-win-11-gui-set-border-color-help-area/ These are all the questions I can imagine a new user of this could ask. Edited Sunday at 05:43 AM by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
argumentum Posted Sunday at 05:47 AM Author Share Posted Sunday at 05:47 AM What's New in Version 0.2411.9.34 Cosmetics mainly: Set the icon grayed out if the code is busy waiting for the user and the user kept clicking the tray. Set the color chooser TOPMOST, to avoid getting behind another window. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
argumentum Posted Sunday at 07:17 AM Author Share Posted Sunday at 07:17 AM (edited) What's New in Version 0.2411.9.35 Added to (optionally) watch for window redraw. It catches more windows with it. But it might use more CPU. In my testing It didn't, therefore is ON by default. Edited Sunday at 07:18 AM by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
argumentum Posted Sunday at 08:14 AM Author Share Posted Sunday at 08:14 AM What's New in Version 0.2411.9.36 Fixed: missing "ShowIcon". Have no idea when or how I removed that line of code Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
argumentum Posted Sunday at 09:38 PM Author Share Posted Sunday at 09:38 PM What's New in Version 0.2411.9.37 Fixed: If Task scheduled was for a path but the app moved paths, it would fail to load. The parent process now waits to oversee it's success or failure, and load either way, instead of exiting believing that it should work. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. 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