Skip to content

Commit 29bcd12

Browse files
committed
2.3.4.2 - Fix to Screen form for preview image.
1 parent b8ca44d commit 29bcd12

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("2.3.4.1")]
36-
[assembly: AssemblyFileVersion("2.3.4.1")]
35+
[assembly: AssemblyVersion("2.3.4.2")]
36+
[assembly: AssemblyFileVersion("2.3.4.2")]
3737
[assembly: NeutralResourcesLanguageAttribute("en-CA")]

app.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<assemblyIdentity
44
type="win32"
55
name="GavinKendall.AutoScreenCapture"
6-
version="2.3.4.1"/>
6+
version="2.3.4.2"/>
77
<asmv3:application>
88
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
99
<dpiAware>True/PM</dpiAware>

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Auto Screen Capture by Gavin Kendall
44

55

66
Codename "Boombayah"
7+
2.3.4.2 Fix to Screen form for preview image.
78
2.3.4.1 Does not capture image of screen if screen does not exist.
89
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.
910
2.3.3.9 Dashboard introduced so you can have an overview of all screens and regions.

interface/FormAbout.resx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119119
</resheader>
120120
<data name="richTextBoxApplication.Text" xml:space="preserve">
121-
<value>Auto Screen Capture 2.3.4.1 ("Boombayah")
121+
<value>Auto Screen Capture 2.3.4.2 ("Boombayah")
122122
Developed by Gavin Kendall (2008 - 2021)
123123

124124
SourceForge Project Site
@@ -140,6 +140,7 @@ Triggers have been rewritten. I haven't spent much time on the new wizard-style
140140
</data>
141141
<data name="richTextBoxChangelog.Text" xml:space="preserve">
142142
<value>Codename "Boombayah"
143+
2.3.4.2 Fix to Screen form for preview image.
143144
2.3.4.1 Does not capture image of screen if screen does not exist.
144145
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.
145146
2.3.3.9 Dashboard introduced so you can have an overview of all screens and regions.

modules/screens/FormScreen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ private void updatePositionAndSize(object sender, EventArgs e)
431431
{
432432
string component = comboBoxScreenComponent.Text;
433433

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

437437
if (rgxPosition.IsMatch(component) && rgxSize.IsMatch(component))

settings/Settings.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ public void Load(FileSystem fileSystem)
219219
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.3.7")); // Memory leak fix.
220220
_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.
221221
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.3.9")); // Dashboard introduced so you can have an overview of all screens and regions.
222+
_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.
223+
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.4.1")); // Does not capture image of screen if screen does not exist.
222224

223225
Application = new SettingCollection()
224226
{

0 commit comments

Comments
 (0)