Jump to content

App Control Tray & Policy Manager (App Control for Business)


Go to solution Solved by WildByDesign,

Recommended Posts

Posted (edited)

App Control Tray & Policy Manager (WildByDesign/WDACTrayTool: System Tray Tool for WDAC)

This is likely my most powerful and featured creation with AutoIt. As always, I want to share and give back anything that I create in case it may benefit others.

Features:

  • system tray tool for managing App Control for Business (WDAC) policies
  • GUI for managing App Control for Business (WDAC) policies
  • scheduled tasks
  • notifications
  • auto dark-light mode for GUI and system tray
  • built on GitHub Actions

Screenshots:

image.thumb.png.47fb40a3eb164d4bed85691cadb568f3.png

image.png.4a6b06e3df6b19e5a765275cd817d5b7.pngimage.png.83840a8447d474dc5b0cb00ee4c57e7c.png

 

Includes:

Edited by WildByDesign
  • Solution
Posted

So I just had my very first “Aha!” moment is my AutoIt journey and it proved to be extremely beneficial. Beginner Level 2 unlocked! 😄

App Control Policy Manager was my first AutoIt GUI app. The underlying functionality and logic is extremely powerful and I am proud of that. However, the UI/UX is not its strong point.

Problems:

  • too many buttons and controls visible
  • harder for me to resize and DPI scaling

Goals:

  • ensure policy ListView is main focal point as it should be
  • move all button functions into menu bar
  • move info from status label into status bar

This would make sure that the policy ListView is the star of the show and with less distractions. It would also make it so much easier to deal with resizing and DPI scaling changes.

Challenges:

  • dark mode menu bar (success)
  • dark mode status bar

There was absolutely no way I was going to do this GUI transformation if I could not achieve a dark mode menu bar.
 

Last night and this morning I was able to achieve a fully dark mode, beautiful menu bar. It was quick and easy to add my already existing functions to the menu items and everything is working.

I am going to try to tackle the dark mode status bar later today.

I am posting from my phone right now so I can’t share a current screenshot or code at the moment but I will later in the day.

Posted

Current working screenshot:

image.png.5ee389dcaf2852836273136a1328d033.png

When comparing the screenshot from the OP to this one, it is much less cluttered with buttons everywhere. The giant Current Policy Information label was able to be reduced into the status bar.

  • dark mode menu bar complete
  • dark mode status bar complete

I realized that there were no perfect solutions to dark mode menu bar after searching the forums for a few days. The sub-classing methods looked pretty good but still left the "gripper" or "resizer" part in the buttom right corner as a different color which was no good.

I ended up using the _GUICtrlSimpleStatusBar_* functions from MrCreatoR. I was able to fix it so that it resizes perfectly and I can also update the status content easily.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...