diff --git a/ShareX.ScreenCaptureLib/RegionCaptureTasks.cs b/ShareX.ScreenCaptureLib/RegionCaptureTasks.cs index e97ecb786..018ba640d 100644 --- a/ShareX.ScreenCaptureLib/RegionCaptureTasks.cs +++ b/ShareX.ScreenCaptureLib/RegionCaptureTasks.cs @@ -87,6 +87,22 @@ public static bool GetRectangleRegion(out Rectangle rect, RegionCaptureOptions o return false; } + + public static bool GetRectangleRegionTransparent(out Rectangle rect) + { + using (RegionCaptureTransparentForm regionCaptureTransparentForm = new RegionCaptureTransparentForm()) + { + if (regionCaptureTransparentForm.ShowDialog() == DialogResult.OK) + { + rect = regionCaptureTransparentForm.SelectionRectangle; + return true; + } + } + + rect = Rectangle.Empty; + return false; + } + public static PointInfo GetPointInfo(RegionCaptureOptions options, Bitmap canvas = null) { RegionCaptureOptions newOptions = GetRegionCaptureOptions(options); diff --git a/ShareX/Forms/TaskSettingsForm.Designer.cs b/ShareX/Forms/TaskSettingsForm.Designer.cs index bb2eb7fe0..1c6c1423e 100644 --- a/ShareX/Forms/TaskSettingsForm.Designer.cs +++ b/ShareX/Forms/TaskSettingsForm.Designer.cs @@ -219,6 +219,7 @@ private void InitializeComponent() this.txtUploaderFiltersExtensions = new System.Windows.Forms.TextBox(); this.tpActions = new System.Windows.Forms.TabPage(); this.pActions = new System.Windows.Forms.Panel(); + this.lblActionsNote = new System.Windows.Forms.Label(); this.btnActionsDuplicate = new System.Windows.Forms.Button(); this.btnActionsAdd = new System.Windows.Forms.Button(); this.lvActions = new ShareX.HelpersLib.MyListView(); @@ -247,7 +248,7 @@ private void InitializeComponent() this.pgTaskSettings = new System.Windows.Forms.PropertyGrid(); this.chkOverrideAdvancedSettings = new System.Windows.Forms.CheckBox(); this.tttvMain = new ShareX.HelpersLib.TabToTreeView(); - this.lblActionsNote = new System.Windows.Forms.Label(); + this.cbScreenRecordTransparentRegion = new System.Windows.Forms.CheckBox(); this.tcTaskSettings.SuspendLayout(); this.tpTask.SuspendLayout(); this.cmsDestinations.SuspendLayout(); @@ -1405,6 +1406,7 @@ private void InitializeComponent() // tpScreenRecorder // this.tpScreenRecorder.BackColor = System.Drawing.SystemColors.Window; + this.tpScreenRecorder.Controls.Add(this.cbScreenRecordTransparentRegion); this.tpScreenRecorder.Controls.Add(this.cbScreenRecordTwoPassEncoding); this.tpScreenRecorder.Controls.Add(this.cbScreenRecordConfirmAbort); this.tpScreenRecorder.Controls.Add(this.cbScreenRecorderShowCursor); @@ -1905,6 +1907,11 @@ private void InitializeComponent() resources.ApplyResources(this.pActions, "pActions"); this.pActions.Name = "pActions"; // + // lblActionsNote + // + resources.ApplyResources(this.lblActionsNote, "lblActionsNote"); + this.lblActionsNote.Name = "lblActionsNote"; + // // btnActionsDuplicate // resources.ApplyResources(this.btnActionsDuplicate, "btnActionsDuplicate"); @@ -2114,10 +2121,12 @@ private void InitializeComponent() this.tttvMain.TreeViewSize = 190; this.tttvMain.TabChanged += new ShareX.HelpersLib.TabToTreeView.TabChangedEventHandler(this.tttvMain_TabChanged); // - // lblActionsNote + // cbScreenRecordTransparentRegion // - resources.ApplyResources(this.lblActionsNote, "lblActionsNote"); - this.lblActionsNote.Name = "lblActionsNote"; + resources.ApplyResources(this.cbScreenRecordTransparentRegion, "cbScreenRecordTransparentRegion"); + this.cbScreenRecordTransparentRegion.Name = "cbScreenRecordTransparentRegion"; + this.cbScreenRecordTransparentRegion.UseVisualStyleBackColor = true; + this.cbScreenRecordTransparentRegion.CheckedChanged += new System.EventHandler(this.cbScreenRecordTransparentRegion_CheckedChanged); // // TaskSettingsForm // @@ -2430,5 +2439,6 @@ private void InitializeComponent() private System.Windows.Forms.NumericUpDown nudAutoIncrementNumber; private System.Windows.Forms.Button btnAutoIncrementNumber; private System.Windows.Forms.Label lblActionsNote; + private System.Windows.Forms.CheckBox cbScreenRecordTransparentRegion; } } \ No newline at end of file diff --git a/ShareX/Forms/TaskSettingsForm.cs b/ShareX/Forms/TaskSettingsForm.cs index 59f2a015a..0190c94ad 100644 --- a/ShareX/Forms/TaskSettingsForm.cs +++ b/ShareX/Forms/TaskSettingsForm.cs @@ -290,10 +290,11 @@ public TaskSettingsForm(TaskSettings hotkeySetting, bool isDefault = false) cbScreenRecorderFixedDuration.Checked = nudScreenRecorderDuration.Enabled = TaskSettings.CaptureSettings.ScreenRecordFixedDuration; nudScreenRecorderDuration.SetValue((decimal)TaskSettings.CaptureSettings.ScreenRecordDuration); chkScreenRecordAutoStart.Checked = nudScreenRecorderStartDelay.Enabled = TaskSettings.CaptureSettings.ScreenRecordAutoStart; - cbScreenRecordConfirmAbort.Checked = TaskSettings.CaptureSettings.ScreenRecordAskConfirmationOnAbort; nudScreenRecorderStartDelay.SetValue((decimal)TaskSettings.CaptureSettings.ScreenRecordStartDelay); cbScreenRecorderShowCursor.Checked = TaskSettings.CaptureSettings.ScreenRecordShowCursor; cbScreenRecordTwoPassEncoding.Checked = TaskSettings.CaptureSettings.ScreenRecordTwoPassEncoding; + cbScreenRecordTransparentRegion.Checked = TaskSettings.CaptureSettings.ScreenRecordTransparentRegion; + cbScreenRecordConfirmAbort.Checked = TaskSettings.CaptureSettings.ScreenRecordAskConfirmationOnAbort; #endregion Screen recorder @@ -1105,6 +1106,11 @@ private void cbScreenRecordTwoPassEncoding_CheckedChanged(object sender, EventAr TaskSettings.CaptureSettings.ScreenRecordTwoPassEncoding = cbScreenRecordTwoPassEncoding.Checked; } + private void cbScreenRecordTransparentRegion_CheckedChanged(object sender, EventArgs e) + { + TaskSettings.CaptureSettings.ScreenRecordTransparentRegion = cbScreenRecordTransparentRegion.Checked; + } + private void cbScreenRecordConfirmAbort_CheckedChanged(object sender, EventArgs e) { TaskSettings.CaptureSettings.ScreenRecordAskConfirmationOnAbort = cbScreenRecordConfirmAbort.Checked; diff --git a/ShareX/Forms/TaskSettingsForm.resx b/ShareX/Forms/TaskSettingsForm.resx index bd63bd714..cb176ab7e 100644 --- a/ShareX/Forms/TaskSettingsForm.resx +++ b/ShareX/Forms/TaskSettingsForm.resx @@ -349,7 +349,7 @@ btnAfterCapture - ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.1.1.0, Culture=neutral, PublicKeyToken=null tpTask @@ -361,7 +361,7 @@ btnAfterUpload - ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.1.1.0, Culture=neutral, PublicKeyToken=null tpTask @@ -373,7 +373,7 @@ btnDestinations - ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.1.1.0, Culture=neutral, PublicKeyToken=null tpTask @@ -385,7 +385,7 @@ btnTask - ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.1.1.0, Culture=neutral, PublicKeyToken=null tpTask @@ -468,330 +468,6 @@ 1 - - pImage - - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpQuality - - - 0 - - - chkOverrideImageSettings - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpQuality - - - 1 - - - 4, 22 - - - 557, 447 - - - 0 - - - tpQuality - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImage - - - 0 - - - True - - - NoControl - - - 5, 8 - - - 443, 13 - - - 0 - - - Note: You can enable/disable image effects from "After capture tasks -> Add image effects". - - - lblImageEffectsNote - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpEffects - - - 0 - - - True - - - NoControl - - - 11, 64 - - - 221, 17 - - - 2 - - - Show image effects window after capture - - - chkShowImageEffectsWindowAfterCapture - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpEffects - - - 1 - - - True - - - NoControl - - - 11, 88 - - - 193, 17 - - - 3 - - - Only apply effects to region capture - - - cbImageEffectOnlyRegionCapture - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpEffects - - - 2 - - - NoControl - - - 8, 32 - - - 208, 23 - - - 1 - - - Image effects configuration... - - - btnImageEffects - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpEffects - - - 3 - - - 4, 22 - - - 3, 3, 3, 3 - - - 557, 447 - - - 2 - - - Effects - - - tpEffects - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImage - - - 1 - - - cbThumbnailIfSmaller - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpThumbnail - - - 0 - - - lblThumbnailNamePreview - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpThumbnail - - - 1 - - - lblThumbnailName - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpThumbnail - - - 2 - - - txtThumbnailName - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpThumbnail - - - 3 - - - lblThumbnailHeight - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpThumbnail - - - 4 - - - lblThumbnailWidth - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpThumbnail - - - 5 - - - nudThumbnailHeight - - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpThumbnail - - - 6 - - - nudThumbnailWidth - - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpThumbnail - - - 7 - - - 4, 22 - - - 3, 3, 3, 3 - - - 557, 447 - - - 3 - - - Thumbnail - - - tpThumbnail - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcImage - - - 2 - - - Fill - - - 3, 3 - - - 565, 473 - - - 0 - tcImage @@ -831,6 +507,981 @@ 2 + + pCapture + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpCaptureGeneral + + + 0 + + + chkOverrideCaptureSettings + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpCaptureGeneral + + + 1 + + + 4, 22 + + + 557, 447 + + + 0 + + + tpCaptureGeneral + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcCapture + + + 0 + + + cbRegionCaptureShowFPS + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 0 + + + flpRegionCaptureFixedSize + + + System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 1 + + + cbRegionCaptureIsFixedSize + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 2 + + + cbRegionCaptureShowCrosshair + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 3 + + + lblRegionCaptureMagnifierPixelSize + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 4 + + + lblRegionCaptureMagnifierPixelCount + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 5 + + + cbRegionCaptureUseSquareMagnifier + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 6 + + + cbRegionCaptureShowMagnifier + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 7 + + + cbRegionCaptureShowInfo + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 8 + + + btnRegionCaptureSnapSizesRemove + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 9 + + + btnRegionCaptureSnapSizesAdd + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 10 + + + cbRegionCaptureSnapSizes + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 11 + + + lblRegionCaptureSnapSizes + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 12 + + + cbRegionCaptureUseCustomInfoText + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 13 + + + cbRegionCaptureDetectControls + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 14 + + + cbRegionCaptureDetectWindows + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 15 + + + cbRegionCaptureMouse5ClickAction + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 16 + + + lblRegionCaptureMouse5ClickAction + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 17 + + + cbRegionCaptureMouse4ClickAction + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 18 + + + lblRegionCaptureMouse4ClickAction + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 19 + + + cbRegionCaptureMouseMiddleClickAction + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 20 + + + lblRegionCaptureMouseMiddleClickAction + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 21 + + + cbRegionCaptureMouseRightClickAction + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 22 + + + lblRegionCaptureMouseRightClickAction + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 23 + + + cbRegionCaptureMultiRegionMode + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 24 + + + pRegionCaptureSnapSizes + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 25 + + + cbRegionCaptureUseDimming + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 26 + + + txtRegionCaptureCustomInfoText + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 27 + + + nudRegionCaptureMagnifierPixelCount + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 28 + + + nudRegionCaptureMagnifierPixelSize + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpRegionCapture + + + 29 + + + 4, 22 + + + 3, 3, 3, 3 + + + 557, 447 + + + 1 + + + Region capture + + + tpRegionCapture + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcCapture + + + 1 + + + True + + + 8, 184 + + + 178, 17 + + + 19 + + + Use transparent region selection + + + cbScreenRecordTransparentRegion + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 0 + + + True + + + 8, 160 + + + 350, 17 + + + 18 + + + Record using lossless encoding and then apply user encoding option + + + cbScreenRecordTwoPassEncoding + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 1 + + + True + + + NoControl + + + 8, 208 + + + 189, 17 + + + 17 + + + Ask for confirmation when aborting + + + cbScreenRecordConfirmAbort + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 2 + + + True + + + NoControl + + + 8, 88 + + + 143, 17 + + + 13 + + + Show cursor in recording + + + cbScreenRecorderShowCursor + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 3 + + + NoControl + + + 8, 8 + + + 192, 24 + + + 0 + + + Screen recording options... + + + btnScreenRecorderFFmpegOptions + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 4 + + + True + + + NoControl + + + 304, 114 + + + 47, 13 + + + 12 + + + seconds + + + lblScreenRecorderStartDelay + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 5 + + + True + + + NoControl + + + 8, 112 + + + 122, 17 + + + 10 + + + Start recording after: + + + chkScreenRecordAutoStart + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 6 + + + True + + + NoControl + + + 304, 138 + + + 47, 13 + + + 9 + + + seconds + + + lblScreenRecorderFixedDuration + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 7 + + + 232, 36 + + + 64, 20 + + + 2 + + + Center + + + nudScreenRecordFPS + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 8 + + + True + + + NoControl + + + 8, 40 + + + 114, 13 + + + 1 + + + Screen recording FPS: + + + lblScreenRecordFPS + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 9 + + + 232, 134 + + + 64, 20 + + + 8 + + + Center + + + nudScreenRecorderDuration + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 10 + + + 232, 110 + + + 64, 20 + + + 11 + + + Center + + + nudScreenRecorderStartDelay + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 11 + + + True + + + NoControl + + + 8, 136 + + + 95, 17 + + + 7 + + + Fixed duration: + + + cbScreenRecorderFixedDuration + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 12 + + + 232, 60 + + + 64, 20 + + + 4 + + + Center + + + nudGIFFPS + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 13 + + + True + + + NoControl + + + 8, 64 + + + 50, 13 + + + 3 + + + GIF FPS: + + + lblGIFFPS + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpScreenRecorder + + + 14 + + + 4, 22 + + + 3, 3, 3, 3 + + + 557, 447 + + + 2 + + + Screen recorder + + + tpScreenRecorder + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcCapture + + + 2 + + + cbCaptureOCRAutoCopy + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOCR + + + 0 + + + cbCaptureOCRProcessOnLoad + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOCR + + + 1 + + + cbCaptureOCRSilent + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOCR + + + 2 + + + lblOCRDefaultLanguage + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOCR + + + 3 + + + cbCaptureOCRDefaultLanguage + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOCR + + + 4 + + + 4, 22 + + + 3, 3, 3, 3 + + + 557, 447 + + + 3 + + + OCR + + + tpOCR + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcCapture + + + 3 + + + Fill + + + 3, 3 + + + 565, 473 + + + 0 + tcCapture @@ -909,189 +1560,6 @@ 4 - - True - - - 5, 8 - - - 402, 13 - - - 5 - - - Note: You can enable/disable actions from "After capture tasks -> Perform actions". - - - lblActionsNote - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - pActions - - - 0 - - - False - - - NoControl - - - 200, 32 - - - 88, 23 - - - 2 - - - Duplicate - - - btnActionsDuplicate - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - pActions - - - 1 - - - NoControl - - - 8, 32 - - - 88, 23 - - - 0 - - - Add - - - btnActionsAdd - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - pActions - - - 2 - - - Top, Bottom, Left, Right - - - 8, 64 - - - 558, 383 - - - 4 - - - lvActions - - - ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null - - - pActions - - - 3 - - - False - - - NoControl - - - 104, 32 - - - 88, 23 - - - 1 - - - Edit - - - btnActionsEdit - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - pActions - - - 4 - - - False - - - NoControl - - - 296, 32 - - - 88, 23 - - - 3 - - - Remove - - - btnActionsRemove - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - pActions - - - 5 - - - Fill - - - 0, 25 - - - 0, 0, 0, 0 - - - 571, 454 - - - 1 - pActions @@ -1104,30 +1572,6 @@ 0 - - True - - - Top - - - NoControl - - - 0, 0 - - - 8, 8, 8, 0 - - - 571, 25 - - - 0 - - - Override actions - chkOverrideActions @@ -1501,7 +1945,7 @@ btnAfterCapture - ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.1.1.0, Culture=neutral, PublicKeyToken=null tpTask @@ -1531,7 +1975,7 @@ btnAfterUpload - ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.1.1.0, Culture=neutral, PublicKeyToken=null tpTask @@ -1573,7 +2017,7 @@ btnDestinations - ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.1.1.0, Culture=neutral, PublicKeyToken=null tpTask @@ -1633,7 +2077,7 @@ btnTask - ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.1.1.0, Culture=neutral, PublicKeyToken=null tpTask @@ -1860,6 +2304,111 @@ 1 + + tpQuality + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcImage + + + 0 + + + tpEffects + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcImage + + + 1 + + + tpThumbnail + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcImage + + + 2 + + + Fill + + + 3, 3 + + + 565, 473 + + + 0 + + + tcImage + + + System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpImage + + + 0 + + + pImage + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpQuality + + + 0 + + + chkOverrideImageSettings + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpQuality + + + 1 + + + 4, 22 + + + 557, 447 + + + 0 + + + tpQuality + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcImage + + + 0 + cbImagePNGBitDepth @@ -2454,6 +3003,321 @@ 1 + + lblImageEffectsNote + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpEffects + + + 0 + + + chkShowImageEffectsWindowAfterCapture + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpEffects + + + 1 + + + cbImageEffectOnlyRegionCapture + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpEffects + + + 2 + + + btnImageEffects + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpEffects + + + 3 + + + 4, 22 + + + 3, 3, 3, 3 + + + 557, 447 + + + 2 + + + Effects + + + tpEffects + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcImage + + + 1 + + + True + + + NoControl + + + 5, 8 + + + 443, 13 + + + 0 + + + Note: You can enable/disable image effects from "After capture tasks -> Add image effects". + + + lblImageEffectsNote + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpEffects + + + 0 + + + True + + + NoControl + + + 11, 64 + + + 221, 17 + + + 2 + + + Show image effects window after capture + + + chkShowImageEffectsWindowAfterCapture + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpEffects + + + 1 + + + True + + + NoControl + + + 11, 88 + + + 193, 17 + + + 3 + + + Only apply effects to region capture + + + cbImageEffectOnlyRegionCapture + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpEffects + + + 2 + + + NoControl + + + 8, 32 + + + 208, 23 + + + 1 + + + Image effects configuration... + + + btnImageEffects + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpEffects + + + 3 + + + cbThumbnailIfSmaller + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpThumbnail + + + 0 + + + lblThumbnailNamePreview + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpThumbnail + + + 1 + + + lblThumbnailName + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpThumbnail + + + 2 + + + txtThumbnailName + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpThumbnail + + + 3 + + + lblThumbnailHeight + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpThumbnail + + + 4 + + + lblThumbnailWidth + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpThumbnail + + + 5 + + + nudThumbnailHeight + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpThumbnail + + + 6 + + + nudThumbnailWidth + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpThumbnail + + + 7 + + + 4, 22 + + + 3, 3, 3, 3 + + + 557, 447 + + + 3 + + + Thumbnail + + + tpThumbnail + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcImage + + + 2 + True @@ -2673,123 +3537,6 @@ 7 - - tpCaptureGeneral - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcCapture - - - 0 - - - tpRegionCapture - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcCapture - - - 1 - - - tpScreenRecorder - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcCapture - - - 2 - - - tpOCR - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcCapture - - - 3 - - - Fill - - - 3, 3 - - - 565, 473 - - - 0 - - - tcCapture - - - System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpCapture - - - 0 - - - pCapture - - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpCaptureGeneral - - - 0 - - - chkOverrideCaptureSettings - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpCaptureGeneral - - - 1 - - - 4, 22 - - - 557, 447 - - - 0 - - - tpCaptureGeneral - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcCapture - - - 0 - lblScreenshotDelay @@ -3209,7 +3956,6 @@ Y - @Invariant lblCaptureCustomRegionY @@ -3240,7 +3986,6 @@ X - @Invariant lblCaptureCustomRegionX @@ -3632,393 +4377,6 @@ 1 - - cbRegionCaptureShowFPS - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 0 - - - flpRegionCaptureFixedSize - - - System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 1 - - - cbRegionCaptureIsFixedSize - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 2 - - - cbRegionCaptureShowCrosshair - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 3 - - - lblRegionCaptureMagnifierPixelSize - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 4 - - - lblRegionCaptureMagnifierPixelCount - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 5 - - - cbRegionCaptureUseSquareMagnifier - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 6 - - - cbRegionCaptureShowMagnifier - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 7 - - - cbRegionCaptureShowInfo - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 8 - - - btnRegionCaptureSnapSizesRemove - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 9 - - - btnRegionCaptureSnapSizesAdd - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 10 - - - cbRegionCaptureSnapSizes - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 11 - - - lblRegionCaptureSnapSizes - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 12 - - - cbRegionCaptureUseCustomInfoText - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 13 - - - cbRegionCaptureDetectControls - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 14 - - - cbRegionCaptureDetectWindows - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 15 - - - cbRegionCaptureMouse5ClickAction - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 16 - - - lblRegionCaptureMouse5ClickAction - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 17 - - - cbRegionCaptureMouse4ClickAction - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 18 - - - lblRegionCaptureMouse4ClickAction - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 19 - - - cbRegionCaptureMouseMiddleClickAction - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 20 - - - lblRegionCaptureMouseMiddleClickAction - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 21 - - - cbRegionCaptureMouseRightClickAction - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 22 - - - lblRegionCaptureMouseRightClickAction - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 23 - - - cbRegionCaptureMultiRegionMode - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 24 - - - pRegionCaptureSnapSizes - - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 25 - - - cbRegionCaptureUseDimming - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 26 - - - txtRegionCaptureCustomInfoText - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 27 - - - nudRegionCaptureMagnifierPixelCount - - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 28 - - - nudRegionCaptureMagnifierPixelSize - - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpRegionCapture - - - 29 - - - 4, 22 - - - 3, 3, 3, 3 - - - 557, 447 - - - 1 - - - Region capture - - - tpRegionCapture - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcCapture - - - 1 - True @@ -4441,7 +4799,6 @@ - - @Invariant btnRegionCaptureSnapSizesRemove @@ -4466,7 +4823,6 @@ + - @Invariant btnRegionCaptureSnapSizesAdd @@ -5182,678 +5538,6 @@ 29 - - cbScreenRecordTwoPassEncoding - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 0 - - - cbScreenRecordConfirmAbort - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 1 - - - cbScreenRecorderShowCursor - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 2 - - - btnScreenRecorderFFmpegOptions - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 3 - - - lblScreenRecorderStartDelay - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 4 - - - chkScreenRecordAutoStart - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 5 - - - lblScreenRecorderFixedDuration - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 6 - - - nudScreenRecordFPS - - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 7 - - - lblScreenRecordFPS - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 8 - - - nudScreenRecorderDuration - - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 9 - - - nudScreenRecorderStartDelay - - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 10 - - - cbScreenRecorderFixedDuration - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 11 - - - nudGIFFPS - - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 12 - - - lblGIFFPS - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 13 - - - 4, 22 - - - 3, 3, 3, 3 - - - 557, 447 - - - 2 - - - Screen recorder - - - tpScreenRecorder - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcCapture - - - 2 - - - True - - - 8, 160 - - - 350, 17 - - - 18 - - - Record using lossless encoding and then apply user encoding option - - - cbScreenRecordTwoPassEncoding - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 0 - - - True - - - NoControl - - - 8, 184 - - - 189, 17 - - - 17 - - - Ask for confirmation when aborting - - - cbScreenRecordConfirmAbort - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 1 - - - True - - - NoControl - - - 8, 88 - - - 143, 17 - - - 13 - - - Show cursor in recording - - - cbScreenRecorderShowCursor - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 2 - - - NoControl - - - 8, 8 - - - 192, 24 - - - 0 - - - Screen recording options... - - - btnScreenRecorderFFmpegOptions - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 3 - - - True - - - NoControl - - - 304, 114 - - - 47, 13 - - - 12 - - - seconds - - - lblScreenRecorderStartDelay - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 4 - - - True - - - NoControl - - - 8, 112 - - - 122, 17 - - - 10 - - - Start recording after: - - - chkScreenRecordAutoStart - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 5 - - - True - - - NoControl - - - 304, 138 - - - 47, 13 - - - 9 - - - seconds - - - lblScreenRecorderFixedDuration - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 6 - - - 232, 36 - - - 64, 20 - - - 2 - - - Center - - - nudScreenRecordFPS - - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 7 - - - True - - - NoControl - - - 8, 40 - - - 114, 13 - - - 1 - - - Screen recording FPS: - - - lblScreenRecordFPS - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 8 - - - 232, 134 - - - 64, 20 - - - 8 - - - Center - - - nudScreenRecorderDuration - - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 9 - - - 232, 110 - - - 64, 20 - - - 11 - - - Center - - - nudScreenRecorderStartDelay - - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 10 - - - True - - - NoControl - - - 8, 136 - - - 95, 17 - - - 7 - - - Fixed duration: - - - cbScreenRecorderFixedDuration - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 11 - - - 232, 60 - - - 64, 20 - - - 4 - - - Center - - - nudGIFFPS - - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 12 - - - True - - - NoControl - - - 8, 64 - - - 50, 13 - - - 3 - - - GIF FPS: - - - lblGIFFPS - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpScreenRecorder - - - 13 - - - cbCaptureOCRAutoCopy - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpOCR - - - 0 - - - cbCaptureOCRProcessOnLoad - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpOCR - - - 1 - - - cbCaptureOCRSilent - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpOCR - - - 2 - - - lblOCRDefaultLanguage - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpOCR - - - 3 - - - cbCaptureOCRDefaultLanguage - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpOCR - - - 4 - - - 4, 22 - - - 3, 3, 3, 3 - - - 557, 447 - - - 3 - - - OCR - - - tpOCR - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcCapture - - - 3 - True @@ -6899,7 +6583,7 @@ lvUploaderFiltersList - ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.1.1.0, Culture=neutral, PublicKeyToken=null tpUploaderFilters @@ -7046,7 +6730,7 @@ lvUploaderFiltersList - ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.1.1.0, Culture=neutral, PublicKeyToken=null tpUploaderFilters @@ -7261,6 +6945,213 @@ 8 + + lblActionsNote + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pActions + + + 0 + + + btnActionsDuplicate + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pActions + + + 1 + + + btnActionsAdd + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pActions + + + 2 + + + lvActions + + + ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.1.1.0, Culture=neutral, PublicKeyToken=null + + + pActions + + + 3 + + + btnActionsEdit + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pActions + + + 4 + + + btnActionsRemove + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pActions + + + 5 + + + Fill + + + 0, 25 + + + 0, 0, 0, 0 + + + 571, 454 + + + 1 + + + pActions + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpActions + + + 0 + + + True + + + 5, 8 + + + 402, 13 + + + 5 + + + Note: You can enable/disable actions from "After capture tasks -> Perform actions". + + + lblActionsNote + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pActions + + + 0 + + + False + + + NoControl + + + 200, 32 + + + 88, 23 + + + 2 + + + Duplicate + + + btnActionsDuplicate + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pActions + + + 1 + + + NoControl + + + 8, 32 + + + 88, 23 + + + 0 + + + Add + + + btnActionsAdd + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pActions + + + 2 + + + Top, Bottom, Left, Right + + + 8, 64 + + + 558, 383 + + + 4 + + + lvActions + + + ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.1.1.0, Culture=neutral, PublicKeyToken=null + + + pActions + + + 3 + Name @@ -7285,6 +7176,102 @@ 75 + + False + + + NoControl + + + 104, 32 + + + 88, 23 + + + 1 + + + Edit + + + btnActionsEdit + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pActions + + + 4 + + + False + + + NoControl + + + 296, 32 + + + 88, 23 + + + 3 + + + Remove + + + btnActionsRemove + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pActions + + + 5 + + + True + + + Top + + + NoControl + + + 0, 0 + + + 8, 8, 8, 0 + + + 571, 25 + + + 0 + + + Override actions + + + chkOverrideActions + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpActions + + + 1 + 104, 32 @@ -7646,7 +7633,7 @@ tttvMain - ShareX.HelpersLib.TabToTreeView, ShareX.HelpersLib, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.TabToTreeView, ShareX.HelpersLib, Version=13.1.1.0, Culture=neutral, PublicKeyToken=null $this diff --git a/ShareX/ScreenRecordManager.cs b/ShareX/ScreenRecordManager.cs index 486cff496..fc02c5a12 100644 --- a/ShareX/ScreenRecordManager.cs +++ b/ShareX/ScreenRecordManager.cs @@ -115,7 +115,14 @@ private static void StartRecording(ScreenRecordOutput outputType, TaskSettings t switch (startMethod) { case ScreenRecordStartMethod.Region: - RegionCaptureTasks.GetRectangleRegion(out captureRectangle, taskSettings.CaptureSettings.SurfaceOptions); + if (taskSettings.CaptureSettings.ScreenRecordTransparentRegion) + { + RegionCaptureTasks.GetRectangleRegionTransparent(out captureRectangle); + } + else + { + RegionCaptureTasks.GetRectangleRegion(out captureRectangle, taskSettings.CaptureSettings.SurfaceOptions); + } break; case ScreenRecordStartMethod.ActiveWindow: if (taskSettings.CaptureSettings.CaptureClientArea) diff --git a/ShareX/TaskSettings.cs b/ShareX/TaskSettings.cs index ca4e1e56c..669999464 100644 --- a/ShareX/TaskSettings.cs +++ b/ShareX/TaskSettings.cs @@ -349,6 +349,7 @@ public class TaskSettingsCapture public float ScreenRecordDuration = 3f; public bool ScreenRecordTwoPassEncoding = false; public bool ScreenRecordAskConfirmationOnAbort = false; + public bool ScreenRecordTransparentRegion = false; #endregion Capture / Screen recorder