Asked
— Edited
Resolved by WBS00001!
Hello DJ, follow Scripts dont work: Exec(C:\Windows\Notepad.exe)
Browser(http://www.google.com)
FileWrite(c:\temp\mylog.txt, My Variable: + $x)
FileWriteLine(c:\temp\mylog.txt, My Variable: + $x)
And when SpeakRSS is active, I can not stop using a voice command it. The voice control reacts to a command when Peak RSS is active. I will stop the RSS with Spoeak Command.
Thanks
If you look at all of these, they all contain paths to things. What I do normally is something like this
or
This is normally done because I have a script that launches EXE's and I call this script from other scripts after setting the executable that needs to be run based on the action that has been requested. I also sometimes need to concatenate the data needed for identifying the exe which can be done more easily in a variable.
I haven't been in the scripting mode for quite some time, but these are the things I remember about this.
Thanks for your answer, I'm looking for a way actually a file with voice command to open, to dictate my notes, and save the file. That's why I use these commands tested only once to work me to the destination. Unfortunately, without success.
Referring to the code: It seems that the quote mark you are using is the wrong kind. This is one of yours . The correct one looks slightly different "
The quote I used is on the key with the single quote on my keyboard. Apparently the one you used has a different character code. When I paste your lines into a script, the quote marks slant to the left on the left side and the right on the right side.
When I substituted the double quote marks from my keyboard, the lines worked properly.
EDIT Looking into it further it appears the double quotes you used are hex 93 and hex 94 whereas the correct character should be hex 22.
You want to use voice commands in ARC to open a txt file and dictate anything you want to it and save the file? I don't think you can do that with ARC. The voice commands are designed for specific things not open ended text to speech. And the file reading and writing is designed for specific things as well, like specific variables and not open ended text to speech.
If you want to dictate notes perhaps a product like Dragon Naturally Speaking would be a better application.
at WBS00001, the scripts I have copied from ARC, the ARC the quotes are all correct, I've just tried this. The error occurs only when copying in the browser.
at JustinRatliff okay it may be that I can not get the realized, but that still does not explain why the instructions are given in the EZB with me not working.
Please consult this thread for international keyboard incompatibilities with programming environments: https://synthiam.com/Community/Questions/8733
Hello DJ, thanks for your help, i learn every day. Now work through your help with the keyboard layout, the following commands:
Thanks also to WBS00001
but here i have also a problem:
Why not work with all scripts with (name) ?
and
when "SpeakRSS" is active, I can not stop using a voice command it. The voice control reacts to a command when Peak RSS is active. I will stop the "SpeakRSS" with a Speak Command. Is this a Bug?
and my last Problem at the Moment:
SoundBoard PC the command that I fix the volume?
Take the quotes out
Say ($dayName)
Also, when using say, I always pause the speech recognition and then unpause it after the speech has completed.
Saywait is the one I use instead of say.
one other thing you can do is...
get the rss feed and load it into a variable.
use the saywait to say the variable.
clear the variable.
This allows you to then have an rss read script that you just call after the rss has been loaded to the variable.
@CochranRobotics Thanks with "SayWait" it works
Can you give me an example of the RSS output from a variable?
Thank you
ultimately I would do it a bit different but here is a project that kind of shows what I would do. This project has a C# project and the code that shows how to get the rss feed. This would allow you to replace certain words and text that isn't really easy to speak.
https://synthiam.com/Community/EZCloud/Download.aspx?id=1675
I think there is a plugin that has been made that I would look at too.
I was wrong about the plugin. I cant remember where I saw the plugin or maybe it was something that I thought about writing and haven't yet...
@CochranRobotics
I'm not sure if you are referring to the external scrubber program I wrote, but I did write one for another project for someone else. It is not a plug-in. It is a totally separate program that allows the removal of character sequences that will cause a script to crash due to ongoing bugs in the execution of a given script via ARC. It was written mainly for scrubbing web page html files, but will work with anything. It communicates with ARC via disk files.
It also allows you to replace words or other character sequences with something else. There is a peripheral program that goes with it to bring up and modify the contents of a Windows "ini" type file to make whatever changes you want. It's all available inside ARC via script commands. I have it all bundled up in an installer file and, once installed, will automatically be found and used by the scripts I wrote to go with it.
Yes, that may be what I was thinking of. It would work for what he is looking for. I knew there was something, bit my memory was not good enough on it.
Frankly I do not understand what you want to tell me?
Here is the long and short of it all with RSS feeds.
They are not clean. There are a lot of things that are handled through RSS feed readers to clean up the data.
Language isn't easily converted into spoken text by a computer. An example of this is "Winds". In the English language, for this to be said correctly by a computer, it should be "Wends".
There is no current method inside of ARC to do a lot of this scrubbing. Some of this isn't an issue as computers naively understand how to handle some of this, or just skip over it. "Tom's" sometimes becomes "Tom S" though so some things it has an issue with due to the replacement of misunderstood text being replaced by spaces.
It is because of these things that I opted to write something outside of ARC about 16 months ago. It worked for my needs and was rolled into a product (which is being rewritten) called EZ-AI.
Others saw a need for this also and WBS00001 wrote an application outside of ARC to handle similar things. This was about 6ish months ago.
EZ-Robot allowed plugins to be developed for ARC about 3ish months ago. This would allow a plugin to be developed to handle RSS feeds that also handles most of these things. Because languages are different, some of these things will be issues for some people that are not for others and it isn't possible for something to be written that will absolutely work correct for languages that are not known by the plugins writer. Because of this, the plugin has to be configurable. Even in languages that are known, the way that someone says something on one side of the country is different then the way that someone says the same thing on another side of the country so... you see why it is difficult to come up with something that just works for everyone.
The best solution to using text off of the internet for information that is spoken (like RSS feeds) is to write something either outside of ARC that works for your specific situation or wait for someone to come out with something that will handle these things for you.
With all of that said, what I sent you was the starting of this type of application. There is some C# that is in the notes of the project that could be compiled. This was written with the understanding of US English, so it might not all translate to German, but it would get you started down the path of writing something for yourself if you have that skill. If not, it would be a good skill to pickup and this would be a good project for you to learn on along with a sample to follow.
The scripts in sample project use a text file that is created by the application (that gets the RSS feed, read it, remove some garbage) and loads this text file into a variable that is spoken. It gives an example of how to handle this through ARC and shows some examples of how to call external applications, open text files and such which you were asking about.
WBS00001 spent a lot of time on his process and it is being used by others in the community. He may be able to offer some more information on his. I remember skimming the thread that was going on when I had time and it sounded like people were happy with what he got working.
@CochranRobotics Thank you for your detailed explanation. Even though I have not understood everything with my bad English and with the help of Google Translator certainly correct. Now my problem is aware. So I have to try to find other ways, and I continue programming with the deal to come to a conclusion. I was previously unaware that it is the facts so complex.
@lizpoir
At this point I am not sure I quite understand what you want to do or are having troubles with so let me see if I have it right.
You want to start the robot speaking the contents of an RSS feed with a voice command.
As the robot is speaking the text of the RSS feed, you want to be able to stop it at any time with another voice command.
Currently, you are having problems with the robot speaking the text in the RSS feed. Or you are having problems getting the RSS feed in the first place?
@WBS00001 My Problem is Number 2 When the robot RSS Speak unresponsive speech recognition, no command and I suspect this is a bug.
Okay i think its not possible.
But it is not resolved before I continue every day get an e-mail to.