Re: checking GUI action status
Re: checking GUI action status
- Subject: Re: checking GUI action status
- From: Bill Cheeseman <email@hidden>
- Date: Fri, 9 Jul 2010 10:43:38 -0400
On Jul 9, 2010, at 9:58 AM, Jim Brandt wrote:
> Clicking on the link (manually) is triggering a Javascript function via onclick. I suspect (but can't prove, since I don't have page source from before the weekend) that this used to be an actual link via href, which is why it worked before. I'm not sure how I can trigger this via Applescript. Obviously a click event isn't the same as an actual mousedown/mouseup event. More exploration is needed.
This suggests to me that using the GUI Scripting 'perform action' command might work -- 'perform action "AXPress"', I think it would be. You could try that in UI Browser by selecting the offending link in the main browser view, then opening the Actions drawer, selecting the press action, and clicking the Perform button. If that works in UI Browser, it should work in a script. Performing an Accessibility action is supposed to work exactly the same way a manual click works, and the website should respond accordingly.
--
Bill Cheeseman - email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden