Jump to content

Recommended Posts

Posted (edited)

With Windows 10 going end of life soon I have been forced to switch to Win11. The start menu in Win11 is horrible so I decided to write my own. This script will sit in the system tray and give you a clickable menu of all the shortcuts in the Start Menu folders. Just a simple menu with no advertisements shoved down your throat. Right now there are no icons for the menu items which I would like to fix but haven't figured out how.

Also because I'm constantly logging into new computers I also added a "UI Tweaks" functionality to configure Win11 options to my liking. Basically making it suck less. On first run the app will ask to apply these tweaks. It will only ask on first run but they can be applied later using the debug menu. The full list of tweaks is in the source code.

This is a work in progress but it's good enough for daily driving so I thought I should release it as-is. It certainly makes dealing with Win11 suck a lot less.

 

 

Win11_Classic_Start.zip

Edited by TomTheGeek
Removed compiled script. Please don't post those as some great companies consider them a virus which results in the website to be flagged.

-------------

Posted
10 hours ago, TomTheGeek said:

This is a work in progress but...

..it's got missing includes

"D:\Users\Tester\Downloads\au3.212707-win11-classic-start\Win11_Classic_Start.au3"(15,10) : error: can't open include file <Restart.au3>.
#Include <Restart.au3>
~~~~~~~~~^
"D:\Users\Tester\Downloads\au3.212707-win11-classic-start\Win11_Classic_Start.au3"(16,10) : error: can't open include file <ArrayMutliColSort.au3>.
#Include <ArrayMutliColSort.au3>
~~~~~~~~~^
"D:\Users\Tester\Downloads\au3.212707-win11-classic-start\Win11_Classic_Start.au3"(59,43) : error: _ArrayMultiColSort(): undefined function.
_ArrayMultiColSort($MenuArray, $aSortData)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"D:\Users\Tester\Downloads\au3.212707-win11-classic-start\Win11_Classic_Start.au3"(175,21) : error: _ScriptRestart(): undefined function.
    _ScriptRestart()
~~~~~~~~~~~~~~~~~~~~^
D:\Users\Tester\Downloads\au3.212707-win11-classic-start\Win11_Classic_Start.au3 - 4 error(s), 0 warning(s)
!>23:20:20 AU3Check ended. Press F4 to jump to next error. rc:2

so either add #Include <Restart.au3> ; http://get it from here link
Or, zip all the au3 files and icon ( that to me is a better idea ).

Thanks for sharing @TomTheGeek

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

  • Moderators
Posted

TomTheGeek,

The compiled script in the OP has been removed again. Please do not put it back a third time.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted

Meanwhile also source codes will be classified as malware!

Microsoft Defender Antivirus has detected malware or other potentially unwanted software.
 For more information please see the following:
https://go.microsoft.com/fwlink/?linkid=37020&name=Trojan:AutoIt/Prcablt.SD!MTB&threatid=2147740918&enterprise=1
    Name: Trojan:AutoIt/Prcablt.SD!MTB
    ID: 2147740918
    Severity: Severe
    Category: Trojan
    Path: containerfile:_C:\Coding\AU3\Internet\Mp3SearchEngine\Mp3SearchEngine v1.0.8.8.au3; containerfile:_C:\Coding\AU3\Tools\WallpaperBank\WallpaperBank v1.0.2.0.au3; file:_C:\Coding\AU3\Internet\Mp3SearchEngine2\Mp3SearchEngine_v2.0.1.1.au3; file:_C:\Coding\AU3\Internet\Mp3SearchEngine\Mp3SearchEngine v1.0.8.8.au3->(UTF-8); file:_C:\Coding\AU3\SystemInfo\CompStats\Computer Stats Utility 2.0.2.0.au3; file:_C:\Coding\AU3\Tools\HTML Imager\HTML Imager v1.0.1.1.au3; file:_C:\Coding\AU3\Tools\HTML Imager\HTML Imager v1.0.1.2.au3; file:_C:\Coding\AU3\Tools\HTML Imager\HTML Imager v1.0.1.3.au3; file:_C:\Coding\AU3\Tools\ImageSplitter\ImageSplitter v1.0.0.7.au3; file:_C:\Coding\AU3\Tools\Mp3SearchEngine\Mp3SearchEngine v1.0.9.2.au3; file:_C:\Coding\AU3\Tools\WallpaperBank\WallpaperBank v1.0.2.0.au3->(UTF-8);
    Detection Origin: Local machine
    Detection Type: Concrete
    Detection Source: System
    User: NT AUTHORITY\SYSTEM
    Process Name: C:\Programme\Editor\Notepad3\Notepad3.exe
    Security intelligence Version: AV: 1.421.1531.0, AS: 1.421.1531.0, NIS: 1.421.1531.0
    Engine Version: AM: 1.1.24090.11, NIS: 1.1.24090.11

:puke:

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted (edited)

@TomTheGeek

I only took a quick eye to your code. I  have 3 remarks:

1) prefer pass function names as such instead as string. E.g. TrayItemSetOnEvent($trayID_reload, ReloadMenu)
2) shouldn't text arguments to ShellExecuteEx use wchar instead of char? Else, if e.g. a path contains Unicode characters outside current codepage, expect failure.
3) Beware of changing global variables locally.
Func LaunchTask()
    Local $i = ...

Edited by jchd

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Posted
7 hours ago, UEZ said:

Meanwhile also source codes will be classified as malware!

Microsoft Defender Antivirus has detected malware or other potentially unwanted software.
 For more information please see the following:
https://go.microsoft.com/fwlink/?linkid=37020&name=Trojan:AutoIt/Prcablt.SD!MTB&threatid=2147740918&enterprise=1
    Name: Trojan:AutoIt/Prcablt.SD!MTB
    ID: 2147740918
    Severity: Severe
    Category: Trojan
    Path: containerfile:_C:\Coding\AU3\Internet\Mp3SearchEngine\Mp3SearchEngine v1.0.8.8.au3; containerfile:_C:\Coding\AU3\Tools\WallpaperBank\WallpaperBank v1.0.2.0.au3; file:_C:\Coding\AU3\Internet\Mp3SearchEngine2\Mp3SearchEngine_v2.0.1.1.au3; file:_C:\Coding\AU3\Internet\Mp3SearchEngine\Mp3SearchEngine v1.0.8.8.au3->(UTF-8); file:_C:\Coding\AU3\SystemInfo\CompStats\Computer Stats Utility 2.0.2.0.au3; file:_C:\Coding\AU3\Tools\HTML Imager\HTML Imager v1.0.1.1.au3; file:_C:\Coding\AU3\Tools\HTML Imager\HTML Imager v1.0.1.2.au3; file:_C:\Coding\AU3\Tools\HTML Imager\HTML Imager v1.0.1.3.au3; file:_C:\Coding\AU3\Tools\ImageSplitter\ImageSplitter v1.0.0.7.au3; file:_C:\Coding\AU3\Tools\Mp3SearchEngine\Mp3SearchEngine v1.0.9.2.au3; file:_C:\Coding\AU3\Tools\WallpaperBank\WallpaperBank v1.0.2.0.au3->(UTF-8);
    Detection Origin: Local machine
    Detection Type: Concrete
    Detection Source: System
    User: NT AUTHORITY\SYSTEM
    Process Name: C:\Programme\Editor\Notepad3\Notepad3.exe
    Security intelligence Version: AV: 1.421.1531.0, AS: 1.421.1531.0, NIS: 1.421.1531.0
    Engine Version: AM: 1.1.24090.11, NIS: 1.1.24090.11

:puke:

I don't see any of my source files in that report? None of the paths listed are my code.

-------------

Posted

Never care about Defender hallucinations.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Posted
6 hours ago, jchd said:

@TomTheGeek

I only took a quick eye to your code. I  have 3 remarks:

1) prefer pass function names as such instead as string. E.g. TrayItemSetOnEvent($trayID_reload, ReloadMenu)
2) shouldn't text arguments to ShellExecuteEx use wchar instead of char? Else, if e.g. a path contains Unicode characters outside current codepage, expect failure.
3) Beware of changing global variables locally.
Func LaunchTask()
    Local $i = ...

1) Dunno, I just copied the style in the docs - https://www.autoitscript.com/autoit3/docs/functions/TrayItemSetOnEvent.htm
2) Maybe? Not sure how/where I would change that.
3) Fixed

-------------

Posted

AutoIt functions can be passed either as string:
TrayItemSetOnEvent($trayID_reload, "ReloadMenu")
or as function:
TrayItemSetOnEvent($trayID_reload, ReloadMenu)

The latter form allows AutoIt to detect errors at check/compile time, rather than runtime.

    Local $stINFO = DllStructCreate("long;long;long;ptr;ptr;ptr;ptr;long;long;long;ptr;long;long;long;long")
    Local $stVerb = DllStructCreate("wchar[15];wchar")
    Local $stPath = DllStructCreate("wchar[255];wchar")
    Local $stArgs = DllStructCreate("wchar[255];wchar")
    Local $stWDir = DllStructCreate("wchar[255];wchar")

 

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Posted

Didn't look further but the source of the include should show what the issue is

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

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...