Hi, I wonder if anyone is able to help please, I have listed my script below but for some reason, it doesn't seem to do anything at all, I can use the JAWS cursor to move around the screen and find the graphic called Next Call with no problem but executing the shortcut key assigned to the script doesn't seem to do anything. Script NextCall () If (FindGraphic(0,"Next Call",S_Top,S_Unrestricted)) then JAWSCursor() SayString("Next Call") EndIf EndScript I guess I could try adding an else which would give me a check on whether if it actually finding the graphic or not which would be a starting point? -----Original Message----- From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jackie McBride Sent: 18 July 2012 00:11 To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] Re: Finding A Graphic Script Steven, remember that FindGraphic returns an integer. So: if ( FindGraphic(0,"Next record",S_Top,S_Restricted)) then LeftMouseButton() endif On 7/17/12, Steven Hicks <Steven.HicksSM@xxxxxxxxxxxxx> wrote: > Hi friends, > > > I have an application which has a line of four buttons which don't > appear to be standard graphical buttons, they are graphics which I > have to manually label. > > I have written a script using the FindGraphic(0,"Next in > list",S_Top,S_Restricted). key word and it seems to work and find the > graphic fine. > > I would like to expand this script so that I can confirm that I am on > the graphic and if so, I would then like to perform a left mouse > botton to click it. > > Does anyone have any suggestions on how I may do this please? > > My script looks like the following at the moment: > > > > Script(NextRecord) > > FindGraphic(0,"Next record",S_Top,S_Restricted) > > EndScript() > > > > Any help would be much appreciated, > > > > Steve. > > > > P.s. I could even consider using the IfSameKey I think it is so that > I press the assigned shortcut key twice to execute the left mouse button. > > > > Take care all. > > > > > > > > __________ > > View the list's information and change your settings at > //www.freelists.org/list/jawsscripts > > -- Blame the computer--why not? It can't defend itself & occasionally might even be the culprit Jackie McBride Ask Me Computer Questions at: www.pcinquirer.com Jaws Scripting training materials: www.screenreaderscripting.com homePage: www.abletec.serverheaven.net __________ View the list's information and change your settings at //www.freelists.org/list/jawsscripts __________� View the list's information and change your settings at //www.freelists.org/list/jawsscripts