locked Application Auto-Start Issue


Patrick Hung
 

I've set JT-Alert to auto-start both WSJT-X and ACLog, but the two apps can't seem to start in the right order. ACLog usually launches right away, which for some reason takes away the TCP port from WSJT-X, which prevents WSJT-X from auto-starting the radio and getting going. Upon an immediate second try, after quitting out of all three programs, WSJT-X starts quickly (beats ACLog to the port??), and all is well. I don't understand it. Any ideas?


--
73,

Patrick - W6AJR


Wyndell - K5WJF
 

YMMV but I have win4icomsuite start up ACLog, w5jtx and jtalert. Jtalert will have a pop up about which version to start I just wait till w5jtx is running then select w5jtx.  Now to see if fldigi and run with or instead of w5jtx…

 

Wyndell

Resistance is NOT futile, it's Voltage divided by Current

 

From: Support@HamApps.groups.io <Support@HamApps.groups.io> On Behalf Of Patrick Hung
Sent: Wednesday, March 3, 2021 16:04
To: Support@HamApps.groups.io
Subject: [HamApps] Application Auto-Start Issue

 

I've set JT-Alert to auto-start both WSJT-X and ACLog, but the two apps can't seem to start in the right order. ACLog usually launches right away, which for some reason takes away the TCP port from WSJT-X, which prevents WSJT-X from auto-starting the radio and getting going. Upon an immediate second try, after quitting out of all three programs, WSJT-X starts quickly (beats ACLog to the port??), and all is well. I don't understand it. Any ideas?


--
73,

Patrick - W6AJR




Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com



HamApps Support (VK3AMA)
 

On 4/03/2021 9:03 am, Patrick Hung wrote:
I've set JT-Alert to auto-start both WSJT-X and ACLog, but the two apps can't seem to start in the right order. ACLog usually launches right away, which for some reason takes away the TCP port from WSJT-X, which prevents WSJT-X from auto-starting the radio and getting going. Upon an immediate second try, after quitting out of all three programs, WSJT-X starts quickly (beats ACLog to the port??), and all is well. I don't understand it. Any ideas?


--
73,

Patrick - W6AJR

Increase the delay for wsjtx.exe entry (#1). The delay is applied after an entry is started, so you only have 1.5 seconds between starting wsjtx (#1) and aclog (#2). The 6 sec delay for aclog can be reduced as all that does is delay JTAlert from completing its startup.

de Laurie VK3AMA


HamApps Support (VK3AMA)
 

On 4/03/2021 9:30 am, Wyndell - K5WJF wrote:
Jtalert will have a pop up about which version to start

That's because win4icomsuite is starting JTAlert without the required command-line parameter. JTAlert needs either the /wsjtx or /jtdx parameter. I don't know if
win4icomsuite supports starting applications with additional command-line paramters. If it does not, have it start a batch file which contains the command to start JTAlert with a param.

de Laurie VK3AMA


Jim N6VH
 



On 3/3/2021 3:37 PM, HamApps Support (VK3AMA) wrote:
> On 4/03/2021 9:30 am, Wyndell - K5WJF wrote: >> Jtalert will have a pop up about which version to start > > That's because win4icomsuite is starting JTAlert without the required > command-line parameter. JTAlert needs either the /wsjtx or /jtdx > parameter. I don't know if win4icomsuite supports starting > applications with additional command-line paramters. If it does not, > have it start a batch file which contains the command to start > JTAlert with a param. > > de Laurie VK3AMA > >

Laurie,

I use Win4Yaesu, which is probably similar to Win4Icom in this respect. While I don't have it auto-start anything, it looks like it could be set to start the appropriate JTAlert shortcut, which would then start JTAlet, of course. Then, JTAlert could start WSJT-X (or (JTDX). This might work for Wyndell. It might be worth a try for him

73,

Jim N6VH


Dave (NK7Z)
 

Try making the timeout for the first program longer, say 5000, or 6000 ms.

If I understand how the delays work, the number you enter into the delay is how long AFTER program start that the next item is launched.

So you are waiting 1.5 seconds, then calling N3FJP, which is probably too short a time...

73, and thanks,
Dave (NK7Z)
https://www.nk7z.net
ARRL Volunteer Examiner
ARRL Technical Specialist, RFI
ARRL Asst. Director, NW Division, Technical Resources

On 3/3/21 2:03 PM, Patrick Hung wrote:
I've set JT-Alert to auto-start both WSJT-X and ACLog, but the two apps can't seem to start in the right order. ACLog usually launches right away, which for some reason takes away the TCP port from WSJT-X, which prevents WSJT-X from auto-starting the radio and getting going. Upon an immediate second try, after quitting out of all three programs, WSJT-X starts quickly (beats ACLog to the port??), and all is well. I don't understand it. Any ideas?
--
73,
Patrick - W6AJR


Wyndell - K5WJF
 

It errors if I put the command line /wsjtx parameter.  Not a problem though.

 

Wyndell

Resistance is NOT futile, it's Voltage divided by Current

 

From: Support@HamApps.groups.io <Support@HamApps.groups.io> On Behalf Of HamApps Support (VK3AMA)
Sent: Wednesday, March 3, 2021 17:37
To: Support@HamApps.groups.io
Subject: Re: [HamApps] Application Auto-Start Issue

 

On 4/03/2021 9:30 am, Wyndell - K5WJF wrote:

Jtalert will have a pop up about which version to start


That's because win4icomsuite is starting JTAlert without the required command-line parameter. JTAlert needs either the /wsjtx or /jtdx parameter. I don't know if
win4icomsuite supports starting applications with additional command-line paramters. If it does not, have it start a batch file which contains the command to start JTAlert with a param.

de Laurie VK3AMA




Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com



Patrick Hung
 

I will try as suggested, and report back. Thanks, all!
--
73,

Patrick - W6AJR


Jim N6VH
 


On 3/3/2021 4:28 PM, Jim N6VH wrote:
Laurie,

I use Win4Yaesu, which is probably similar to Win4Icom in this respect. While I don't have it auto-start anything, it looks like it could be set to start the appropriate JTAlert shortcut, which would then start JTAlet, of course. Then, JTAlert could start WSJT-X (or (JTDX). This might work for Wyndell. It might be worth a try for him

73,

Jim N6VH

_._,_._,_

Laurie,

As an experiment, I tested my suggested method, and it doesn't work. I can point Win4Yaesu to the desired JTAlert shortcut, but Win4Yaesu then points to the location listed in the shortcut, instead of running the shortcut itself. Wyndell will need to use another method to do what he wants.

73,

Jim N6VH


HamApps Support (VK3AMA)
 

On 6/03/2021 10:25 am, Jim N6VH wrote:

As an experiment, I tested my suggested method, and it doesn't work. I can point Win4Yaesu to the desired JTAlert shortcut, but Win4Yaesu then points to the location listed in the shortcut, instead of running the shortcut itself. Wyndell will need to use another method to do what he wants.

73,

Jim N6VH


RRR.

The easiest option to overcome deficiencies in these applications that don't support command-line parameters for starting other applications is to simply put the command that needs a param into a batch file and have the batch file started.

de Laurie VK3AMA
 


Jim N6VH
 


On 3/5/2021 3:50 PM, HamApps Support (VK3AMA) wrote:
On 6/03/2021 10:25 am, Jim N6VH wrote:

As an experiment, I tested my suggested method, and it doesn't work. I can point Win4Yaesu to the desired JTAlert shortcut, but Win4Yaesu then points to the location listed in the shortcut, instead of running the shortcut itself. Wyndell will need to use another method to do what he wants.

73,

Jim N6VH


RRR.

The easiest option to overcome deficiencies in these applications that don't support command-line parameters for starting other applications is to simply put the command that needs a param into a batch file and have the batch file started.

de Laurie VK3AMA
 

Laurie,

I wrote a very basic batch file that might help Wyndell. It has been a long time since I have worked with batch files, so it might not be perfect. It does work, however.

Wyndell, open Notepad. Then copy the following statements, and paste them into Notepad. Then save this as a .bat file. I called it Start JTAlet.bat.

@ECHO OFF CD C:\Program Files (x86)\HamApps\JTAlert START JTAlert.exe /wsjtx EXIT

It might be necessary to change the file location in the second line, depending on where JTAlert is installed. If you want to use JTDX instead, just change wsjtx in the third line to jtdx.

Then setup Win4Icom like this (see attached picture). Once again, change the location to wherever you saved the batch file.

Next, set JTAlert like this (see attached picture).

As I said, you might need to make adjustments to file locations, etc. This works on my computer. I hope it works for you.

Incidentally, I normally use Log4OM, but I did the test with AC Log since that was the log mentioned in the original post.

73,

Jim N6VH