Recent Posts

Pages: [1] 2 3 ... 10
1
How Do I? / Re: Clean install?
« Last post by Gary on Today at 12:31:35 pm »
The user/data files don't get created until after the first run, tho.
2
General Discussion / Re: Cannot find record of purchasing Voice Attack.
« Last post by Gary on Today at 12:29:35 pm »
You'll need to send an email to support@voiceattack.com and include as much information as you can -  first, last name, possible email addresses you've used, etc.  Do you know approximately when the purchase was made? Is it possible that the email address that was used was that of a spouse/parent/sibling/friend?  That happens a lot.
3
Inline Functions / Get App Installation Directories
« Last post by Exergist on Today at 12:09:55 pm »
Below you will find a C# inline function that queries the Windows registry to find all application installation directory paths corresponding to an application name. This works for finding 32-bit apps on 32-bit Windows as well as for finding 32 and 64-bit apps on 64-bit Windows. The results are outputted directly to the VoiceAttack event log. You just need to provide a text string (AppName) that will be used to perform a case-insensitive comparison against the "DisplayName" for all registry entries found in:
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
  • HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
Note that if multiple directories are found for the same AppName they will all be outputted.

Referenced Assemblies = System.dll;System.Core.dll;
Code: [Select]
// Referenced Assemblies = System.dll;System.Core.dll;

using System;
using Microsoft.Win32;

public class VAInline
{
    public void main()
    {
        string AppName = "VoiceAttack"; // Define app name you want to find (case-insensitive). You can use VA.GetText("VoiceAttack Variable Name") to import a VoiceAttack text variable into this code.
       
        string myPath = ""; // Initialize string variable for storing application directory
        string AllPaths = "."; // Initialize string variable for storing all found application directories (for repeat result filtering)
        string registryKey32 = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"; // Parent registry key for finding all 32-bit apps in 32-bit Windows and 64-bit apps in 64-bit Windows
        string registryKey64 = @"SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall"; // Parent registry key for finding 32-bit apps in 64-bit Windows
        string[] keyList = { registryKey32, registryKey64 }; // Store 32 and 64-bit parent registry keys in string array
        int ResultCount = 1; // Initialize variable for storing number of matching applications

        foreach (string parentKey in keyList) // Loop through each parentKey in keyList
        {
            using (RegistryKey childKey = Registry.LocalMachine.OpenSubKey(parentKey)) // Open subkey of parentKey and store in childKey. "using" implemented for proper disposal.
            {
                foreach (string subkeyName in childKey.GetSubKeyNames()) // Loop through each subkeyName in childKey
                {
                    using (RegistryKey mySubKey = childKey.OpenSubKey(subkeyName)) // Open subkey of childKey (based on subkeyName) and store in mySubKey. "using" implemented for proper disposal.
                    {
                        try // Attempt the following code...
                        {
                            string DisplayName = mySubKey.GetValue("DisplayName").ToString(); // Store "DisplayName" value of mySubKey
                            //if (AppName.Contains(DisplayName)) // Check if AppName contains DisplayName (case-sensitive)
                            if (DisplayName.IndexOf(AppName, StringComparison.OrdinalIgnoreCase) >= 0)  // Check if AppName is found in DisplayName (case-insensitive)
                            {
                                myPath = mySubKey.GetValue("InstallLocation").ToString(); // Store "InstallationLocation" value of mySubKey in myPath
                                if (AllPaths.Contains(myPath) == false) // Check if any found directory paths do NOT contain myPath
                                {                                       
                                    AllPaths += myPath; // Append myPath to AllPaths for future repeat result filtering
                                    VA.WriteToLog(@"""" + AppName + @""" Directory " + ResultCount++ + " = " + myPath, "blue"); // Output result of app directory location search to VoiceAttack event log
                                }
                            }
                        }
                        catch {} // Empty catch statement for handling exceptions in "try" statement (i.e., errors are ignored)
                    }
                }
            }
        }
        if (AllPaths == ".") // Check if AppPaths is still the initial value (i.e., no matching application directories found)
            VA.WriteToLog(@"""" + AppName + @""" Directory = " + "not found", "blue"); // Output result of app directory location search to VoiceAttack event log
    }
}

// References:
// https://stackoverflow.com/questions/908850/get-installed-applications-in-a-system
// https://social.msdn.microsoft.com/Forums/windows/en-US/afb5012a-30f1-4b96-9931-a143fd76bab5/how-to-find-path-of-installed-programs-in-c?forum=winformssetup
// https://stackoverflow.com/questions/444798/case-insensitive-containsstring

The above code searches for the AppName "VoiceAttack." A quick search through the registry on my PC shows the actual DisplayName for VoiceAttack is "VoiceAttack version 1.6.9." Since the AppName is found within the DisplayName the code should return the corresponding installation directory path.

Sometimes it isn't obvious what you should input as the AppName to find the installation directory for a particular application. To help with that this inline function will output DisplayNames for all installed applications to the VoiceAttack event log. So just copy the log's output into a text editor and search for keywords pertaining to your app of interest.

Cheers! :)
4
How Do I? / Re: Clean install?
« Last post by DeafPapa on Today at 11:57:14 am »
I'm trying to do a clean install of VA but somehow it's still has profiles that I have used in the past.

Why is it doing this?
Where is it getting that information from?
How do I get it to stop?

Thanks.

I use this free program for uninstall of programs. It also does the clean-up of any extras.

https://geekuninstaller.com/

5
I tried that and they say there is no record of the email account
6
If you go to http://voiceattack.com/lostKey.aspx

You only need the email address that you used. And you would have used PayPal if you bought from the site. The steam version is automatically tied to your steam account.
7
General Discussion / Cannot find record of purchasing Voice Attack.
« Last post by Crapgame on Today at 11:20:00 am »
I am being asked for the email address and account transaction from paypal. I cannot not find the transaction info. Not sure if I purchased Voice Attack through PayPay. How can I find out so I can get my Key to upgrade????
8
Inline Functions / Get List of Installed Apps
« Last post by Exergist on Today at 11:04:30 am »
I recently put together a C# inline function that queries the registry to obtain the names (actually the "DisplayNames" in the registry) of all installed applications. I figured I'd share it in case others may have some use for it. The function outputs each app name in the event log, so you'll likely need to increase the log's maximum displayed lines if you want to see them all (right click anywhere in the log to access this option). Cheers!  :)

Code: [Select]
// Referenced Assemblies = none required

using Microsoft.Win32;

public class VAInline
{
    public void main()
    {
        string registryKey32 = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"; // Parent registry key for finding all 32-bit apps in 32-bit Windows and 64-bit apps in 64-bit Windows
        string registryKey64 = @"SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall"; // Parent registry key for finding 32-bit apps in 64-bit Windows
        string[] keyList = { registryKey32, registryKey64 }; // Store 32 and 64-bit parent registry keys in string array
        foreach (string parentKey in keyList) // Loop through each parentKey in keyList
        {
            using (RegistryKey childKey = Registry.LocalMachine.OpenSubKey(parentKey)) // Open subkey of parentKey and store in childKey. "using" implemented for proper disposal.
            {
                foreach (string subkeyName in childKey.GetSubKeyNames()) // Loop through each subkeyName in childKey
                {
                    using (RegistryKey mySubKey = childKey.OpenSubKey(subkeyName)) // Open subkey of childKey (based on subkeyName) and store in mySubKey. "using" implemented for proper disposal.
                    {
                        try // Attempt the following code...
                        {
                            VA.WriteToLog(mySubKey.GetValue("DisplayName").ToString(), "blue"); // Output "DisplayName" value to VoiceAttack event log
                        }
                        catch {} // Empty catch statement for handling exceptions in "try" statement (i.e., errors are ignored)
                    }
                }
            }
        }
    }
}

// References:
// https://stackoverflow.com/questions/908850/get-installed-applications-in-a-system
// https://social.msdn.microsoft.com/Forums/windows/en-US/afb5012a-30f1-4b96-9931-a143fd76bab5/how-to-find-path-of-installed-programs-in-c?forum=winformssetup

9
General Discussion / Re: HOTAS not working with voice attack
« Last post by Pfeil on Today at 02:44:16 am »
Check the settings listed in this topic. If they're set to "Active Window", make sure the Elite: Dangerous window has focus before you issue commands.
10
General Discussion / HOTAS not working with voice attack
« Last post by snnfly on Today at 02:21:52 am »
I have Elite Dangerous in VR and trying to get voice attack to work with my HOTAS. However, when I make a command it stops the HOTAS. I then have to click on elite dangerous window to activate the HOTAS to work again.
I believe the problem is something to do with the windows for VR elite and voice attack, I have enabled my controller in voice attack with no success.
Does anyone understand what the problem is,
Thank you,

Steve
Pages: [1] 2 3 ... 10