diff --git a/AutoScreenCaptureSetup/AutoScreenCaptureSetup.vdproj b/AutoScreenCaptureSetup/AutoScreenCaptureSetup.vdproj index 537c1711..4025ca6a 100644 --- a/AutoScreenCaptureSetup/AutoScreenCaptureSetup.vdproj +++ b/AutoScreenCaptureSetup/AutoScreenCaptureSetup.vdproj @@ -244,15 +244,15 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:Auto Screen Capture" - "ProductCode" = "8:{64BC79F6-9838-4D6E-AD76-3D2CB74F72A7}" - "PackageCode" = "8:{68F4F087-E3B6-4592-894F-953DF4788D5A}" + "ProductCode" = "8:{0B2F3414-DC4A-46CE-8F36-67559FC035BC}" + "PackageCode" = "8:{90E05177-1116-4DA3-A6B4-53D6CCEAB0F4}" "UpgradeCode" = "8:{5A52167C-788C-412D-B0A1-ED40B962A74F}" "AspNetVersion" = "8:4.0.30319.0" "RestartWWWService" = "11:FALSE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:2.3.69" + "ProductVersion" = "8:2.3.70" "Manufacturer" = "8:Gavin Kendall" "ARPHELPTELEPHONE" = "8:" "ARPHELPLINK" = "8:https://sourceforge.net/p/autoscreen/tickets/" diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 757b29fc..65084c70 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -32,6 +32,6 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.3.6.9")] -[assembly: AssemblyFileVersion("2.3.6.9")] +[assembly: AssemblyVersion("2.3.7.0")] +[assembly: AssemblyFileVersion("2.3.7.0")] [assembly: NeutralResourcesLanguageAttribute("en-CA")] \ No newline at end of file diff --git a/app.manifest b/app.manifest index 21d49914..6a24fce7 100644 --- a/app.manifest +++ b/app.manifest @@ -3,7 +3,7 @@ + version="2.3.7.0"/> True/PM diff --git a/changelog.txt b/changelog.txt index 2079e948..14247c6a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Auto Screen Capture by Gavin Kendall Codename "Boombayah" +2.3.7.0 Attempting to fix bug with region select not working on multiple displays. 2.3.6.9 Maybe fixed the bug with region select not working on multiple displays. Maybe. I haven't had multiple displays to test this properly for myself due to working from a laptop since March 2020. 2.3.6.8 Fixed bug with "the handle is invalid" to prevent application from crashing when Windows is locked. The check on the invalid handle was accidentally removed in 2.3.4.1 but has now been restored. 2.3.6.7 Fixed bug with emailing screenshots from a one time schedule. diff --git a/interface/FormAbout.resx b/interface/FormAbout.resx index 5562caaa..8ea96ea8 100644 --- a/interface/FormAbout.resx +++ b/interface/FormAbout.resx @@ -118,7 +118,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Auto Screen Capture 2.3.6.9 ("Boombayah") + Auto Screen Capture 2.3.7.0 ("Boombayah") Developed by Gavin Kendall (2008 - 2021) SourceForge Project Site @@ -128,12 +128,13 @@ GitHub Project Site https://github.com/gavinkendall/autoscreen/ - 2.3.6.9 + 2.3.7.0 -Maybe fixed the bug with region select not working on multiple displays. Maybe. I haven't had multiple displays to test this properly for myself due to working from a laptop since March 2020. +Attempting to fix bug with region select not working on multiple displays. Codename "Boombayah" +2.3.7.0 Attempting to fix bug with region select not working on multiple displays. 2.3.6.9 Maybe fixed the bug with region select not working on multiple displays. Maybe. I haven't had multiple displays to test this properly for myself due to working from a laptop since March 2020. 2.3.6.8 Fixed bug with "the handle is invalid" to prevent application from crashing when Windows is locked. The check on the invalid handle was accidentally removed in 2.3.4.1 but has now been restored. 2.3.6.7 Fixed bug with emailing screenshots from a one time schedule. diff --git a/interface/FormRegionSelectWithMouse.cs b/interface/FormRegionSelectWithMouse.cs index 440bd046..d8e9bed6 100644 --- a/interface/FormRegionSelectWithMouse.cs +++ b/interface/FormRegionSelectWithMouse.cs @@ -118,8 +118,8 @@ public void LoadCanvas() _bitmapSource = new Bitmap(width, height); - Graphics graphics = Graphics.FromImage(_bitmapSource as Image); - graphics.CopyFromScreen(Top, Left, Top, Left, _bitmapSource.Size); + Graphics graphics = Graphics.FromImage(_bitmapSource); + graphics.CopyFromScreen(0, 0, 0, 0, _bitmapSource.Size, CopyPixelOperation.SourceCopy); using (MemoryStream s = new MemoryStream()) { diff --git a/interface/main/FormMain-Screens.cs b/interface/main/FormMain-Screens.cs index 5fd32af3..8a007aae 100644 --- a/interface/main/FormMain-Screens.cs +++ b/interface/main/FormMain-Screens.cs @@ -166,13 +166,6 @@ private void RunScreenCaptures() { try { - if (_formScreen.ScreenCollection.Count == 0) - { - _log.WriteErrorMessage("The screen collection is empty and needs to be initialized"); - - return; - } - foreach (Screen screen in _formScreen.ScreenCollection) { if (screen.Active)