Skip to content

Commit

Permalink
2.3.4.2 - Fix to Screen form for preview image.
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinkendall committed Mar 8, 2021
1 parent b8ca44d commit 29bcd12
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.4.1")]
[assembly: AssemblyFileVersion("2.3.4.1")]
[assembly: AssemblyVersion("2.3.4.2")]
[assembly: AssemblyFileVersion("2.3.4.2")]
[assembly: NeutralResourcesLanguageAttribute("en-CA")]
2 changes: 1 addition & 1 deletion app.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<assemblyIdentity
type="win32"
name="GavinKendall.AutoScreenCapture"
version="2.3.4.1"/>
version="2.3.4.2"/>
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>True/PM</dpiAware>
Expand Down
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Auto Screen Capture by Gavin Kendall


Codename "Boombayah"
2.3.4.2 Fix to Screen form for preview image.
2.3.4.1 Does not capture image of screen if screen does not exist.
2.3.4.0 Screenshots can be sent to a file server either from the main interface window or with a Trigger. The SMTP and SFTP settings are in their own XML files and can be configured. Help system is available but still early in development.
2.3.3.9 Dashboard introduced so you can have an overview of all screens and regions.
Expand Down
3 changes: 2 additions & 1 deletion interface/FormAbout.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="richTextBoxApplication.Text" xml:space="preserve">
<value>Auto Screen Capture 2.3.4.1 ("Boombayah")
<value>Auto Screen Capture 2.3.4.2 ("Boombayah")
Developed by Gavin Kendall (2008 - 2021)

SourceForge Project Site
Expand All @@ -140,6 +140,7 @@ Triggers have been rewritten. I haven't spent much time on the new wizard-style
</data>
<data name="richTextBoxChangelog.Text" xml:space="preserve">
<value>Codename "Boombayah"
2.3.4.2 Fix to Screen form for preview image.
2.3.4.1 Does not capture image of screen if screen does not exist.
2.3.4.0 Screenshots can be sent to a file server either from the main interface window or with a Trigger. The SMTP and SFTP settings are in their own XML files and can be configured. Help system is available but still early in development.
2.3.3.9 Dashboard introduced so you can have an overview of all screens and regions.
Expand Down
2 changes: 1 addition & 1 deletion modules/screens/FormScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ private void updatePositionAndSize(object sender, EventArgs e)
{
string component = comboBoxScreenComponent.Text;

Regex rgxPosition = new Regex(@"X:(?<X>\d+) Y:(?<Y>\d+)");
Regex rgxPosition = new Regex(@"X:(?<X>-?\d+) Y:(?<Y>-?\d+)");
Regex rgxSize = new Regex(@"\((?<Width>\d+)x(?<Height>\d+)\)");

if (rgxPosition.IsMatch(component) && rgxSize.IsMatch(component))
Expand Down
2 changes: 2 additions & 0 deletions settings/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ public void Load(FileSystem fileSystem)
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.3.7")); // Memory leak fix.
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.3.8")); // Screen now has Source (such as Graphics Card and Operating System), X, Y, Width, and Height. Removed "Resolution Ratio" option for better screen capture performance. Removed internal screen dictionary refresh from Windows because we now use X, Y, Width, and Height either from Graphics Card or from Operating System and these values can now be adjusted. Module tab page layout style changed to be multi-line. Refactored code to reduce usage of static classes and static variables for better memory management. Removed calls to GC Collect. Changed screen capture method. "Region Select / Auto Save" region is no longer created when application initialized. "Region Select / Auto Save" screenshots are now shown in all screenshot tabs.
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.3.9")); // Dashboard introduced so you can have an overview of all screens and regions.
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.4.0")); // Screenshots can be sent to a file server either from the main interface window or with a Trigger. The SMTP and SFTP settings are in their own XML files and can be configured. Help system is available but still early in development.
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.4.1")); // Does not capture image of screen if screen does not exist.

Application = new SettingCollection()
{
Expand Down

0 comments on commit 29bcd12

Please sign in to comment.