Re: Is app running?
Re: Is app running?
- Subject: Re: Is app running?
- From: Bill Cheeseman <email@hidden>
- Date: Mon, 09 May 2005 17:59:52 -0400
on 2005-05-09 9:06 AM, deivy petrescu at email@hidden wrote:
> However, I tried AXURL in Safari and it does not have one. Mail does,
> but Safari does not. Actually in Safari I have:
> "<AXLink: ³Accessibility Programming Guidelines for Carbon²>
> <AXStaticText>"
I assume that you are looking for the accessibility "attributes" of the
AXLink UI element. Right? The AXURL object would not be listed as a "child"
element, but as an "attribute" of the AXLink UI element. In UI Browser, you
would select the AXLink UI element in the browser view in the main window,
then open the Attributes drawer and look for its AXURL attribute.
The attributes of an AXLink element may depend on what site you go to, and
how the site's author implemented http links. I don't know anything about
how links are handled behind the scenes in response to authors' choices
about how they implement their sites. I suspect this is WebKit in action,
but I haven't explored it.
> Now, Mail on the other hand has the behavior you described and so
> does TextEdit. Do you really get the behavior you described in
> Safari. Did your script work?
Yes, and yes. I went to Google, then clicked one of the links to a
subsidiary Google page, then tested a link chosen at random from wherever it
was that I ended up. I used UI Browser to generate the script, of course,
then I tested it in Script Editor.
I just now went to the NY Times, and I see over a hundred AXLinks with AXURL
attributes on the main page.
> On my end, the results are quite different.
Try looking at a bunch of different sites. The issue you raised was how the
AXURL attribute works, so I just went looking for AXLinks that had AXURL
attributes because I knew I would find some.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden