Ok so I'm working on a visual basic program that allows me to control pandora through hotkeys instead of having to access the site directly and press the buttons ect.
To my question, Is there a way I can access the javascript variables on the site to get song name and, elapsed time ect? (I'm fairly new to visual basic)
Damage,
An angle of attack I would try would be to load Pandora in a WebBrowser control within a winform, and then do something like this:
And then follow it up with:
Where '3' in the colDocuments object would be the target 'play', 'pause', etc. that you want to click. You could then tie your desired shortcut keys to whatever buttons you create in your winform. Hope this gets you going in the right direction!! Click SOURCE to see where I got this code: thanks to TheVader at vbforums.com.
SOURCE