Thanks Pappy, er, Aaron.
I'll check that out.
I was just reading up on threading within a process to see if that offered
anything via the thread sleep command.
Just to complete my thinking along that line does Windoweyes run in it's own
Process and, or, thread apart from the Process started by an external script?
Rick USA
----- Original Message -----
From: Aaron Smith
To: [email protected]
Sent: Monday, April 16, 2012 9:03 AM
Subject: Re: Can the Queue Command be duplicated from an External Script
Rick,
Queue's goal in life is not to queue speech strings, which is why is doesn't
(and won't) exist under anything but Script. Even if you could access Queue,
queuing speech is no guarantee that existing speech won't get interrupted.
Queue is designed for hosted scripts to have a way to do things when
resources are available. Queuing is recommended, for example, when you're
inside a dialog proc and you need to perform a task that takes a significant
amount of time. If you don't queue your task, then the UI will be locked up.
If, however, you queue your task, then the UI can continue along and your task
will be processed once resources are available.
Window-Eyes isn't designed to speak every string that comes through 100%
completely before speaking the next string. If that were the case, you'd have
no interruptibility. I think you're running into problems because you may not
have chosen the best solution for the specific scenario you're working with.
If your goal is simply to tack on something to what Window-Eyes is already
saying when a button gets focused, then you should look at using the Window's
FieldData event. In fact, you could use that even to replace what Window-Eyes
is saying, too.
Aaron
On 4/16/2012 8:32 AM, RicksPlace wrote:
Hi:
It is my understanding the Script Object is not available to an External
script - hopefully I'm wrong with the newer versions of WE Scripting.
I would like to queue strings so they don't step on what Windoweyes is
trying to say and thought it would be under the Speech Object.
Anyway, is there some way to schedule "queue" strings to get spoken so
external strings dont step on or get stepped on by WindowEyes?
I really would rather not muck with timers, that is a very ugly solution.
Internally does the queue command process a Window Message or something
else I could get at?
In the long run could it be moved under the Speech Object?
Thanks:
Rick USA
--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.