Hi all.
I'm trying to do some web automation with WWW::Mechanize. Basically I'm trying to access the upload page on Gather.com and upload a photo--by automating this, I could upload photos to the site from a mobile phone which doesn't support Java (send photos to email, have a script take them and upload).
WWW:Mechanize seems like the obvious choice, but the uploading menu on the site is actually a Java applet which opens a Java dialog to select files. WWW::Mechanize doesn't detect this, so it can't handle the selection of an actual file. I tried to intercept AJAX requests and whatnot to do this directly, but I'm not seeing anything useful going to the server.
Is there any programmatic way to automatically interact with a Java applet? A module would be perfect--command line tools might be an option too...