On 26/03/2014 20:35, Laurie VK3AMA wrote:

Hi Laurie,

Joe,

Do you expect a future public release with the new Windows %APPDATA%\WSJTX storage of data files to be version 1.4.0 or greater?

That sounds like a good idea to me. There are a couple of further complexities. The new version as coded at present also uses a temporary directory for temporary files. The files wsjtx_status.txt and decoded.txt are considered as temporary files. Those live in a directory under the Windows temporary directory.

The data files path is rooted at what

SHGetSpecialFolderPath(0, path, CSIDL_LOCAL_APPDATA, FALSE)

returns and the temporary file path is rooted at what

GetTempPath(MAX_PATH, tempPath)

returns unless that is empty where "C:\tmp" is used instead.

In both cases the use of multiple instances of wsjtx adds an extra element. Multiple instances are run by adding a command line option to wsjtx of '-r <rig-name>' or '--rig <rig-name>'. If the '-r' or '--rig' option is present the data and temp paths end element becomes 'wsjtx - <rig-name>'.

So for example wsjtx.log might be found at:

C:\Users\bill\AppData\Local\wsjtx\wsjtx.log

for wsjtx started as 'wsjtx' or 'wsjtx --rig'.

wsjtx_status.txt and decoded.txt might be found at:

C:\Users\bill\AppData\Local\Temp\wsjtx\wsjtx_status.txt

and

C:\Users\bill\AppData\Local\Temp\wsjtx\decoded.txt

A second instance started as 'wsjtx --rig "My other rig"' would have the files at:

"C:\Users\bill\AppData\Local\wsjtx - My other rig\wsjtx.log"
"C:\Users\bill\AppData\Local\Temp\wsjtx - My other rig\wsjtx_status.txt"
"C:\Users\bill\AppData\Local\Temp\wsjtx - My other rig\decoded.txt"

The wsjtx temporary directory and it contents are deleted on program exit.

If so, I can do a simple version number check of the main wsjt-x window title and have JTAlert look in the correct location. This way I can make a release of JTAlert that will already be "in the wild" for when you go public.

I think there is another issue with JTMacros. The free text field is now an editable combo box, you can still write to its line edit but I noticed in my testing that JTMacros didn't work.

Whatever you decide, here is a link where you can download an installer for wsjtx that exhibits the new file location behaviour:

https://dl.dropboxusercontent.com/u/4192709/wsjtx-1.4.0-win32-new-file-locations.exe

This is not an official release of any type and is only for testing purposes.

I doubt there is any great rush on this Laurie as I expect a quite few issues will need resolving in wsjtx before any release in the wild.


de Laurie, VK3AMA
73
Bill
G4WJS.
------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to