[jawsscripts] Re: Clicking a link in a program that uses Internet explorer
- From: "Pranav Lal" <pranav.lal@xxxxxxxxx>
- To: <jawsscripts@xxxxxxxxxxxxx>
- Date: Tue, 25 Dec 2007 06:14:58 +0530
Hi Brian and Dennis,
Many thanks for your posts. I have now been able to successfully write a
script to click on a link. I am pasting it below.
Script CustomEnter ()
if GetObjectType ()== ("Link") then
ClickAtPoint(GetCursorCol(),GetCursorRow(),false)
endif
EndScript
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Brian Hartgen
Sent: Monday, December 24, 2007 9:35 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Clicking a link in a program that uses Internet
explorer
I wasn't able to download the program without giving a whole lot of personal
detail I really did not want to do. However, you ought to be able to create
a very simple script to do what you want. When focused upon a link, go into
home row mode with insert and space bar, press F10 until jaws says type,
then press F9. Hopefully it will say "link". If so, in your code you could
write
if GetObjectType ()== ("Link") then
; invoke the jaws cursor, do the cursor routing, and click. This is
assuming the routing is reliable enough.
endif
Any questions, let me know.
----- Original Message -----
From: Dennis Brown <mailto:DennisTBrown@xxxxxxxxxxx>
To: jawsscripts@xxxxxxxxxxxxx
Sent: Monday, December 24, 2007 3:52 PM
Subject: [jawsscripts] Re: Clicking a link in a program that uses
Internet explorer
Hi,
ClickObjectByName works on MSAA objects, and was written for
instances where
you need to click on an object like a tool bar item, etc.
For instance, I used this when writing the Windows Live
Messenger/MSN
Messenger script set, and I wanted a keystroke to move the user to
the
History window. It wouldn't be the best for your situation.
Just off the top of my head, what about the ClickAtPoint function?
ClickAtPoint(GetCursorCol(),GetCursorRow(),TRUE)
The True option tells it to use the JawsCursor.
Again, this is just off the top of my head.
Thanks,
Dennis Brown
----- Original Message -----
From: "Pranav Lal" <pranav.lal@xxxxxxxxx>
To: <JAWSScripts@xxxxxxxxxxxxx>
Sent: Sunday, December 23, 2007 8:32 PM
Subject: [jawsscripts] Clicking a link in a program that uses
Internet
explorer
> Hi all,
>
> I am trying to write scripts for a program called ultimate
vocabulary.
> You
> can get a trial version of this programme from
www.ultimatevocabulary.com.
>
> The programme uses Internet Explorer. A significant number of its
options
> are rendered as links. However, something nonstandard is being
done to
> them
> such that even if I press enter on those links, they do not get
clicked.
> I
> have to use the JAWS cursor to click those links. I was trying to
find a
> way to click these links via jaws scripts. I came across the
> ClickObjectByName procedure which may do what I want. However,
this
> procedure requires a window handle which changes for every
application
> session. So, how do I click these links?
>
> For example, there is a link called "Word Test". As of now, I have
to
> click
> it by:
> 1. Root the jaws cursor to the pc cursor.
>
> 2. Double click on that link.
>
> I have tried using Jamal Mazrui's windig utility to make some
sense of the
> program screen. I got a host of window handles and MSAA objects.
Many of
> the
> MSAA objects are clickable. What do I do next?
>
> Pranav
>
> __________
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
>
__________
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
__________
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
- References:
- [jawsscripts] Clicking a link in a program that uses Internet explorer
- From: Pranav Lal
- [jawsscripts] Re: Clicking a link in a program that uses Internet explorer
- From: Dennis Brown
- [jawsscripts] Re: Clicking a link in a program that uses Internet explorer
- From: Brian Hartgen
Other related posts:
- » [jawsscripts] Clicking a link in a program that uses Internet explorer
- » [jawsscripts] Re: Clicking a link in a program that uses Internet explorer
- » [jawsscripts] Re: Clicking a link in a program that uses Internet explorer
- » [jawsscripts] Re: Clicking a link in a program that uses Internet explorer
- » [jawsscripts] Re: Clicking a link in a program that uses Internet explorer
- » [jawsscripts] Re: Clicking a link in a program that uses Internet explorer
- » [jawsscripts] Re: Clicking a link in a program that uses Internet explorer
- » [jawsscripts] Re: Clicking a link in a program that uses Internet explorer
- [jawsscripts] Clicking a link in a program that uses Internet explorer
- From: Pranav Lal
- [jawsscripts] Re: Clicking a link in a program that uses Internet explorer
- From: Dennis Brown
- [jawsscripts] Re: Clicking a link in a program that uses Internet explorer
- From: Brian Hartgen