[jawsscripts] Activating HTML Button

 
Hello all
 
I have a button on a web page that i need to activate using a script rather 
than using Ins+F5. I will bind this script to Ctrl+Shift+L but what would be 
the best way to activate it? I.e if the button has a name "Click Here" is this 
something i can use rather than doing a findstring?
 
Regards
 
Mike



> From: DennisTBrown@xxxxxxxxxxx> To: jawsscripts@xxxxxxxxxxxxx> Subject: 
> [jawsscripts] Re: Same Icon> Date: Thu, 10 Jan 2008 07:45:53 -0500> > One 
> tool might be GetListOfObjects. You can try this by moving to the > window 
> with JawsCursor, then activating HomeRow, then hit Alt+F9. This will > give 
> you an idea of how that puppy works.> If you tab to one of the controls, then 
> activate HomeRow, and use Alt+F9, > you might get the same results. If not, 
> hit Shift+F2 to step up the window > chain, hitting Alt+F9 after each 
> Shift+F2.> If that works, you may be able to use the GetListOfObjects to step 
> through > your window's hierarchy.> > Thanks,> Dennis Brown> ----- Original 
> Message ----- > From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>> To: 
> <jawsscripts@xxxxxxxxxxxxx>> Sent: Wednesday, January 09, 2008 8:09 PM> 
> Subject: [jawsscripts] Re: Same Icon> > > > or, alternatively, if this all 
> fails, use HotSpotClicker DEan to bring > > quick> > and ready access to 
> these Same ICon tools!> >> > http://www.hotSpoitClicker.org> >> > after all, 
> that was the initial driving force behind my intention to have > > it> > 
> developed to what it is today! and jim's done just an amazing job with > > 
> this> > puppy! in my view anywayz.> > one day, whenever I get around to it, 2 
> years and it hasn't happened yet,> > grrr, I am going to build an audio and 
> textual quickstart for non-scripter> > newbies, which doesn't exist yet, at 
> least, not one by me, Jim and Vic > > have> > both done versions of one 
> though I believe,> > but, man in my view, hsc would get you out of trouble 
> heaps easiest, if > > you> > have no MSAA object separation for the icons as 
> dennis has exhorted you to> > check for below.> > How continually reliable 
> this solution would be, would in part depend on:> > A.) whether each 
> graphical icon has it's own separate window that it > > exists> > in; and 
> whether each of these tools/windows thus has it's own trackable> > 
> attributes, like control ID, or WindowName etc,> >> > or,> > B. whether all 
> the tools Live inside their own one ToolBar window, where> > they cannot be 
> dragged around or moved independently; such that if one> > moves, they all 
> move. in which case you'd set your hotSpot positioning > > mode> > to Current 
> window, rather than it's default of application window, for> > maximum 
> reliability, if they did move often.> > or,> > C. how often they might get 
> moved around by other things happening in the> > program, based on their 
> relative positions to the application window> > boarder. if they don't move 
> at all, you could just safely choose,> > "application window," as the 
> positioning mode/relative boarder against > > which> > the hotspots were 
> measured.> > you'd of course define each as a separately labellable hotSpot, 
> once you> > knew the purpose of each same Icon tool. BTW this is very, very 
> common in> > many applications these days. which is why hsc is sooooo 
> groovy!> >> >> > BTW dennis, for my own knowledge, I'd be very keen to have 
> you resite the> > next part of this story for us all, as to how one might go 
> about scripting> > this kind of sitch up from the back end, as it were, if 
> these same icons > > end> > up Having, separately determineable MSAA 
> names/attributes? some example > > code> > of how one might best suss that? 
> Because,> > without absolutely checking on this to be sure, but although hsc 
> I believe> > does monitor the ObjectName as part of it's snapshot when 
> defining each> > hotspot,> > I am unsure as to it's present capabilities> > 
> regarding direct MSAA object attributes as settable criteria for> > 
> trackability, when activating the spot.> > and, obviously, it'd be rather 
> nice to have this option as an additional> > built in location criteria 
> tool.> > plus, I'd very much like to know how one might go about scripting 
> up> > manually, access to this kind of sitch anyway. i.e. code to crawl 
> through> > current window looking for the uniquely determined MSAA object 
> attribute> > etc.> > feel like spilling on that one?> > I'm sure you do.> > 
> he he.> >> > thanks.> >> > geoff c.> >> >> >> > ----- Original Message ----- 
> > > From: "Dennis Brown" <DennisTBrown@xxxxxxxxxxx>> > To: 
> <jawsscripts@xxxxxxxxxxxxx>> > Sent: Thursday, January 10, 2008 8:22 AM> > 
> Subject: [jawsscripts] Re: Same Icon> >> >> >> Do the graphics have MSAA 
> data? Land on one and go into HomeRow with> >> Insert+Space, then cycle 
> through F10, hitting F9 at each item through the> >> cycle. See if you get 
> any name, value, description, etc.> >> Also, while in HomeRow, cycle through 
> F3, hitting F1 at each item and see> > if> >> it has a unique control ID.> >> 
> Toggle off homeRow with another Insert+Space.> >>> >> Thanks,> >> Dennis 
> Brown> >> ----- Original Message ----- > >> From: "Dean Masters" 
> <dwmasters@xxxxxxxxxxxxx>> >> To: <jawsscripts@xxxxxxxxxxxxx>> >> Sent: 
> Wednesday, January 09, 2008 4:16 PM> >> Subject: [jawsscripts] Re: Same Icon> 
> >>> >>> >> When I tried turning graphics mode on all icons in the program 
> became> >> graphic 0.> >>> >> -----Original Message-----> >> >From: "Huskins, 
> Wayne" <Wayne.Huskins@xxxxxxxxxxxxx>> >> >Sent: Jan 9, 2008 3:27 PM> >> >To: 
> jawsscripts@xxxxxxxxxxxxx> >> >Subject: [jawsscripts] Re: Same Icon> >> >> >> 
> >Have you tried turning graphics mode on in configuration manager/set> >> 
> >options/graphics and symbols?> >> >> >> >W> >> >> >> >-----Original 
> Message-----> >> >From: jawsscripts-bounce@xxxxxxxxxxxxx> >> 
> >[mailto:jawsscripts-bounce@xxxxxxxxxxxxx]> >> >Sent: January 9, 2008 16:23> 
> >> >To: JAWS Scripts> >> >Subject: [jawsscripts] Same Icon> >> >> >> >I have 
> QuickVerse 2006 bible software. Some of the items in the toolbar> >> >have 
> the same icon so you can't distinguish between them. Some of these> >> >are 
> to go to the previous chapter, section, next chapter, section.> >> >Depending 
> on the text all of the icons do not appear and if they are> >> >labled all 
> get the same label. so then you don't know just what the> >> >icons do. Are 
> there any suggestions as to how to remedy this?I have> >> >tried resetting 
> the screen resolution on my PC but that doesn't change> >> >the graphic 
> number for these four icons. They all remain the same and> >> >with the same 
> graphic number.> >> >> >> >Thanks,> >> >Dean> >> >> >> >I personally know 
> someone who literally is older than dirt.> >> >If you would like to meet him, 
> please write to me or join us on the> >> >Masters List:> >> 
> >masterslist-subscribe@xxxxxxxxxx> >> >> >> >> >> >__________> >> >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> >>> >>> >> __________> >> 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> 

Other related posts: