@@ -356,6 +356,8 @@ private void LoadApplicationSettings()
356356
357357 checkBoxAutoReset . Checked = Properties . Settings . Default . AutoReset ;
358358
359+ checkBoxMouse . Checked = Properties . Settings . Default . Mouse ;
360+
359361 if ( toolStripMenuItemPreviewAtApplicationStartup . Checked )
360362 {
361363 toolStripButtonPreview . Checked = true ;
@@ -882,6 +884,9 @@ private void RunSaveApplicationSettings(DoWorkEventArgs e)
882884 Properties . Settings . Default . AutoReset = checkBoxAutoReset . Checked ;
883885 Log . Write ( "65 Saving application settings ... AutoReset = " + checkBoxAutoReset . Checked ) ;
884886
887+ Properties . Settings . Default . Mouse = checkBoxMouse . Checked ;
888+ Log . Write ( "66 Saving application settings ... Mouse = " + checkBoxMouse . Checked ) ;
889+
885890 // Passphrase is set in its own event handler and saved appropriately so that's why you won't see a line for it here :)
886891
887892 Properties . Settings . Default . Save ( ) ;
@@ -2518,8 +2523,8 @@ private void TakeScreenshot()
25182523 // Active Window
25192524 if ( CaptureScreenAllowed ( 5 ) )
25202525 {
2521- ScreenCapture . TakeScreenshot ( null , dateTimeScreenshotTaken , ScreenCapture . Format , "5" , FileSystem . UserAppDataLocalDirectory + MacroParser . ParseTags ( MacroParser . ApplicationMacro , ScreenCapture . Format , "5" , dateTimeScreenshotTaken ) , 5 , ScreenshotType . Application , ( long ) numericUpDownJpegQualityLevel . Value ) ;
2522- ScreenCapture . TakeScreenshot ( null , dateTimeScreenshotTaken , ScreenCapture . Format , textBoxScreen5Name . Text , ScreenCapture . Folder + MacroParser . ParseTags ( ScreenCapture . Macro , ScreenCapture . Format , textBoxScreen5Name . Text , dateTimeScreenshotTaken ) , 5 , ScreenshotType . User , ( long ) numericUpDownJpegQualityLevel . Value ) ;
2526+ ScreenCapture . TakeScreenshot ( null , dateTimeScreenshotTaken , ScreenCapture . Format , "5" , FileSystem . UserAppDataLocalDirectory + MacroParser . ParseTags ( MacroParser . ApplicationMacro , ScreenCapture . Format , "5" , dateTimeScreenshotTaken ) , 5 , ScreenshotType . Application , ( long ) numericUpDownJpegQualityLevel . Value , checkBoxMouse . Checked ) ;
2527+ ScreenCapture . TakeScreenshot ( null , dateTimeScreenshotTaken , ScreenCapture . Format , textBoxScreen5Name . Text , ScreenCapture . Folder + MacroParser . ParseTags ( ScreenCapture . Macro , ScreenCapture . Format , textBoxScreen5Name . Text , dateTimeScreenshotTaken ) , 5 , ScreenshotType . User , ( long ) numericUpDownJpegQualityLevel . Value , checkBoxMouse . Checked ) ;
25232528 }
25242529
25252530 // All screens.
@@ -2553,8 +2558,8 @@ private void TakeScreenshot()
25532558
25542559 if ( ! string . IsNullOrEmpty ( screenName ) )
25552560 {
2556- ScreenCapture . TakeScreenshot ( screen , dateTimeScreenshotTaken , ScreenCapture . Format , count . ToString ( ) , FileSystem . UserAppDataLocalDirectory + MacroParser . ParseTags ( MacroParser . ApplicationMacro , ScreenCapture . Format , count . ToString ( ) , dateTimeScreenshotTaken ) , count , ScreenshotType . Application , ( long ) numericUpDownJpegQualityLevel . Value ) ;
2557- ScreenCapture . TakeScreenshot ( screen , dateTimeScreenshotTaken , ScreenCapture . Format , screenName , ScreenCapture . Folder + MacroParser . ParseTags ( ScreenCapture . Macro , ScreenCapture . Format , screenName , dateTimeScreenshotTaken ) , count , ScreenshotType . User , ( long ) numericUpDownJpegQualityLevel . Value ) ;
2561+ ScreenCapture . TakeScreenshot ( screen , dateTimeScreenshotTaken , ScreenCapture . Format , count . ToString ( ) , FileSystem . UserAppDataLocalDirectory + MacroParser . ParseTags ( MacroParser . ApplicationMacro , ScreenCapture . Format , count . ToString ( ) , dateTimeScreenshotTaken ) , count , ScreenshotType . Application , ( long ) numericUpDownJpegQualityLevel . Value , checkBoxMouse . Checked ) ;
2562+ ScreenCapture . TakeScreenshot ( screen , dateTimeScreenshotTaken , ScreenCapture . Format , screenName , ScreenCapture . Folder + MacroParser . ParseTags ( ScreenCapture . Macro , ScreenCapture . Format , screenName , dateTimeScreenshotTaken ) , count , ScreenshotType . User , ( long ) numericUpDownJpegQualityLevel . Value , checkBoxMouse . Checked ) ;
25582563 }
25592564 }
25602565 }
@@ -2712,7 +2717,7 @@ private void DisplayImages(bool preview)
27122717
27132718 if ( preview && CaptureScreenAllowed ( count ) )
27142719 {
2715- Bitmap bitmap = ScreenCapture . GetScreenBitmap ( screen , ( int ) numericUpDownImageResolutionRatio . Value , ScreenCapture . Format ) ;
2720+ Bitmap bitmap = ScreenCapture . GetScreenBitmap ( screen , ( int ) numericUpDownImageResolutionRatio . Value , ScreenCapture . Format , checkBoxMouse . Checked ) ;
27162721
27172722 if ( bitmap != null )
27182723 {
@@ -3312,6 +3317,8 @@ private void Click_buttonRestoreDefaults(object sender, EventArgs e)
33123317
33133318 checkBoxAutoReset . Checked = true ;
33143319
3320+ checkBoxMouse . Checked = true ;
3321+
33153322 ScheduleClear ( ) ;
33163323
33173324 Log . Write ( "Default settings restored." ) ;
0 commit comments