Hypersnap, 32 and 64, not saving the ENABLE HOT KEYS option
Greg,
see batch file below. I set it up to ask me whether to start 32 bit, or 64 bit. FIRST, I created the CLONE ACROSS MACHINES.ini file, from within a running window of Hypersnap. I then EXITED.
I then go to start either 32 bit, or 64 bit. in either case, it first does the READOPTS for the CLONE ACROSS MACHINES.ini file.
the versions start correctly. BUT, I tried to use the HOT keys, and they are DISABLED, I have to cHECK that option to use them. I CHECKED it, then did another SAVE of the INI file, then exited, then started again one of the vesions, but teh option does not stay ENABLED.
is that optoin (and possibly others) not in the INI file, or is there a way to enable it in the INI file?
or am I doing something wrong?
ADDENDUM - it IS IN the INI file........
<HelpKey>"112"</HelpKey>
<HelpMod>"0"</HelpMod>
<EnableHotKeys>"1"</EnableHotKeys> - this is from the INI file. The option IS ENABLED, but something is not reading the option, to enable the check box
BUT, on the bright side, these commands do work, in starting separate instances.
if anyone's interested,I can post the whole batch file that asks which version you want to start, the menu, etc.
nick
:00
REM this READS the options from the default cloning configuration
rem
start "" "%homedrive%%homepath%\PortApps2\HyperSnap 8\HprSnap8.exe" -readopts "%homedrive%%homepath%\PortApps2\HyperSnap 8\Hsnap_ini_CLONE_ACROSS_MACHINES.ini"
PING 127.0.0.1 -n 4 >nul
REM THEN start hypersnap after doing this
REM this STARTS hypersnap after the above command READ the config options
Start /min "Hypersnap" "%homedrive%%homepath%\PortApps2\HyperSnap 8\HprSnap8.exe" -newwin
goto end
:01
REM this is for HyperSnap x64
rem
start "" "%homedrive%%homepath%\PortApps2\HyperSnap 8-x64\HyperSnap 8\HprSnap8.exe" -readopts "%homedrive%%homepath%\PortApps2\HyperSnap 8\Hsnap_ini_CLONE_ACROSS_MACHINES.ini"
PING 127.0.0.1 -n 4 >nul
REM THEN start hypersnap after doing this
REM this STARTS hypersnap after the above command READ the config options
Start /min "Hypersnap" "%homedrive%%homepath%\PortApps2\HyperSnap 8-x64\HyperSnap 8\HprSnap8.exe" -newwin
post edited by aoz - 2017/07/11 07:42:09