Controling AMIS programatically

in

Hi all,

Is it possible to control AMIS programatically? I am trying to write some Dragon Naturally Speaking scripts to control AMIS. I could write Dragon scripts that press keys and execute the relevant commands but keyboard definitions can be customized which would render the commands useless.

Pranav

Re: Controling AMIS programatically

Hi Pranav,

There are two things I can think of that might help you.

1. Description of accommodations made for JAWS scripts: http://daisy-trac.cvsdude.com/amis/wiki/ScreenReaders
2. All the keyboard commands for AMIS English version: http://daisy.org/projects/amis/amiskeys.html

You can make your own keyboard shortcuts to a certain extent. This is something that translators do when they are localizing AMIS. For example, you can change Control+O to Control+E, but you can't take out the Control part or change it. Obviously, this doesn't provide total control over the keyboard shortcuts, but it accommodates different languages. Don't know if the same type of customization would help your scripts too. If so, I can make you a translator account and you can create a version for Dragon.

Marisa

Re: Controling AMIS programatically

Hi Marisa,
You can make your own keyboard shortcuts to a certain extent. This is something that translators do when they are localizing AMIS. For example, you can change Control+O to Control+E, but you can't take out the Control part or change it. Obviously, this doesn't provide total control over the keyboard shortcuts, but it accommodates different languages. Don't know if the same type of customization would help your scripts too. If so, I can make you a translator account and you can create a version for Dragon.
PL] That wont be necessary. I will use the keystrokes that are already in AMIS for the scripts. I was hoping of a programatic way to control AMIS so that my scripts are keyboard independent. Does AMIS accept messages such as wm_copydata? I remember, when we were writing the first version of the current release, you had written a little commandline program which I had used to test my ncc component. How did you do that and can I use the same technique to make my scripts keyboard indipendent? I suspect not since you would probably need that kind of functionality encapsulated into an API before I could use it from an external program.

Pranav

Re: Controling AMIS programatically

AMIS does not expose any sort of API, so you can't control it programatically. This might work its way into a future version if enough people ask for it. What types of things would you want to tell AMIS to do?

Re: Controling AMIS programatically

Narisa,

I would expect to be able to navigate a daisy book remotely. So, items like play / pause, next and previous section, previous and next phrase could be exposed by AMIS for programatic control.

marisa wrote:AMIS does not expose any sort of API, so you can't control it programatically. This might work its way into a future version if enough people ask for it. What types of things would you want to tell AMIS to do?

Copyright © 2010 The DAISY Consortium, Some Rights Reserved.
Creative Commons License: No Derivative Works
Creative Commons

Valid XHTML 1.0! Valid CSS!