I was over at the old forum today and noticed this post:
I worked on this idea some a number of years ago. Since it involved a fair amount of scripting, I wrote a custom function to encapsulate all of the detail work.
I don't believe I shared the function publicly, however, because I didn't think there was much demand for it, and it is a pretty fragile work flow, given the change that can happen with web pages. Also, it involves the reduction of some security/access restrictions, and I did not want anyone to use it without understanding the implications.
Having just seen a question about this topic, however, I thought it might be worth sharing the custom function, and I will attach a sample file here.
Overview of Custom Function:
Here is a screenshot of the custom function definition:
And here is an example of a script using the function:
A few parameters are fed to the custom function, and it returns the necessary AppleScript...
As I indicated above:
This particular integration has the drawback of being somewhat fragile, so I encourage folks to always keep that in mind.
Thanks for reading, and kind regards,
@Cecile : Apologies if I selected the wrong channel for this post. This seemed like the best fit.