• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Simulate click on a button in a flash object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simulate click on a button in a flash object


  • Subject: Simulate click on a button in a flash object
  • From: DeNigris Sean <email@hidden>
  • Date: Thu, 23 Jul 2009 14:09:09 -0400

List,

I'm trying to simulate a button click on a webpage (pandora.com) which uses flash as it's UI for internet radio.  I want to use applescript to click the stop/pause button.

I have: 
tell application "Safari"
return do _javascript_ "window.document.radio;" in document 1
end tell

The above seems to successfully target the flash object, but its elements are not part of the DOM, so I'm not sure how to refer to them.

Thanks!

Sean DeNigris
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

  • Prev by Date: Re: Variables pane of Script Debugger
  • Next by Date: Re: Remove icon from dock after adding it
  • Previous by thread: Re: Remove icon from dock after adding it
  • Next by thread: Re: Simulate click on a button in a flash object
  • Index(es):
    • Date
    • Thread