Thanks for that code.

I am particularly interested in browse mode selection.  I do not know how
to do what you are suggesting with the DOM, am not aware of a GW example,
and would appreciate one.

Jamal

--Original Message--
Fri, 8 Aug 2008, Doug Geoffray wrote:

> Date: Fri, 08 Aug 2008 11:06:00 -0400
> From: Doug Geoffray <[EMAIL PROTECTED]>
> Reply-To: [email protected]
> To: [email protected]
> Subject: Re: State of drag and drop
>
> Jamal,
>
> I'll let you dream up the UI to get the starting point and the ending
> point in the script as this easy.  Once you have to start and end point
> just do:
>
> mouse.position = startingpoint
> mouse.buttondown mbleft
> mouse.position = endingpoint
> mouse.buttonup mbleft
>
> The text is now selected.
>
> So I would consider that very easy.  As for browse mode, as you know,
> there isn't a way to simulate selection and this will be resolved post
> 7.0.  But you could do better anyway by selecting the actual content in
> the IE window retaining all formatting etc. by bypassing browse mode. In
> other words, you can get the starting line in browse mode and tie that
> to the IE DOM, get the ending line and tie that to the IE DOM and select
> everything in between.  Again, if this were copied to the clipboard by
> the user then they would have the full HTML content that could be pasted.
>
> Doug
>
>
> Jamal Mazrui wrote:
> > What might be the script code to easily simulate this?  Would it work in
> > browse mode as well?
> >
> > Jamal
> > On Fri, 8 Aug 2008, Doug Geoffray wrote:
> >
> >
> >> Date: Fri, 08 Aug 2008 09:04:25 -0400
> >> From: Doug Geoffray <[EMAIL PROTECTED]>
> >> Reply-To: [email protected]
> >> To: [email protected]
> >> Subject: Re: State of drag and drop
> >>
> >> Jamal,
> >>
> >> No, there is currently no way to know.  But of course this entire
> >> functionality can easily be simulated with a simple script.  In fact,
> >> had we had scripting first this feature probably would have been done
> >> with a script instead of within Window-Eyes.
> >>
> >> Doug
> >>
> >> Jamal Mazrui wrote:
> >>
> >>> Via the API, how can a script determine the state of the Window-Eyes drag
> >>> and drop feature?  As you know, when this hotkey is pressed the first
> >>> time, it says "Mark."  A second time presents a dialog with Drop and Mark
> >>> buttons, the default being Drop.  Can a script know the current state
> >>> (whether a regular mouse drag and drop or a browse mode one)?
> >>>
> >>> Jamal
> >>>
> >>>
> >>>
> >> --
> >> Doug Geoffray
> >> GW Micro, Inc.
> >> Voice 260-489-3671
> >> Fax 260-489-2608
> >> http://www.gwmicro.com
> >>
> >>
> >
> >
>
> --
> Doug Geoffray
> GW Micro, Inc.
> Voice 260-489-3671
> Fax 260-489-2608
> http://www.gwmicro.com
>
>

Reply via email to