-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
157 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 kenclaron | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
Copyright (c) 2021 Dmitry Britov | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace StartMenuAlternativeApp | ||
{ | ||
class Program | ||
{ | ||
[DllImport("user32.dll")] | ||
static extern void keybd_event(byte bVk, byte bScan, uint dwFlags, | ||
UIntPtr dwExtraInfo); | ||
const byte KEY_CTRL = 0x11; | ||
const byte KEY_ESC = 0x1B; | ||
const uint KEYEVENTF_KEYUP = 0x02; | ||
|
||
public static void OpenStartMenu() | ||
{ | ||
keybd_event(KEY_CTRL, 0, 0, UIntPtr.Zero); | ||
keybd_event(KEY_ESC, 0, 0, UIntPtr.Zero); | ||
|
||
keybd_event(KEY_CTRL, 0, KEYEVENTF_KEYUP, UIntPtr.Zero); | ||
keybd_event(KEY_ESC, 0, KEYEVENTF_KEYUP, UIntPtr.Zero); | ||
|
||
return; | ||
} | ||
|
||
static void Main() | ||
{ | ||
OpenStartMenu(); | ||
|
||
return; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
https://go.microsoft.com/fwlink/?LinkID=208121. | ||
--> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration>Release</Configuration> | ||
<Platform>Any CPU</Platform> | ||
<PublishDir>bin\Release\net5.0\publish\</PublishDir> | ||
<PublishProtocol>FileSystem</PublishProtocol> | ||
<TargetFramework>net5.0</TargetFramework> | ||
<RuntimeIdentifier>win-x86</RuntimeIdentifier> | ||
<SelfContained>false</SelfContained> | ||
<PublishSingleFile>False</PublishSingleFile> | ||
<PublishReadyToRun>False</PublishReadyToRun> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
https://go.microsoft.com/fwlink/?LinkID=208121. | ||
--> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<History>True|2021-06-11T16:04:48.1836389Z;True|2021-06-11T12:11:10.2766566+03:00;True|2021-06-11T12:10:07.9574109+03:00;True|2021-06-11T12:07:28.3588198+03:00;</History> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Start Menu - Alternative App | ||
============================ | ||
|
||
About | ||
----- | ||
This application can be pinned to the taskbar and open the Windows Start Menu. | ||
To get a better quality of use, I recommend using it together with [CenterTaskbar by mdhiggins](https://github.com/mdhiggins/CenterTaskbar) | ||
|
||
Usage | ||
-------------------------- | ||
1. Press the Right Mouse Button on the application "Start Menu - Alternative App.exe"; | ||
2. Click "Pin to taskbar". | ||
|
||
Requirements | ||
------------ | ||
* Windows 10 1903 (build 18362) or newer; | ||
* [.NET 5.0](https://dotnet.microsoft.com/download/dotnet/5.0) or newer. | ||
|
||
License | ||
------- | ||
Licensed under the MIT license. | ||
> Microsoft Windows, Logo are trademarks of the Microsoft group of companies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>WinExe</OutputType> | ||
<TargetFramework>net5.0</TargetFramework> | ||
<ApplicationIcon>Icon.ico</ApplicationIcon> | ||
<StartupObject /> | ||
<AssemblyName>Start Menu - Alternative App</AssemblyName> | ||
<RootNamespace>Start Menu - Alternative App</RootNamespace> | ||
<Authors>Dmitry Britov</Authors> | ||
<Company /> | ||
<Product>Start Menu</Product> | ||
<Copyright /> | ||
<PackageLicenseFile>LICENSE</PackageLicenseFile> | ||
<PackageId>DmitryBritov.StartMenuAlternativeApp</PackageId> | ||
<Description>This application can be pinned to the taskbar and open the Windows start menu.</Description> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="LICENSE"> | ||
<Pack>True</Pack> | ||
<PackagePath></PackagePath> | ||
</None> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<_LastSelectedProfileId>C:\Users\kenclaron\source\repos\WindowsStartMenu\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.31321.278 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Start Menu - Alternative App", "Start Menu - Alternative App.csproj", "{DF2B194F-92F5-4EF5-8598-097F97A46583}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{DF2B194F-92F5-4EF5-8598-097F97A46583}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{DF2B194F-92F5-4EF5-8598-097F97A46583}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{DF2B194F-92F5-4EF5-8598-097F97A46583}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{DF2B194F-92F5-4EF5-8598-097F97A46583}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {5546F2E6-37F8-49D0-BDEA-9D86B4830EB6} | ||
EndGlobalSection | ||
EndGlobal |