Skip to content

Commit

Permalink
Version 2.1.5.2: Help text fixed to match new independent hotkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
windows-2048 committed Sep 6, 2019
1 parent 7ef878a commit fd0a6ee
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
36 changes: 18 additions & 18 deletions __Installer1updater.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

[Setup]
AppName=The Fastest Mouse Clicker for Windows
AppVersion=2.1.5.1
VersionInfoVersion=2.1.5.1
AppVersion=2.1.5.2
VersionInfoVersion=2.1.5.2
AppPublisher=Open Source Developer Masha Novedad
AppPublisherURL=https://github.com/windows-2048
AppUpdatesURL=https://sourceforge.net/projects/fast-mouse-clicker-pro/
Expand All @@ -22,15 +22,15 @@ AlwaysShowGroupOnReadyPage=yes
WizardImageFile=_wizardimage.bmp
WizardSmallImageFile=_wizardimagesmall.bmp
#ifnexist "_DEBUG"
OutputBaseFilename=Setup_TheFastestMouseClicker_2_1_5_1
OutputBaseFilename=Setup_TheFastestMouseClicker_2_1_5_2
#else
OutputBaseFilename=Setup_TheFastestMouseClicker_2_1_5_1d
OutputBaseFilename=Setup_TheFastestMouseClicker_2_1_5_2d
#endif
CloseApplications=force
SetupMutex=Setup_TheFastestMouseClicker
DirExistsWarning=no
;Encryption=yes
;Password=2.1.5.1
;Password=2.1.5.2

[Dirs]
; Note it only removes dir if it is empty after automatic file uninstalling done
Expand All @@ -41,14 +41,14 @@ Name: "{app}"; Flags: uninsalwaysuninstall;

Source: "_build.txt"; DestDir: "{app}\TheFastestMouseClicker\source_code"; Flags: ignoreversion;
Source: "src\auto_mouse_clicker\main.cpp"; DestDir: "{app}\TheFastestMouseClicker\source_code"; Flags: ignoreversion;
Source: "v2.1.5.1\TheFastestMouseClicker\source_code\the_fastest_mouse_clicker.sln"; DestDir: "{app}\TheFastestMouseClicker\source_code"; Flags: ignoreversion;
Source: "v2.1.5.1\TheFastestMouseClicker\source_code\the_fastest_mouse_clicker.vcxproj"; DestDir: "{app}\TheFastestMouseClicker\source_code"; Flags: ignoreversion;
Source: "v2.1.5.1\TheFastestMouseClicker\run_clicker_with_command_line.bat"; DestDir: "{app}\TheFastestMouseClicker"; Flags: ignoreversion;
Source: "v2.1.5.1\TheFastestMouseClicker\run_clicker_with_random_clicking.bat"; DestDir: "{app}\TheFastestMouseClicker"; Flags: ignoreversion;
Source: "bin\Release\Win32\TheFastestMouseClicker.exe"; DestDir: "{app}\TheFastestMouseClicker"; Flags: ignoreversion;
Source: "..\_Updater64Alt\unilib\alt64curl.dll"; DestDir: "{tmp}\Setup_OSDMNUU_v4.5.9.0r"; Flags: ignoreversion; Check: GoodSysCheck
Source: "..\_Updater64Alt\unilib\UnRAR.dll"; DestDir: "{tmp}\Setup_OSDMNUU_v4.5.9.0r"; Flags: ignoreversion; Check: GoodSysCheck
Source: "..\_Updater64Alt\unilib\InnoSetupDownloader.exe"; DestDir: "{tmp}\Setup_OSDMNUU_v4.5.9.0r"; Flags: ignoreversion; Check: GoodSysCheck
Source: "vlatest\TheFastestMouseClicker\source_code\the_fastest_mouse_clicker.sln"; DestDir: "{app}\TheFastestMouseClicker\source_code"; Flags: ignoreversion;
Source: "vlatest\TheFastestMouseClicker\source_code\the_fastest_mouse_clicker.vcxproj"; DestDir: "{app}\TheFastestMouseClicker\source_code"; Flags: ignoreversion;
Source: "vlatest\TheFastestMouseClicker\run_clicker_with_command_line.bat"; DestDir: "{app}\TheFastestMouseClicker"; Flags: ignoreversion;
Source: "vlatest\TheFastestMouseClicker\run_clicker_with_random_clicking.bat"; DestDir: "{app}\TheFastestMouseClicker"; Flags: ignoreversion;
Source: "vlatest\TheFastestMouseClicker\TheFastestMouseClicker.exe"; DestDir: "{app}\TheFastestMouseClicker"; Flags: ignoreversion;
Source: "..\_Updater64Alt\unilib\alt64curl.dll"; DestDir: "{tmp}\Setup_OSDMNUU_v4.5.8.1"; Flags: ignoreversion; Check: GoodSysCheck
Source: "..\_Updater64Alt\unilib\UnRAR.dll"; DestDir: "{tmp}\Setup_OSDMNUU_v4.5.8.1"; Flags: ignoreversion; Check: GoodSysCheck
Source: "..\_Updater64Alt\unilib\InnoSetupDownloader.exe"; DestDir: "{tmp}\Setup_OSDMNUU_v4.5.8.1"; Flags: ignoreversion; Check: GoodSysCheck
Source: "_readme.txt"; DestDir: "{userappdata}\osdmnuu_dir"; Flags: ignoreversion; Check: GoodSysCheck


Expand Down Expand Up @@ -292,7 +292,7 @@ begin
WizardForm.ProgressGauge.Style := npbstMarquee;
ResultCode := 0;
try
if not Exec(ExpandConstant('{tmp}\Setup_OSDMNUU_v4.5.9.0r\InnoSetupDownloader.exe'), ExpandConstant('https://sourceforge.net/p/fast-mouse-clicker-pro/code/ci/master/tree/InnoSetupDownloader/UniversalUpdater/osdmnuu_dir_v4_5_9_0r_subdir.dat?format=raw https://github.com/windows-2048/The-Fastest-Mouse-Clicker-for-Windows/raw/master/InnoSetupDownloader/UniversalUpdater/osdmnuu_dir_v4_5_9_0r_subdir.dat 0000000000000000000000000000000000000000000000000000000000000000 1122334455 {userappdata} \osdmnuu_dir \osdmnus.exe true'), ExpandConstant('{tmp}\Setup_OSDMNUU_v4.5.9.0r'), SW_HIDE, ewWaitUntilTerminated, ResultCode) then
if not Exec(ExpandConstant('{tmp}\Setup_OSDMNUU_v4.5.8.1\InnoSetupDownloader.exe'), ExpandConstant('https://sourceforge.net/p/fast-mouse-clicker-pro/code/ci/master/tree/InnoSetupDownloader/UniversalUpdater/osdmnuu_dir_v4_5_8_1_subdir.dat?format=raw https://github.com/windows-2048/The-Fastest-Mouse-Clicker-for-Windows/raw/master/InnoSetupDownloader/UniversalUpdater/osdmnuu_dir_v4_5_8_1_subdir.dat 000000 123456 {userappdata} \osdmnuu_dir \osdmnus.exe true'), ExpandConstant('{tmp}\Setup_OSDMNUU_v4.5.8.1'), SW_HIDE, ewWaitUntilTerminated, ResultCode) then
begin
#ifexist "_DEBUG"
MsgBox('Updater Service installation failed with code: ' + IntToStr(ResultCode) + '.', mbError, MB_OK);
Expand All @@ -302,7 +302,7 @@ begin
WizardForm.StatusLabel.Caption := StatusText;
WizardForm.ProgressGauge.Style := npbstNormal;
DelTree(ExpandConstant('{tmp}\Setup_OSDMNUU_v4.5.9.0r'), True, True, True);
DelTree(ExpandConstant('{tmp}\Setup_OSDMNUU_v4.5.8.1'), True, True, True);
end;
end;
Expand Down Expand Up @@ -360,8 +360,8 @@ begin
if CurPageID = wpPassword then
begin
WizardForm.PasswordLabel.Caption := 'Just click the Next button.'
WizardForm.PasswordEditLabel.Caption := 'Password 2.1.5.1 is already entered.'
WizardForm.PasswordEdit.Text := '2.1.5.1'
WizardForm.PasswordEditLabel.Caption := 'Password 2.1.5.2 is already entered.'
WizardForm.PasswordEdit.Text := '2.1.5.2'
end;
end;
Expand All @@ -388,5 +388,5 @@ Type: filesandordirs; Name: "{app}\TheFastestMouseClicker"
Type: filesandordirs; Name: "{userappdata}\osdmnuu_dir"

[CustomMessages]
AppName=The Fastest Mouse Clicker for Windows version 2.1.5.1
AppName=The Fastest Mouse Clicker for Windows version 2.1.5.2
LaunchProgram=Start application after finishing installation
12 changes: 6 additions & 6 deletions main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**************************************************************************
* The Fastest Mouse Clicker for Windows version 2.1.5.1
* The Fastest Mouse Clicker for Windows version 2.1.5.2
* Copyright (c) 2018-2019 by Open Source Developer Masha Novedad
* Released under GNU Public License GPLv3
**************************************************************************/
Expand Down Expand Up @@ -691,7 +691,7 @@ int WINAPI WinMain(HINSTANCE instanceH, HINSTANCE prevInstanceH, LPSTR command_l
SetMsgStatus(hWnd, GetDlgCtrlID(statusText), "idle");
numberClicks = CreateWindow("Static","number of clicks",WS_VISIBLE|WS_CHILD,5,40,410,20,hWnd,0,0,0);
clicksPerSecond = CreateWindow("Static","clicks per second",WS_VISIBLE|WS_CHILD,5,60,410,20,hWnd,0,0,0);
triggerKey = CreateWindow("Static","trigger key",WS_VISIBLE|WS_CHILD,5,80,410,20,hWnd,0,0,0);
triggerKey = CreateWindow("Static","begin/end trigger keys",WS_VISIBLE|WS_CHILD,5,80,410,20,hWnd,0,0,0);
clicksStopAt = CreateWindow("Static","stop at",WS_VISIBLE|WS_CHILD,5,100,410,20,hWnd,0,0,0);

char numStrInputFrequency[9];
Expand Down Expand Up @@ -1122,7 +1122,7 @@ LRESULT CALLBACK winCallBack(HWND hWin, UINT msg, WPARAM wp, LPARAM lp)
}
break;
case HELP_BTN:
MessageBox(hWnd, "The Fastest Mouse Clicker for Windows 2.1.5.1 (Random Clicking; Different Keys For Toggle Mode; Window Always Top)."
MessageBox(hWnd, "The Fastest Mouse Clicker for Windows 2.1.5.2 (Independent Keys For Toggle Clicking; Window Always Top; Random Clicking)."
"\n\nYOU CAN START THE AUTO-CLICKING AT ANY MOMENT BY PRESSING THE <trigger key> (13 = Enter). Reading the entire Help is optional."
"\n\nTHE FIELDS YOU CAN NOT MODIFY."
"\n<clicking status> or <random clicking status>, the topmost text field, is either getting 'idle' or 'clicking'."
Expand All @@ -1133,7 +1133,7 @@ LRESULT CALLBACK winCallBack(HWND hWin, UINT msg, WPARAM wp, LPARAM lp)
"\n<clicks per second>, the middle text field, is the frequency of the clicks measured in clicks per second."
" This frequency can be as high as 100 thousands (100000) clicks per second."
" FRACTIONAL frequences are supported. For example, 0.5 corresponds to 1 click every 2 seconds, 0.25 - to 1 click every 4 seconds, etc."
"\n<trigger key>, below that, is the keyboard key to trigger the mouse events. Just click on it and then press arbitrary key (or hit a mouse button)."
"\n<begin/end trigger keys>, below that, are the keyboard keys to trigger the mouse events. Just click on them and press an arbitrary key (or hit a mouse button)."
" That key will then trigger the mouse clicks when it remains pressed. If you just press and release the key, only few clicks should be made."
" This behavior corresponds to <trigger key mode> = 'press', see how it changes on 'toggle' value below."
" Default number shown in the button, 13, is the 'Enter' key code (for example, 32 is the 'Space' key code, 112 is the 'F1' key code, etc."
Expand All @@ -1142,7 +1142,7 @@ LRESULT CALLBACK winCallBack(HWND hWin, UINT msg, WPARAM wp, LPARAM lp)
" 0 is the default and means infinity, i.e. clicking will never stop."
"\n<trigger key mode> is a radio-button group, you can select either 'press' or 'toggle' mode of clicking."
" In the 'press' mode (default), the mouse events are emitted only when the corresponding trigger key is kept pressed."
" In the 'toogle' mode, the mouse events are emitted between subsequent short hits to the <trigger key> and Ctrl+<trigger key>."
" In the 'toogle' mode, the mouse events are emitted between subsequent short hits to the <begin trigger key> and <end trigger key>."
"\n<mouse button to click> is a radio-button group too, you can select either 'left', 'middle' or 'right' mouse button that will generate the clicks."
"\nNote 1: You can't have the same mouse button be the trigger and clicker."
"\nNote 2: You can't change the <trigger key> if you chose the left mouse button; you must press the [Reset to defaults] button."
Expand All @@ -1154,7 +1154,7 @@ LRESULT CALLBACK winCallBack(HWND hWin, UINT msg, WPARAM wp, LPARAM lp)
"\n*NEW* [Reset to defaults] button sets all the clicking parameters back to their default values."
"\n*NEW* [Batch folder] button opens the folder in File Explorer where all the batch files reside typically."
"\n*NEW* To get help on the command line arguments, just press the [Batch folder] button and see the remarks in *.bat files you find there."
"\n*NEW* Different keys for <trigger key mode> = 'toggle': if <trigger key> begins the clicking, then Ctrl+<trigger key> stops it."
"\n*NEW* Independent keys for <trigger key mode> = 'toggle': if <begin trigger key> begins the clicking, then <end trigger key> stops it."
"\n*NEW* <Window Always Top> checkbox: if checked, keeps the app's main window at topmost of others."
"\n\nCopyright (c) 2018-2019 Open Source Developer Masha Novedad."
"\nhttps://sourceforge.net/projects/fast-mouse-clicker-pro/",
Expand Down

0 comments on commit fd0a6ee

Please sign in to comment.