Recent Posts

Pages: [1] 2 3 ... 10
1
How Do I? / Re: Teamspeak Push to talk via VoiceAttack possible?
« Last post by blueknight on Today at 08:30:10 am »
You know this might be easier to use the mute microphone button for teamspeak. It will just announce microphone muted or enabled and it can be keyed to a keystrokes
2
How Do I? / Re: Please Assist Question
« Last post by iceblast on Today at 04:34:24 am »
This is the way I came up with. I even attached a profile below if you want to try it. I had remove Go from the command, of course you can put it back if you want, and I added a Stop command, to stop moving.

Code: [Select]
Release W key
Release A key
Release D key
Release S key
Begin Text Compare : [{CMD}] Equals 'Down'
    Press down S key
End Condition - Exit when condition met
Begin Text Compare : [{CMD}] Equals 'Up'
    Press down W key
End Condition - Exit when condition met
Begin Text Compare : [{CMD}] Equals 'Left'
    Press down A key
End Condition - Exit when condition met
Begin Text Compare : [{CMD}] Equals 'Right'
    Press down D key
End Condition - Exit when condition met
Begin Text Compare : [{CMD}] Equals 'Stop'
    Release S key
    Release W key
    Release A key
    Release D key
End Condition - Exit when condition met
3
How Do I? / Please Assist Question
« Last post by Josh01 on Today at 02:28:07 am »
hello everyone I was wondering if you could please help me with this situation I'm currently using voice attack to play a game and I have created the following but wonder if there is a change I can make with when I change from go up to go right it will stop my previous commands


Begin Text Compare : [{CMD}] Ends With 'Go Down'
    Toggle Down key
Else If Text Compare : [{CMD}] Ends With 'Go Up'
    Toggle Up key
Else If Text Compare : [{CMD}] Ends With 'Go Left'
    Toggle Left key
Else If Text Compare : [{CMD}] Ends With 'Go Right'
    Toggle Right key
End Condition


Thank you for your time
4
Hey, sorry I didn't respond earlier. I must have missed your last post.
The "unofficial" build works perfectly. Thank you! :-)
5
General Discussion / Re: Additional TTS Voices for Windows
« Last post by ralf44 on April 19, 2018, 01:25:55 pm »
https://www.vb-audio.com/Voicemeeter/banana.htm (Donationware)

ty Gangrel :)

Same dev makes Virtual Audio Cable which I've used for streaming in the past:

https://www.vb-audio.com/Cable/index.htm
6
General Discussion / Re: VoiceAttack API
« Last post by Pfeil on April 19, 2018, 10:35:21 am »
Anything you can do with an inline function, like triggering commands and modifying variables, can be done by a plugin, so if you write a plugin that communicates with another process it can run in the background and handle that for you.

While a plugin can be triggered by an explicit "Execute an External Plugin Function" action, you can just as easily have something running as soon as the plugin loads(which would normally be when VoiceAttack starts, barring explicit disabling of your or all plugins).
7
General Discussion / VoiceAttack API
« Last post by Exergist on April 19, 2018, 09:57:11 am »
This is an odd question, but is there a proper API so other applications can trigger VA commands or perform other in-process communications without resorting to voice, key, or mouse triggers?
8
How Do I? / Re: Application Refocusing
« Last post by Pfeil on April 19, 2018, 07:08:16 am »
I duplicated the command structure, but as I don't have Chrome to test with I used Notepad instead; It doesn't loop on my machine.


That said, using jumps should not be necessary at all if you use "Else If" and "Else" actions:
Code: [Select]
Set Text [~targetWindowName] to '*Google Chrome*'
Begin Text Compare : [{WINDOWEXISTS:~targetWindowName}] Equals '0'
    Run application 'C:\Program Files (x86)\Google\Chrome\chrome.exe'
    Set Boolean [Chrome State] to True
Else If Boolean Compare : [Chrome State] Equals False
    Display window '*Google Chrome*' as [Maximize]
    Set Boolean [Chrome State] to True
Else
    Display window '*Google Chrome*' as [Minimize]
    Set Boolean [Chrome State] to False
End Condition

This also uses a token to check whether Chrome is running(It's actually checking whether a Chrome window exists, because there is no built-in method of checking if a process exists, currently), so that if you close Chrome the command will reopen Chrome and reset its internal state so that the next execution should minimize it(I'm assuming Chrome always starts with a visible window).


There is a topic that attempts to explain the basics of control flow, which may be of interest.
9
General Discussion / Re: Text
« Last post by Red Baron 1947 on April 19, 2018, 06:45:18 am »


Many thanks now sorted.

The "Display Size" setting has been replaced:

From VoiceAttack v1.7 onward, the interface has been modified so that it will adapt to your Windows display scaling setting.

I found this online article to be a good guide to change that setting.
10
How Do I? / Re: Notifications
« Last post by Exergist on April 19, 2018, 06:33:25 am »
And if you do decide to go after pixel color you can use this C# inline function within VA to obtain the information you need.
Pages: [1] 2 3 ... 10