Use macro to click "Save as PDF" for online location
I got a quite big project (9000+ references) which contains online locations. I need all of those as downloaded PDF locations which is not practical to be done by hand.
Workflow would be: select reference, show preview of location, click "Save as PDF".
Thus I created a macro to do this for me, but I am stuck at the "Save as PDF" part. I did explore quite a lot of options already but with no real API (is there any?) and only low C# knowledge I am currently lost.
I attached my current efforts -- can anyone help me to automate this? Any hints appreciated!
(edit: Some more meta information: Citavi 126.96.36.199, Win7, Cloud Project)