2013-11-03 23:53:49 +13:00
|
|
|
|
#region License Information (GPL v3)
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
ShareX - A program that allows you to take screenshots and share any file type
|
2024-01-03 12:57:14 +13:00
|
|
|
|
Copyright (c) 2007-2024 ShareX Team
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
|
|
|
|
|
Optionally you can also view the license at <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#endregion License Information (GPL v3)
|
|
|
|
|
|
2023-05-10 20:00:00 +12:00
|
|
|
|
using ShareX.HelpersLib;
|
2013-11-03 23:53:49 +13:00
|
|
|
|
using System;
|
|
|
|
|
using System.ComponentModel;
|
2018-10-31 06:58:35 +13:00
|
|
|
|
|
2022-02-04 22:05:43 +13:00
|
|
|
|
#if MicrosoftStore
|
2018-09-17 09:29:06 +12:00
|
|
|
|
using Windows.ApplicationModel;
|
|
|
|
|
#endif
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
namespace ShareX
|
|
|
|
|
{
|
2015-09-12 12:09:05 +12:00
|
|
|
|
public enum ShareXBuild
|
|
|
|
|
{
|
|
|
|
|
Debug,
|
|
|
|
|
Release,
|
2015-09-16 11:57:27 +12:00
|
|
|
|
Steam,
|
2017-12-11 03:58:47 +13:00
|
|
|
|
MicrosoftStore,
|
2015-09-16 11:57:27 +12:00
|
|
|
|
Unknown
|
2015-09-12 12:09:05 +12:00
|
|
|
|
}
|
|
|
|
|
|
2024-04-02 18:29:07 +13:00
|
|
|
|
public enum UpdateChannel // Localized
|
|
|
|
|
{
|
|
|
|
|
Release,
|
|
|
|
|
PreRelease,
|
|
|
|
|
Dev
|
|
|
|
|
}
|
|
|
|
|
|
2014-10-03 12:19:04 +13:00
|
|
|
|
public enum SupportedLanguage
|
|
|
|
|
{
|
2014-10-19 06:38:34 +13:00
|
|
|
|
Automatic, // Localized
|
2015-05-04 04:24:21 +12:00
|
|
|
|
[Description("Nederlands (Dutch)")]
|
|
|
|
|
Dutch,
|
2014-10-04 02:54:41 +13:00
|
|
|
|
[Description("English")]
|
2014-10-03 12:19:04 +13:00
|
|
|
|
English,
|
2015-01-05 05:30:12 +13:00
|
|
|
|
[Description("Français (French)")]
|
2015-01-15 19:17:18 +13:00
|
|
|
|
French,
|
2015-05-04 04:24:21 +12:00
|
|
|
|
[Description("Deutsch (German)")]
|
|
|
|
|
German,
|
2023-03-27 18:37:57 +13:00
|
|
|
|
[Description("עִברִית (Hebrew)")]
|
|
|
|
|
Hebrew,
|
2015-01-18 13:53:32 +13:00
|
|
|
|
[Description("Magyar (Hungarian)")]
|
|
|
|
|
Hungarian,
|
2018-04-20 09:54:50 +12:00
|
|
|
|
[Description("Bahasa Indonesia (Indonesian)")]
|
|
|
|
|
Indonesian,
|
2017-07-24 06:57:10 +12:00
|
|
|
|
[Description("Italiano (Italian)")]
|
|
|
|
|
Italian,
|
2020-10-14 00:42:24 +13:00
|
|
|
|
[Description("日本語 (Japanese)")]
|
|
|
|
|
Japanese,
|
2015-04-02 03:24:36 +13:00
|
|
|
|
[Description("한국어 (Korean)")]
|
|
|
|
|
Korean,
|
2018-08-07 22:32:09 +12:00
|
|
|
|
[Description("Español mexicano (Mexican Spanish)")]
|
|
|
|
|
MexicanSpanish,
|
2019-08-30 19:39:55 +12:00
|
|
|
|
[Description("فارسی (Persian)")]
|
|
|
|
|
Persian,
|
2022-07-04 08:17:03 +12:00
|
|
|
|
[Description("Polski (Polish)")]
|
|
|
|
|
Polish,
|
2020-05-08 23:23:38 +12:00
|
|
|
|
[Description("Português (Portuguese)")]
|
|
|
|
|
Portuguese,
|
2015-08-12 07:23:48 +12:00
|
|
|
|
[Description("Português-Brasil (Portuguese-Brazil)")]
|
|
|
|
|
PortugueseBrazil,
|
2022-06-28 22:48:00 +12:00
|
|
|
|
[Description("Română (Romanian)")]
|
|
|
|
|
Romanian,
|
2015-10-16 09:06:58 +13:00
|
|
|
|
[Description("Русский (Russian)")]
|
|
|
|
|
Russian,
|
2015-01-15 19:17:18 +13:00
|
|
|
|
[Description("简体中文 (Simplified Chinese)")]
|
2015-01-18 08:28:30 +13:00
|
|
|
|
SimplifiedChinese,
|
2015-04-09 07:15:40 +12:00
|
|
|
|
[Description("Español (Spanish)")]
|
|
|
|
|
Spanish,
|
2017-03-19 19:59:01 +13:00
|
|
|
|
[Description("繁體中文 (Traditional Chinese)")]
|
|
|
|
|
TraditionalChinese,
|
2017-03-22 23:51:48 +13:00
|
|
|
|
[Description("Türkçe (Turkish)")]
|
|
|
|
|
Turkish,
|
2018-04-20 08:49:26 +12:00
|
|
|
|
[Description("Українська (Ukrainian)")]
|
|
|
|
|
Ukrainian,
|
2015-10-16 20:39:35 +13:00
|
|
|
|
[Description("Tiếng Việt (Vietnamese)")]
|
2019-08-30 19:39:55 +12:00
|
|
|
|
Vietnamese
|
2014-10-03 12:19:04 +13:00
|
|
|
|
}
|
|
|
|
|
|
2013-11-03 23:53:49 +13:00
|
|
|
|
public enum TaskJob
|
|
|
|
|
{
|
2014-06-05 03:20:13 +12:00
|
|
|
|
Job,
|
2013-11-03 23:53:49 +13:00
|
|
|
|
DataUpload,
|
|
|
|
|
FileUpload,
|
|
|
|
|
TextUpload,
|
2014-07-08 04:02:32 +12:00
|
|
|
|
ShortenURL,
|
2015-08-17 12:01:10 +12:00
|
|
|
|
ShareURL,
|
2016-07-20 12:54:17 +12:00
|
|
|
|
Download,
|
2015-08-17 12:01:10 +12:00
|
|
|
|
DownloadUpload
|
2013-11-03 23:53:49 +13:00
|
|
|
|
}
|
|
|
|
|
|
2015-08-04 19:31:43 +12:00
|
|
|
|
public enum TaskStatus
|
|
|
|
|
{
|
|
|
|
|
InQueue,
|
|
|
|
|
Preparing,
|
|
|
|
|
Working,
|
|
|
|
|
Stopping,
|
2018-06-11 05:39:48 +12:00
|
|
|
|
Stopped,
|
|
|
|
|
Failed,
|
2016-02-23 07:28:02 +13:00
|
|
|
|
Completed,
|
|
|
|
|
History
|
2015-08-04 19:31:43 +12:00
|
|
|
|
}
|
|
|
|
|
|
2013-11-03 23:53:49 +13:00
|
|
|
|
[Flags]
|
2014-10-19 06:38:34 +13:00
|
|
|
|
public enum AfterCaptureTasks // Localized
|
2013-11-03 23:53:49 +13:00
|
|
|
|
{
|
|
|
|
|
None = 0,
|
2016-02-07 05:41:05 +13:00
|
|
|
|
ShowQuickTaskMenu = 1,
|
|
|
|
|
ShowAfterCaptureWindow = 1 << 1,
|
2023-06-09 17:21:15 +12:00
|
|
|
|
BeautifyImage = 1 << 2,
|
|
|
|
|
AddImageEffects = 1 << 3,
|
|
|
|
|
AnnotateImage = 1 << 4,
|
|
|
|
|
CopyImageToClipboard = 1 << 5,
|
|
|
|
|
PinToScreen = 1 << 6,
|
|
|
|
|
SendImageToPrinter = 1 << 7,
|
|
|
|
|
SaveImageToFile = 1 << 8,
|
|
|
|
|
SaveImageToFileWithDialog = 1 << 9,
|
|
|
|
|
SaveThumbnailImageToFile = 1 << 10,
|
|
|
|
|
PerformActions = 1 << 11,
|
|
|
|
|
CopyFileToClipboard = 1 << 12,
|
|
|
|
|
CopyFilePathToClipboard = 1 << 13,
|
|
|
|
|
ShowInExplorer = 1 << 14,
|
|
|
|
|
ScanQRCode = 1 << 15,
|
|
|
|
|
DoOCR = 1 << 16,
|
|
|
|
|
ShowBeforeUploadWindow = 1 << 17,
|
|
|
|
|
UploadImageToHost = 1 << 18,
|
|
|
|
|
DeleteFile = 1 << 19
|
2013-11-03 23:53:49 +13:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Flags]
|
2014-10-19 06:38:34 +13:00
|
|
|
|
public enum AfterUploadTasks // Localized
|
2013-11-03 23:53:49 +13:00
|
|
|
|
{
|
|
|
|
|
None = 0,
|
2015-12-04 04:18:46 +13:00
|
|
|
|
ShowAfterUploadWindow = 1,
|
|
|
|
|
UseURLShortener = 1 << 1,
|
|
|
|
|
ShareURL = 1 << 2,
|
|
|
|
|
CopyURLToClipboard = 1 << 3,
|
|
|
|
|
OpenURL = 1 << 4,
|
|
|
|
|
ShowQRCode = 1 << 5
|
2013-11-03 23:53:49 +13:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum CaptureType
|
|
|
|
|
{
|
2016-08-07 02:23:54 +12:00
|
|
|
|
Fullscreen,
|
2013-11-03 23:53:49 +13:00
|
|
|
|
Monitor,
|
|
|
|
|
ActiveMonitor,
|
|
|
|
|
Window,
|
|
|
|
|
ActiveWindow,
|
2016-08-07 02:23:54 +12:00
|
|
|
|
Region,
|
2015-04-27 07:52:01 +12:00
|
|
|
|
CustomRegion,
|
2013-11-03 23:53:49 +13:00
|
|
|
|
LastRegion
|
|
|
|
|
}
|
|
|
|
|
|
2015-06-22 18:56:18 +12:00
|
|
|
|
public enum ScreenRecordStartMethod
|
|
|
|
|
{
|
|
|
|
|
Region,
|
|
|
|
|
ActiveWindow,
|
2016-04-22 06:53:29 +12:00
|
|
|
|
CustomRegion,
|
2015-06-22 18:56:18 +12:00
|
|
|
|
LastRegion
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-10 20:00:00 +12:00
|
|
|
|
public enum HotkeyType // Localized
|
2013-11-03 23:53:49 +13:00
|
|
|
|
{
|
|
|
|
|
None,
|
2015-06-22 18:56:18 +12:00
|
|
|
|
// Upload
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Upload)]
|
2014-07-05 02:23:53 +12:00
|
|
|
|
FileUpload,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Upload)]
|
2014-08-14 00:33:14 +12:00
|
|
|
|
FolderUpload,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Upload)]
|
2013-11-03 23:53:49 +13:00
|
|
|
|
ClipboardUpload,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Upload)]
|
2013-11-03 23:53:49 +13:00
|
|
|
|
ClipboardUploadWithContentViewer,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Upload)]
|
2017-09-03 02:13:26 +12:00
|
|
|
|
UploadText,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Upload)]
|
2014-07-05 02:23:53 +12:00
|
|
|
|
UploadURL,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Upload)]
|
2014-04-06 18:08:43 +12:00
|
|
|
|
DragDropUpload,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Upload)]
|
2017-09-03 02:13:26 +12:00
|
|
|
|
ShortenURL,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Upload)]
|
2022-05-28 07:47:58 +12:00
|
|
|
|
TweetMessage,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Upload)]
|
2014-07-05 02:23:53 +12:00
|
|
|
|
StopUploads,
|
2015-06-22 18:56:18 +12:00
|
|
|
|
// Screen capture
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenCapture)]
|
2013-11-03 23:53:49 +13:00
|
|
|
|
PrintScreen,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenCapture)]
|
2013-11-03 23:53:49 +13:00
|
|
|
|
ActiveWindow,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenCapture)]
|
2024-01-14 16:30:14 +13:00
|
|
|
|
CustomWindow,
|
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenCapture)]
|
2013-11-03 23:53:49 +13:00
|
|
|
|
ActiveMonitor,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenCapture)]
|
2013-11-03 23:53:49 +13:00
|
|
|
|
RectangleRegion,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenCapture)]
|
2014-06-01 03:37:23 +12:00
|
|
|
|
RectangleLight,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenCapture)]
|
2015-04-02 00:12:21 +13:00
|
|
|
|
RectangleTransparent,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenCapture)]
|
2015-04-27 07:52:01 +12:00
|
|
|
|
CustomRegion,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenCapture)]
|
2013-11-03 23:53:49 +13:00
|
|
|
|
LastRegion,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenCapture)]
|
2015-09-27 20:55:42 +13:00
|
|
|
|
ScrollingCapture,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenCapture)]
|
2015-06-28 01:03:15 +12:00
|
|
|
|
AutoCapture,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenCapture)]
|
2015-06-28 01:03:15 +12:00
|
|
|
|
StartAutoCapture,
|
2015-06-22 18:56:18 +12:00
|
|
|
|
// Screen record
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenRecord)]
|
2013-11-03 23:53:49 +13:00
|
|
|
|
ScreenRecorder,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenRecord)]
|
2015-06-22 18:56:18 +12:00
|
|
|
|
ScreenRecorderActiveWindow,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenRecord)]
|
2016-04-22 06:53:29 +12:00
|
|
|
|
ScreenRecorderCustomRegion,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenRecord)]
|
2014-12-11 08:23:05 +13:00
|
|
|
|
StartScreenRecorder,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenRecord)]
|
2015-01-30 19:50:10 +13:00
|
|
|
|
ScreenRecorderGIF,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenRecord)]
|
2015-06-22 18:56:18 +12:00
|
|
|
|
ScreenRecorderGIFActiveWindow,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenRecord)]
|
2016-04-22 06:53:29 +12:00
|
|
|
|
ScreenRecorderGIFCustomRegion,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenRecord)]
|
2015-01-30 19:50:10 +13:00
|
|
|
|
StartScreenRecorderGIF,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenRecord)]
|
2021-09-28 00:09:04 +13:00
|
|
|
|
StopScreenRecording,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenRecord)]
|
2022-09-04 06:57:05 +12:00
|
|
|
|
PauseScreenRecording,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_ScreenRecord)]
|
2016-07-23 21:39:22 +12:00
|
|
|
|
AbortScreenRecording,
|
2015-06-22 18:56:18 +12:00
|
|
|
|
// Tools
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2015-01-26 20:24:26 +13:00
|
|
|
|
ColorPicker,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2013-11-03 23:53:49 +13:00
|
|
|
|
ScreenColorPicker,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2022-05-28 07:47:58 +12:00
|
|
|
|
Ruler,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2022-07-27 15:34:32 +12:00
|
|
|
|
PinToScreen,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2022-08-22 05:33:39 +12:00
|
|
|
|
PinToScreenFromScreen,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2022-08-22 05:33:39 +12:00
|
|
|
|
PinToScreenFromClipboard,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2022-08-22 05:33:39 +12:00
|
|
|
|
PinToScreenFromFile,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2015-06-22 18:56:18 +12:00
|
|
|
|
ImageEditor,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2023-05-10 22:06:42 +12:00
|
|
|
|
ImageBeautifier,
|
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2014-05-21 10:46:06 +12:00
|
|
|
|
ImageEffects,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2022-03-24 21:57:13 +13:00
|
|
|
|
ImageViewer,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2015-10-01 12:48:33 +13:00
|
|
|
|
ImageCombiner,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2020-04-06 05:57:10 +12:00
|
|
|
|
ImageSplitter,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2020-04-06 05:57:10 +12:00
|
|
|
|
ImageThumbnailer,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2020-04-06 05:57:10 +12:00
|
|
|
|
VideoConverter,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2015-10-01 12:48:33 +13:00
|
|
|
|
VideoThumbnailer,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2022-05-28 07:47:58 +12:00
|
|
|
|
OCR,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2022-05-28 07:47:58 +12:00
|
|
|
|
QRCode,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2022-05-28 07:47:58 +12:00
|
|
|
|
QRCodeDecodeFromScreen,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2022-05-28 07:47:58 +12:00
|
|
|
|
HashCheck,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2022-05-28 07:47:58 +12:00
|
|
|
|
IndexFolder,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2021-05-10 23:41:01 +12:00
|
|
|
|
ClipboardViewer,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2022-05-28 07:58:56 +12:00
|
|
|
|
BorderlessWindow,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2022-05-28 07:47:58 +12:00
|
|
|
|
InspectWindow,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2015-06-22 18:56:18 +12:00
|
|
|
|
MonitorTest,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Tools)]
|
2022-05-28 07:47:58 +12:00
|
|
|
|
DNSChanger,
|
2015-06-22 18:56:18 +12:00
|
|
|
|
// Other
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Other)]
|
2015-07-19 06:49:34 +12:00
|
|
|
|
DisableHotkeys,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Other)]
|
2016-04-07 04:15:25 +12:00
|
|
|
|
OpenMainWindow,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Other)]
|
2016-02-22 08:50:49 +13:00
|
|
|
|
OpenScreenshotsFolder,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Other)]
|
2016-03-03 23:05:59 +13:00
|
|
|
|
OpenHistory,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Other)]
|
2017-01-23 00:15:47 +13:00
|
|
|
|
OpenImageHistory,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Other)]
|
2017-01-23 01:41:20 +13:00
|
|
|
|
ToggleActionsToolbar,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Other)]
|
2021-10-03 10:05:43 +13:00
|
|
|
|
ToggleTrayMenu,
|
2023-05-10 20:00:00 +12:00
|
|
|
|
[Category(EnumExtensions.HotkeyType_Category_Other)]
|
2017-01-23 01:41:20 +13:00
|
|
|
|
ExitShareX
|
2013-11-03 23:53:49 +13:00
|
|
|
|
}
|
|
|
|
|
|
2021-10-15 03:47:04 +13:00
|
|
|
|
public enum ToastClickAction // Localized
|
2014-03-31 02:33:44 +13:00
|
|
|
|
{
|
2018-11-24 03:27:30 +13:00
|
|
|
|
CloseNotification,
|
2014-03-31 02:47:10 +13:00
|
|
|
|
AnnotateImage,
|
2014-03-31 02:33:44 +13:00
|
|
|
|
CopyImageToClipboard,
|
2021-03-15 14:15:16 +13:00
|
|
|
|
CopyFile,
|
|
|
|
|
CopyFilePath,
|
2015-07-15 02:02:06 +12:00
|
|
|
|
CopyUrl,
|
2014-03-31 02:33:44 +13:00
|
|
|
|
OpenFile,
|
|
|
|
|
OpenFolder,
|
2014-03-31 02:47:10 +13:00
|
|
|
|
OpenUrl,
|
2022-07-23 12:15:54 +12:00
|
|
|
|
Upload,
|
|
|
|
|
PinToScreen
|
2014-03-31 02:33:44 +13:00
|
|
|
|
}
|
|
|
|
|
|
2021-10-15 03:47:04 +13:00
|
|
|
|
public enum ThumbnailViewClickAction // Localized
|
|
|
|
|
{
|
|
|
|
|
Default,
|
2021-10-16 07:12:12 +13:00
|
|
|
|
Select,
|
2021-10-15 03:47:04 +13:00
|
|
|
|
OpenImageViewer,
|
|
|
|
|
OpenFile,
|
|
|
|
|
OpenFolder,
|
|
|
|
|
OpenURL,
|
|
|
|
|
EditImage
|
|
|
|
|
}
|
|
|
|
|
|
2014-10-19 06:38:34 +13:00
|
|
|
|
public enum FileExistAction // Localized
|
2014-03-13 22:13:02 +13:00
|
|
|
|
{
|
|
|
|
|
Ask,
|
|
|
|
|
Overwrite,
|
2014-03-13 23:05:24 +13:00
|
|
|
|
UniqueName,
|
2014-03-13 22:13:02 +13:00
|
|
|
|
Cancel
|
|
|
|
|
}
|
2014-06-19 07:17:22 +12:00
|
|
|
|
|
2021-10-17 09:45:04 +13:00
|
|
|
|
public enum ImagePreviewVisibility // Localized
|
2014-06-19 07:17:22 +12:00
|
|
|
|
{
|
|
|
|
|
Show, Hide, Automatic
|
|
|
|
|
}
|
2015-09-08 06:34:02 +12:00
|
|
|
|
|
2021-10-17 09:45:04 +13:00
|
|
|
|
public enum ImagePreviewLocation // Localized
|
2017-10-29 05:41:14 +13:00
|
|
|
|
{
|
|
|
|
|
Side, Bottom
|
|
|
|
|
}
|
|
|
|
|
|
2021-10-17 09:45:04 +13:00
|
|
|
|
public enum ThumbnailTitleLocation // Localized
|
2019-09-03 19:54:29 +12:00
|
|
|
|
{
|
|
|
|
|
Top, Bottom
|
|
|
|
|
}
|
|
|
|
|
|
2017-02-28 21:34:08 +13:00
|
|
|
|
public enum RegionCaptureType
|
|
|
|
|
{
|
|
|
|
|
Default, Light, Transparent
|
|
|
|
|
}
|
2017-04-22 06:24:35 +12:00
|
|
|
|
|
2022-02-04 22:05:43 +13:00
|
|
|
|
#if !MicrosoftStore
|
2018-09-17 09:29:06 +12:00
|
|
|
|
public enum StartupState
|
|
|
|
|
{
|
|
|
|
|
Disabled,
|
|
|
|
|
DisabledByUser,
|
|
|
|
|
Enabled,
|
|
|
|
|
DisabledByPolicy,
|
|
|
|
|
EnabledByPolicy
|
|
|
|
|
}
|
|
|
|
|
#else
|
|
|
|
|
public enum StartupState
|
2017-04-22 06:24:35 +12:00
|
|
|
|
{
|
2018-09-17 09:29:06 +12:00
|
|
|
|
Disabled = StartupTaskState.Disabled,
|
|
|
|
|
DisabledByUser = StartupTaskState.DisabledByUser,
|
|
|
|
|
Enabled = StartupTaskState.Enabled,
|
|
|
|
|
DisabledByPolicy = StartupTaskState.DisabledByPolicy,
|
|
|
|
|
EnabledByPolicy = StartupTaskState.EnabledByPolicy
|
2017-04-22 06:24:35 +12:00
|
|
|
|
}
|
2018-03-22 13:25:18 +13:00
|
|
|
|
#endif
|
2019-04-03 23:56:15 +13:00
|
|
|
|
|
|
|
|
|
public enum BalloonTipClickAction
|
|
|
|
|
{
|
|
|
|
|
None,
|
|
|
|
|
OpenURL,
|
|
|
|
|
OpenDebugLog
|
|
|
|
|
}
|
2019-05-13 10:21:37 +12:00
|
|
|
|
|
2021-10-17 09:45:04 +13:00
|
|
|
|
public enum TaskViewMode // Localized
|
2019-05-13 10:21:37 +12:00
|
|
|
|
{
|
|
|
|
|
ListView,
|
|
|
|
|
ThumbnailView
|
|
|
|
|
}
|
2023-10-24 23:23:07 +13:00
|
|
|
|
|
2023-10-27 02:46:01 +13:00
|
|
|
|
public enum NativeMessagingAction
|
2023-10-24 23:23:07 +13:00
|
|
|
|
{
|
|
|
|
|
None,
|
2023-10-27 02:46:01 +13:00
|
|
|
|
UploadImage,
|
|
|
|
|
UploadVideo,
|
|
|
|
|
UploadAudio,
|
|
|
|
|
UploadText,
|
|
|
|
|
ShortenURL
|
2023-10-24 23:23:07 +13:00
|
|
|
|
}
|
2022-06-29 02:39:07 +12:00
|
|
|
|
}
|