Recent Posts

Pages: [1] 2 3 ... 10
1
How Do I? / Re: Say and save data
« Last post by Pfeil on Today at 02:43:26 pm »
I would like to get back to the Prompt before giving the city name. Is it possible to have this word search within a command rather then using the 'When I say' line?
No, any predefined phrase must be a command trigger.

If you want a voice prompt, you are free to use a TTS action at the end of the command, even if the actual order doesn't matter(unless you set up a system that enforces it).


Also see that big list of city names (ATS) its going to get longer as time goes on. Is there a limit either to the # of Cities and/or characters in that string?
There is a limit, but not one you should run into in this context. The amount of characters is less relevant than the amount of permutations your command will generate, but even that isn't usually an issue when kept within reason.


I tried to use
Code: [Select]
Say, 'What are you hauling'
Start Dictation Mode (Clearing Dictation Buffer)
Start Loop While : [{DICTATION}] Equals ''
End Loop
Stop Dictation Mode
Execute command, 'Job Type [Unknown;Tyres;Household Appliances;Dynamite;Roadroller;Fruits;Cables;Cars;Clothes;Office Supplies;Scraper;Sand;Aromatics;Pesticides;Bulldozer;Warlock Stout;Computers;Petrol;Propane;Beverages;Excavator;TVs;Diesel;Crawler Tractor;Mortar;Tableware;Toys;Xmas Gifts;Ethane;Fireworks;Home Accessories;Large Tubes;Frozen Fruits;Potassium;Mobile Barrier;Electronic Components;Silica;Digger 500]' (and wait until it completes)
Pause 3 seconds
Execute command, 'Job Description; Current Job; what am I hauling'

To pass data to the command but it failed.

All commands should have access to the contents of "{DICTATION}" unless you clear the dictation buffer, are you using another method to pass data?
2
How Do I? / Re: Say and save data
« Last post by dnthomps@shaw.ca on Today at 12:27:10 pm »
Ok, baby steps. Thank your for your answers. I know its annoying but I am learning.

I took the command and broke it down into individual commands.

Code: [Select]
When I say: Job city [Oxnard;Carson City;Phoenix;Santa Cruz;Tucson;Roswell;Yuma;Santa Fe;Albuquerque;Barstow;Nogales;Bakersfield;Ukiah;Gallup;Primm;Reno;Kingman;Los Angeles;Grand Canyon Village;Tucumcari;Flag staff;Carlsbad Nm;San Diego;Sacramento;Jackpot;Elko;Camp Verde;Las Cruces;Alamogordo;Clovis;Holbrook;Pioche;Ely;Las Vegas;Socorro;Page;San_francisc;Fresno;Sierra Vista;Redding;Winnemucca;San Rafael;Raton;San Simon;Hobbs;El Centro;Oakland;Farmington;Carlsbad;Stockton;Santa Maria;San Francisco;Eureka;Huron;Show Low;Ehrenberg;Truckee;Kayenta;Artesia]

Set Text [JobDestination] to '{CMDSEGMENT:1}'
Pause 1 second
Say, 'We are delivering to {TXT:JobDestination}'

This works great (well unless I want Albuquerque which even my computer doesn't know how to say) but I would like to get back to the Prompt before giving the city name. Is it possible to have this word search within a command rather then using the 'When I say' line?

Also see that big list of city names (ATS) its going to get longer as time goes on. Is there a limit either to the # of Cities and/or characters in that string?

I tried to use
Code: [Select]
Say, 'What are you hauling'
Start Dictation Mode (Clearing Dictation Buffer)
Start Loop While : [{DICTATION}] Equals ''
End Loop
Stop Dictation Mode
Execute command, 'Job Type [Unknown;Tyres;Household Appliances;Dynamite;Roadroller;Fruits;Cables;Cars;Clothes;Office Supplies;Scraper;Sand;Aromatics;Pesticides;Bulldozer;Warlock Stout;Computers;Petrol;Propane;Beverages;Excavator;TVs;Diesel;Crawler Tractor;Mortar;Tableware;Toys;Xmas Gifts;Ethane;Fireworks;Home Accessories;Large Tubes;Frozen Fruits;Potassium;Mobile Barrier;Electronic Components;Silica;Digger 500]' (and wait until it completes)
Pause 3 seconds
Execute command, 'Job Description; Current Job; what am I hauling'

To pass data to the command but it failed.
3
Profile Uploads / KingdomComeDeliverance profile
« Last post by Alpha-Kilo on Today at 02:04:41 am »
Some details:
- This profile for KCD was made with the German version of Windows 10 Pro 64 and a QWERTZ keyboard.
- The spoken commands are in German.
- Hit [Pause] to activate and de-activate VoiceAttack.
- This profile works with the default key bindings. Exception: [Mouse 3] has been changed to [F1] in this profile.
- Use auto-movement for long marches instead of constantly holding down [W].
- If you use the profile please feel free to send me a PM to suggest improvements.

Download: https://1drv.ms/f/s!Ahpind_yYGOuibhiAY8xWymTSs21cg
4
General Discussion / Re: Is it possible to run VA with 2 different PTT ?
« Last post by TwanV on February 21, 2018, 11:12:47 am »
Outstanding, I was hoping for a custom command like that. Thanks for your help, works like a charm. :)
5
How Do I? / Re: Say and save data
« Last post by Pfeil on February 21, 2018, 07:24:20 am »
Dictation is the most flexible way, as you don't have to define all possible values ahead of time, but you can use dynamic command sections to build a list of command phrases that the speech engine will try to match what you're saying against.

E.G.
Taking a load of [potatoes;milk;a rather large boat] to [denver;dallas;portland]
Code: [Select]
Set Text [JobName] to '{CMDSEGMENT:1}'
Set Text [JobDestination] to '{CMDSEGMENT:3}'
See page 118 and 119 of VoiceAttackHelp.pdf for more information on the "{CMDSEGMENT:}" token.


For numeric values especially, you need to decide which and how many options you want to cover, as the amount of generated commands will increase exponentially.

E.G.
Carrying [1..36] tonnes Will generate 36 command phrases, as you'd expect. However, if you add more options like Carrying [around;] [1..36] tonnes, it'll generate 72 command phrases.

The more command phrases that need to be generated, the longer your profile will take to load(both initially and when editing).


I'd recommend splitting up your settings across a few commands, as something like Taking a load of [potatoes;milk;a rather large boat] to [denver;dallas;portland] weighing [1..36] tonnes paying [1..100] dollars generates 32400 different phrases(with only a few of the possible loads/cities/weights/payouts filled in), whereas splitting each of those up only generates 142 instead.
6
General Discussion / Re: Is it possible to run VA with 2 different PTT ?
« Last post by Pfeil on February 21, 2018, 06:55:20 am »
The While-condition of a keyboard key being pressed cannot be selected from the corresponding menu. Is there any way of implementing such a condition outside the while-loop menu?
That feature was implemented in beta v1.6.9.1, so you don't have it if you're running the current release version(v1.6.9).

In the release version you can do it the "old fashioned" way using tokens(which go in the "Text" tab of the "Loop Start" action):
Code: [Select]
Start Loop While : [{STATE_KEYSTATE:LALT}] Equals '1'
End Loop
If you want a key combination, you can add tokens for those:
Code: [Select]
Start Loop While : [{STATE_KEYSTATE:LALT}{STATE_KEYSTATE:A}] Equals '11'
End Loop
Because each token returns either "0" or "1" as text, you can add more "1"s to the "Text" field if you need a more complex key combination.

Alternatively you can use the condition builder and add each key as an "And" element.


You can find the possible key names for that token under the heading "Key State Token Parameter Values" on page 143 of VoiceAttackHelp.pdf
7
General Discussion / Re: Is it possible to run VA with 2 different PTT ?
« Last post by TwanV on February 21, 2018, 06:00:20 am »
Dear Pfeil,

I tried to implement your suggestion but sadly no-joy yet: The While-condition of a keyboard key being pressed cannot be selected from the corresponding menu. Is there any way of implementing such a condition outside the while-loop menu?
8
How Do I? / Re: Say and save data
« Last post by dnthomps@shaw.ca on February 20, 2018, 11:21:45 pm »
Thank you for your help. I was able to get this working.

Code: [Select]
Say, 'What is the Job your doing'
Start Dictation Mode (Clearing Dictation Buffer)
Start Loop While : [{DICTATION}] Equals ''
End Loop
Stop Dictation Mode
Set Text [JobName] to '{DICTATION}'
Pause 1 second
Say, 'Where is it going?'
Start Dictation Mode (Clearing Dictation Buffer)
Start Loop While : [{DICTATION}] Equals ''
End Loop
Stop Dictation Mode
Set Text [JobDestination] to '{DICTATION}'
Pause 1 second
Say, 'What is its mass'
Start Dictation Mode (Clearing Dictation Buffer)
Start Loop While : [{DICTATION}] Equals ''
End Loop
Stop Dictation Mode
Set Text [JobMass] to '{DICTATION}'
Pause 1 second
Say, 'What does it pay'
Start Dictation Mode (Clearing Dictation Buffer)
Start Loop While : [{DICTATION}] Equals ''
End Loop
Stop Dictation Mode
Set Text [JobRate] to '{DICTATION}'
Pause 1 second
Say, 'Oh your taking a load of {TXT:JobName}'
Pause 2.5 seconds
Say, 'And its going to {TXT:JobDestination}'
Pause 2 seconds
Say, 'It has a mass of {TXT:JobMass} tonnes'
Pause 2 seconds
Say, 'You will be paid {TXT:JobRate} dollars'

It works but Dictation leaves a lot to be desired, it got even worse after I did the voice training.

Is there another way to do this?
9
Issues / Re: Key combos not holding
« Last post by waldorf on February 20, 2018, 03:03:50 pm »
Thanks Pfeil

I tried the methods you suggested but I didn't include the release commands (doh!!).
I'll give it a go tomorrow, and am sure it will work fine.

Thanks for prompt reply.
10
Issues / Re: Key combos not holding
« Last post by Pfeil on February 20, 2018, 02:55:04 pm »
It's odd that the order of the modifier keys matters to your application(have you tested this?), but you could work around this in at least two ways:

Split the keypresses as actions:
Code: [Select]
Press down Left Shift key
Press down Left Ctrl key
Press A key and hold for 0,06 seconds and release
Release Left Ctrl key
Release Left Shift key

Split the keypresses using Quick Input:
Code: [Select]
Quick Input, '[SHIFTDOWN][CTRLDOWN]A[CTRLUP][SHIFTUP]'
Pages: [1] 2 3 ... 10