Skip to content

Commit 089dc3c

Browse files
committed
2.3.6.1 - Fix to Keyboard Shortcuts. Changed default trigger for closing window so interface will now hide on closing window instead of exiting to keep application running in system tray until Exit is selected from system tray icon menu.
1 parent 309ac94 commit 089dc3c

File tree

9 files changed

+16
-17
lines changed

9 files changed

+16
-17
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.6.0")]
36-
[assembly: AssemblyFileVersion("2.3.6.0")]
35+
[assembly: AssemblyVersion("2.3.6.1")]
36+
[assembly: AssemblyFileVersion("2.3.6.1")]
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.6.0"/>
6+
version="2.3.6.1"/>
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.6.1 Fix to Keyboard Shortcuts. Changed default trigger for closing window so interface will now hide on closing window instead of exiting to keep application running in system tray until Exit is selected from system tray icon menu.
78
2.3.6.0 Fix to SMTP.
89
2.3.4.9 Region Select Options and Region Select / Clipboard / Floating Screenshot implemented.
910
2.3.4.8 Signed assembly in attempt to satisfy anti-virus software. Fixed weird Exit bug.

interface/FormAbout.resx

Lines changed: 6 additions & 9 deletions
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.6.0 ("Boombayah")
121+
<value>Auto Screen Capture 2.3.6.1 ("Boombayah")
122122
Developed by Gavin Kendall (2008 - 2021)
123123

124124
SourceForge Project Site
@@ -128,18 +128,15 @@ GitHub Project Site
128128
https://github.com/gavinkendall/autoscreen/</value>
129129
</data>
130130
<data name="richTextBoxReleaseNotes.Text" xml:space="preserve">
131-
<value>2.3.4.0
131+
<value>2.3.6.1
132132

133-
You can now configure Auto Screen Capture to email screenshots with SMTP (without having to edit the application.xml file) and/or transfer them to a file server with SFTP. These settings are stored in their own XML files named smtp.xml and sftp.xml respectively so you can configure them to be in different locations with autoscreen.conf if you prefer.
133+
There was a bug with Keyboard Shortcuts that caused the application to crash. It's been fixed.
134134

135-
I fixed the -config, -applicationFocusDelayBefore, and -applicationFocusDelayAfter command line options. These became screwed up in 2.3.3.8 after I merged in code from an optimization initiative.
136-
137-
The Help button is finally usable, but I still have to write all the documentation for it so at this time there's only the "Welcome" page available.
138-
139-
Triggers have been rewritten. I haven't spent much time on the new wizard-style interface for them but their functionality remains the same. I've introduced a new Trigger for File Transfer (SFTP).</value>
135+
Also, by default, closing the application's main interface window will now hide the interface and keep the application running in the system tray so if you need to exit simply select the Exit option from the system tray icon menu.</value>
140136
</data>
141137
<data name="richTextBoxChangelog.Text" xml:space="preserve">
142138
<value>Codename "Boombayah"
139+
2.3.6.1 Fix to Keyboard Shortcuts. Changed default trigger for closing window so interface will now hide on closing window instead of exiting to keep application running in system tray until Exit is selected from system tray icon menu.
143140
2.3.6.0 Fix to SMTP.
144141
2.3.4.9 Region Select Options and Region Select / Clipboard / Floating Screenshot implemented.
145142
2.3.4.8 Signed assembly in attempt to satisfy anti-virus software. Fixed weird Exit bug.
@@ -457,7 +454,7 @@ Twitter
457454
https://twitter.com/autoscreen2
458455

459456
YouTube Channel
460-
https://www.youtube.com/user/gavinkendall/</value>
457+
https://www.youtube.com/c/gavinkendall/</value>
461458
</data>
462459
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
463460
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

interface/main/FormMain-KeyboardShortcuts.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ private void RegisterKeyboardShortcuts()
3939
{
4040
try
4141
{
42-
_hotKeyMap = new HotKeyMap();
4342
_formKeyboardShortcuts = new FormKeyboardShortcuts(_config, _fileSystem, _log);
4443

4544
_hotKeyMap.UnregisterHotKeys();

interface/main/FormMain.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ public FormMain(Config config)
135135
_slideShow = new Slideshow();
136136
_dataConvert = new DataConvert();
137137

138+
_hotKeyMap = new HotKeyMap();
138139
RegisterKeyboardShortcuts();
139140
_hotKeyMap.KeyPressed += new EventHandler<KeyPressedEventArgs>(hotKey_KeyPressed);
140141

keyboard/HotKeyMap.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ public void RegisterHotKey(ModifierKeys modifier, Keys key)
8888
{
8989
_currentId += 1;
9090

91-
if (!RegisterHotKey(_window.Handle, _currentId, (uint)modifier, (uint)key))
92-
throw new InvalidOperationException("Unable to register hot key");
91+
RegisterHotKey(_window.Handle, _currentId, (uint)modifier, (uint)key);
9392
}
9493

9594
/// <summary>

modules/triggers/TriggerCollection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,9 @@ public bool LoadXmlFileAndAddTriggers(Config config, FileSystem fileSystem, Log
311311
Trigger triggerInterfaceClosingExitApplication = new Trigger()
312312
{
313313
Active = true,
314-
Name = "Exit when interface closing",
314+
Name = "Hide when interface closing",
315315
ConditionType = TriggerConditionType.InterfaceClosing,
316-
ActionType = TriggerActionType.ExitApplication,
316+
ActionType = TriggerActionType.HideInterface,
317317
Date = DateTime.Now,
318318
Time = DateTime.Now,
319319
ScreenCaptureInterval = 0

settings/Settings.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ public void Load(FileSystem fileSystem)
228228
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.4.6")); // Fixed Show/Hide Interface bug so you no longer need to select the option twice to show the interface on initial startup. AutoStartFromCommandLine is temporarily disabled when command line options -stop, -exit, -startat, -stopat, or -captureat are provided.
229229
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.4.7")); // SaveScreenshotRefs user setting introduced. Implemented command line options -saveScreenshotRefs=on and -saveScreenshotRefs=off.
230230
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.4.8")); // Signed assembly in attempt to satisfy anti-virus software.Fixed weird Exit bug.
231+
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.4.9")); // Region Select Options and Region Select / Clipboard / Floating Screenshot implemented.
232+
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.6.0")); // Fix to SMTP.
231233

232234
Application = new SettingCollection()
233235
{

0 commit comments

Comments
 (0)