Author Topic: Feature on off dropdown  (Read 1516 times)

Blade Runner

  • Newbie
  • *
  • Posts: 8
Feature on off dropdown
« on: February 05, 2020, 09:22:23 PM »
Hi, all.  Not sure if this just my computer or not but every time i restart voice attack (1.8.3) I lose the dropdown for feature on/off.  If i reinstall voice attack it is fine until i shutdown voice attack. Have tried with an older version (1.8.0) but same result. Any ideas would be greatly appreciated.  Thanks

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: Feature on off dropdown
« Reply #1 on: February 05, 2020, 09:39:37 PM »
Hi, Blade Runner

If you are referring to the target dropdown from older versions of VoiceAttack, that has been moved to the Profile Options screen (edit your profile, click on the, 'Options' button at the top -  the dropdown is labeled, 'Send commands to this target').  The target feature is no longer globally accessible, as it was actually more problematic than it was helpful.

If I've missed the point entirely, let me know (just assuming that's the feature that's no longer available).

Blade Runner

  • Newbie
  • *
  • Posts: 8
Re: Feature on off dropdown
« Reply #2 on: February 05, 2020, 10:00:13 PM »
Hi Gary, thanks for the quick reply.
The actual setting I'm referring to is in settings / audio / feature on sound and feature off sound, under the wrench on the opening page.  There are i dont know maybe 20 sound effects to choose from normally in the dropdown list.  However when i shut voice attack down and restart it the only sound available is 'default". I use it as an audible cue for voice attack listening or suspended.  Hope I explained this a little better.  Thanks

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Feature on off dropdown
« Reply #3 on: February 05, 2020, 10:07:25 PM »
I was checking those settings, assuming that was the issue, and on my machine v1.8.3.9 (just the version I happened to be running at the time, presumably no real significance as from that) did have the issue. None of the sound dropdowns showed any options but "Default".

Restarting VoiceAttack did not change this, however removing the config file and letting VoiceAttack start in trial mode did.
Yet, going back to the config file that had the issue does not make the issue reappear.


How are you starting VoiceAttack?

If you encounter the issue again, could you run this inline function (create a new command, click "Other >", "Execute an Inline Function", "C# Code"; Replace the existing contents and click "Test Run", then check the log to see what the output is):
Code: [Select]
using System.IO;

public class VAInline
{
    public void main()
    {
        VA.WriteToLog(Directory.GetCurrentDirectory());
    }
}


If I force the working directory to something other than the installation directory (E.G. using 'start "C:\Program Files (x86)\VoiceAttack\VoiceAttack.exe" -wo c:\' in powershell), I can reproduce the issue (as VASoundResource.dll is apparently loaded using a relative path).


I'd also try disabling plugin support, if you have it enabled.


One more question: Are you running Ivona text-to-speech voices?

Ivona voices are known to change the working directory, and if I have a TTS action that executes on startup, the sounds are indeed not available.

Blade Runner

  • Newbie
  • *
  • Posts: 8
Re: Feature on off dropdown
« Reply #4 on: February 06, 2020, 01:02:07 AM »
Hi Pfeil,
 I start Voice Attack at Windows Start.  Ok, the steps I have taken are: I disabled plugins, uninstalled ivona (which i dont use anymore), uninstalled voice attack.  Reinstalled it (version 1.8.3). I then ran the code you provided and got the default install locaton. So far so good everything is working.  Shut down voice Attack , restarted, ran the code and got C:\Windows\System 32. So I dont know why it has changed. Any ideas?. Thanks


Update.  Problem fixed. it was a bad taskbar shortcut. Redid it with the shortcut pointing to (x86) and its all good.  Thanks for your help

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: Feature on off dropdown
« Reply #5 on: February 09, 2020, 06:31:18 PM »
VA was looking for the resource in the working directory (as Pfeil had mentioned).  This has been updated to force use of the sound resource in the installation directory.

Thanks for the heads-up!

Blade Runner

  • Newbie
  • *
  • Posts: 8
Re: Feature on off dropdown
« Reply #6 on: February 11, 2020, 03:58:17 AM »
Seems to only happen when start with windows is enabled. look forward to the update.  Thanks