TomTheGeek Posted February 14 Posted February 14 (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 Tuesday at 06:04 PM 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. argumentum 1 -------------
argumentum Posted February 15 Posted February 15 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.
TomTheGeek Posted Monday at 08:01 PM Author Posted Monday at 08:01 PM > ....it's got missing includes Whoops sorry about that, all files have been uploaded. argumentum 1 -------------
Moderators Melba23 Posted Tuesday at 07:06 AM Moderators Posted Tuesday at 07:06 AM TomTheGeek, The compiled script in the OP has been removed again. Please do not put it back a third time. M23 TomTheGeek 1 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
UEZ Posted Tuesday at 09:30 AM Posted Tuesday at 09:30 AM 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 TheDcoder 1 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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
jchd Posted Tuesday at 10:06 AM Posted Tuesday at 10:06 AM (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 Tuesday at 10:07 AM by jchd TomTheGeek 1 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 hereRegExp tutorial: enough to get startedPCRE 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)
TomTheGeek Posted Tuesday at 04:44 PM Author Posted Tuesday at 04:44 PM 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 I don't see any of my source files in that report? None of the paths listed are my code. -------------
jchd Posted Tuesday at 04:50 PM Posted Tuesday at 04:50 PM Never care about Defender hallucinations. TomTheGeek 1 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 hereRegExp tutorial: enough to get startedPCRE 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)
TomTheGeek Posted Tuesday at 05:03 PM Author Posted Tuesday at 05:03 PM 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 -------------
jchd Posted Tuesday at 05:12 PM Posted Tuesday at 05:12 PM 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") TomTheGeek 1 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 hereRegExp tutorial: enough to get startedPCRE 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)
TomTheGeek Posted Tuesday at 06:06 PM Author Posted Tuesday at 06:06 PM Ok I've removed the quotes in TrayItemSetOnEvent. Tried changing the chars to wchar but then the function stops working. -------------
jchd Posted Tuesday at 06:14 PM Posted Tuesday at 06:14 PM 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 hereRegExp tutorial: enough to get startedPCRE 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)
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