Registering and logging in removes this ad.
Registering and logging in removes this ad.
why can't I get UniMacro to work?
Everytime I ask on here about a problem with Vocola, someone always tells me that I wouldn't have any problems with this particular issue if I used Unimacro. I tried to install it several months ago, but had problems (I can't remember what). I've now uninstalled Natpython and Vocola, after making backups of all my scripts, and used the all-in-one installer for Natpython, Vocola and Unimacro. The installation all seemed to run smoothly, but then, following the instructions, I tried to open "configure natlink (gui)". When I open it, a DOS-style black box pops up for about a second, then disappears, but I never see a graphic user interface at all. Has anyone else had this problem? does anybody know what the problem is? If I can't get it sorted, I'll remove Unimacro and go back to simply using Vocola, but I'll wait first to see if anybody knows a solution to my problem.



You can run the
You can run the natlinkconfigfunctions.py (a CLI, command line interface). Unfortunately the config GUI program does not seem to work with python 2.3.3.
You can also move on to python 2.3.5 and try again.
Please mention your positive or negative experiences here,
Quintijn
Python
Okay, it looks like I haven't installed Python. It's all up and running now. I do have a few teething problems though. Firstly, I could get the command "tab number #" to work in Firefox, but when I said "tab 2" (without the word "number"), it would just put "02" in the address bar. I assumed this was because my already existing commands in Vocola were overriding the Unimacro grammar, so I said "Edit Voice Commands" and removed the tab commands I had added to Vocola before.
When I said "refresh macros", like I used to do, it just typed in my exact words. Will this command not work any more? What do I have to do to refresh my Vocola macros? Also, before my Vocola macros used to open up in an alternative to Notepad. This is not happening now. Maybe that's what the problem is. I've tried just simply saving the file, but now, if all I say is "tab #", it doesn't do anything.
I have a lot of Vocola macros I wrote for a specific program I use for my job (and therefore it is very unlikely that anything exists for this programme in Unimacro, except for simple commands like undo). Should I be trying to move all these commands into Unimacro? Or should I keep using these in Vocola (they're working fine).
Thanks a lot for the help.
Tim
Please also consult the
Please also consult the unimacro website.
Of course if you have the firefox_browsing grammar on in unimacro it can double earlier vocola commands. Move away from the "natlink user directory" (unimacro files are there) the file firefox_browsing.py. But consider removing some of your vocola commands instead, as the firefox_browsing grammar works quite well.
You should keep vocola and unimacro both, but do not double commands. So vocola and unimacro coexist happily.
tab 2 can also be a command of the grammar _keystrokes, but this one is not on at default installation.
But in order to prevent clashes of commands, I have chosen to insist about the word "number" in the command in the grammar Firefox browsing. Again see the website of unimacro, or say "show Firefox browsing" to show the commands. You can also say "edit Firefox browsing" to edit some options, for example the command words. This is an advanced option though which can have complications. This feature is described in Translation of grammars page and was written to make translations of unimacro grammars into other languages possible without changing anything in the python grammar files.
Ask questions here, but read in the unimacro website first.
Success, greetings, Quintijn
I looked through the
I looked through the translation pages, but as far as I can see, the way to change commands is to open up the ini files, but all I see in the final to Firefox browsing is tab=tab. So presumably I'd have two edit the py file, but I've looked through there and it all looks very complicated to me for now, so I guess I just have to get into the habit of saying tab number.
I suggest you accept this
I suggest you accept this this way. I didn't put in the word "number" without reason. The command "tab ..." without this word is very vulnerable, and as said will often be in some other (global) grammar.
Note you can also use the command "tab number minus 1", in which case you may also leave away the word "number" so then you say "tab minus 1".
Greetings, Quintijn
I tend to use "next tab",
I tend to use "next tab", "previous tab", "x tab right", "x tab left" (relative movement)
The pages and tabs part of
The pages and tabs part of the grammar "Firefox browsing" looks like:
<navigatepages> exported = ((next|previous|{pagecommands}) page)| (page (back|forward) [{1-20}]) | page {pagecommands}; <navigatetabs> exported = ((next|previous) tab [{tabcommands}]) | ({tabcommands} tab) | (tab (number|minus|number minus) {1-9} [{tabcommands}])| tab {tabcommands};So in analogy to "next page", "previous page" and "page back 1-20" etc. this contains
"next tab", "previous tab", optionally followed by tabcommands, which by default contains "close".
If we want to enhance this I would like to choose for
or maybe "tab next [1-10]" "tab previous [1-10]") again optionally followed by tabcommands.
I prefer to have the (optional) number AFTER the command, because
-I think it's easier to remember,
-you can still decide the number while you are already saying the beginning of the command.
-single and plural do not conflict (the other way: it should be "1 tab left" and "3 tabs left" etc.)
-Moreover I think the recognition is more stable.
It seems sensible to build these refinements into the unimacro grammar, because when doing (parts of) them in vocola as well, you are likely to run into duplicate commands.
Please react and give your preferences,
Greetings, Quintijn
In earlier versions of
In earlier versions of NatLink I believe there was a bundled application called Notepad2. It was installed into c:\program files\natlink\vclEdit\vclEdit.exe. I believe you can configure Natlink to use whatever editor you want in Quintijn's GUI, but you might need to copy across the executable from an old NatLink installation.
I have no problems with "refresh macros". It almost sounds as if you do not have vocola enabled? Again, this is something you can do from the configuration GUI.
Finally, I do not think it makes any sense to move your application-specific macros. The point of unimacro is that it should contain 'standard' macros that anyone would need, such as browsing, working with folders, issuing keystrokes. Vocola is simpler and less powerful, but very well-suited for easily creating your own application-specific macros.
Read through the thread http://www.speechcomputing.com/node/1788 to see my natlink installation experience and some advice from Quintijn.
Refresh macros
I definitely have Vocola enabled. Is there anywhere where I can check that the "refresh macros" command has not been deleted?
Hello Tim, If vocola is
Hello Tim,
If vocola is enabled, the command "refresh commands" should never be needed, I believe.
If you have configured to use "simpscrp", you do not see the refreshing of commands to python translation. If you configure NOT to use "simpscrp", you see a DOS box flashing up and going away whenever this translation stepped is taken. If you disable "simpscrp", the default editor is Notepad. You can choose any other text editor in the configuration program. See all the help the configuration program (GUI or CLI) provides.
Anyway used to last install files from SourceForge. It is no point to try to keep older files at work.
Greetings, Quintijn
PS in some cases (as a last resort) it may be useful to restart your computer.