Within apple script if I try to access a URL that requires authentication
“open tab for URL theURL”
Initially opens the URL sends me to the authentication page before sending me the target page. Subsequent “open tab for URL” just go direct to the target page. Even if I run the script multiple times. i.e. Devonthink has cached the session cookies and using them each time.
“create PDF document from theURL in newFolder”
However “create PDF document from” doesn’t appear to use the session cookies and always records the login page as the PDF.
I can appreciate Devonthink is not intended for browsing and thus may only have minimum functionality, but from a user perspective the reasoning behind this inconsistent operation is unclear.
Is there a better way to achieve the required outcome or could the Devonthink be enhanced to resolve this issue ? Or could the documentation be improved to allow users to understand the limitations.
Thanks
Frank