Skip to content

Commit

Permalink
2.5.1.4 - A small fix for the -interval command.
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinkendall committed Nov 7, 2022
1 parent 871c989 commit 61d6f49
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 8 deletions.
6 changes: 3 additions & 3 deletions AutoScreenCaptureSetup/AutoScreenCaptureSetup.vdproj
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,15 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:Auto Screen Capture"
"ProductCode" = "8:{FF3E5424-0B67-4E7E-9FAB-358CA9E10FBD}"
"PackageCode" = "8:{98388EDD-A4F5-4932-8B67-5E4B67CFF421}"
"ProductCode" = "8:{92D9EFF0-B795-4A00-A888-420E91F6EE1F}"
"PackageCode" = "8:{FA54205B-61BF-43EB-8B41-DEE0CF556F36}"
"UpgradeCode" = "8:{6B29B7BC-0101-4495-B28C-26B6D3CDCC02}"
"AspNetVersion" = "8:4.0.30319.0"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:TRUE"
"ProductVersion" = "8:2.5.13"
"ProductVersion" = "8:2.5.14"
"Manufacturer" = "8:Gavin Kendall"
"ARPHELPTELEPHONE" = "8:"
"ARPHELPLINK" = "8:https://sourceforge.net/p/autoscreen/tickets/"
Expand Down
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.5.1.3")]
[assembly: AssemblyFileVersion("2.5.1.3")]
[assembly: AssemblyVersion("2.5.1.4")]
[assembly: AssemblyFileVersion("2.5.1.4")]
[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.5.1.3"/>
version="2.5.1.4"/>
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>True/PM</dpiAware>
Expand Down
2 changes: 1 addition & 1 deletion autoscreen.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# The version of Auto Screen Capture that this configuration file is intended for.
# Be careful if you change the version number and don't provide the correct definitions for the specific version
# as some settings will only work with certain versions of the application. Versioning of the configuration file starts with Auto Screen Capture 2.5.0.0 ("Limoncello").
Version=2.5.1.3
Version=2.5.1.4

# Starting with version 2.5.0.0 the entire configuration file defines all the default application and user settings
# that were previously hard-coded within the application itself. Now you have the ability to define all of the default settings in a single file!
Expand Down
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Auto Screen Capture by Gavin Kendall

2.5.1.4 A small fix for the -interval command.
2.5.1.3 The full filepath of each screenshot is clearly displayed for each Screen and Region tab view, the Screenshot Location button is now bigger, the "Metadata" button is now named "Screenshot Metadata", and the "Configure" button is now named "Configure Screen" or "Configure Region" depending on what type of tab view is being shown. Help tips have been removed from the main interface. Fixed issue with Schedules not saving their Enable state.
2.5.1.2 Restored the ability to use milliseconds for the screen capture interval. Fixed bug with schedules that were supposed to override the main interval so that they now actually do override the main interval. Fixed cosmetic issue with Preview button. Fixed cosmetic issue with Screen Capture Status when Optimize Screen Capture was enabled. Command Deck now shows percentage of tolerance when Optimize Screen Capture is enabled.
2.5.1.1 Fixed issue with One Time screen capture.
Expand Down
10 changes: 9 additions & 1 deletion interface/main/FormMain-CommandLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,15 @@ private void ParseCommandLineArguments(string[] args)
int hours = Convert.ToInt32(Regex.Match(arg, REGEX_COMMAND_LINE_INTERVAL).Groups["Hours"].Value);
int minutes = Convert.ToInt32(Regex.Match(arg, REGEX_COMMAND_LINE_INTERVAL).Groups["Minutes"].Value);
int seconds = Convert.ToInt32(Regex.Match(arg, REGEX_COMMAND_LINE_INTERVAL).Groups["Seconds"].Value);
int milliseconds = Convert.ToInt32(Regex.Match(arg, REGEX_COMMAND_LINE_INTERVAL).Groups["Milliseconds"].Value);

int milliseconds = 0;

string strMilliseconds = Regex.Match(arg, REGEX_COMMAND_LINE_INTERVAL).Groups["Milliseconds"].Value;

if (!string.IsNullOrEmpty(strMilliseconds))
{
milliseconds = Convert.ToInt32(strMilliseconds);
}

_formSetup.numericUpDownHoursInterval.Value = hours;
_formSetup.numericUpDownMinutesInterval.Value = minutes;
Expand Down
1 change: 1 addition & 0 deletions settings/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ public void Initialize(FileSystem fileSystem)
_versionCollection.Add(new Version(CODENAME_LIMONCELLO, "2.5.1.0"));
_versionCollection.Add(new Version(CODENAME_LIMONCELLO, "2.5.1.1"));
_versionCollection.Add(new Version(CODENAME_LIMONCELLO, "2.5.1.2"));
_versionCollection.Add(new Version(CODENAME_LIMONCELLO, "2.5.1.3"));

Application = new SettingCollection()
{
Expand Down

0 comments on commit 61d6f49

Please sign in to comment.