Python, calling current page name

Hi,

I’m trying to make a script that exports every layout page into a seperate PDF and I want it to name the files according to my userdocument text.

However… i can NOT find how to call the pagename properly… I’ve used

pages = sc.doc.Views.GetPageViews()

this gives me an array with all pages… but now i need to name them all by their pagename… and im stuck…

help!!

Hi @Niels_Halferkamps
Would this be a solution?

This looks very promising! I’m sure it will help out ALOT, thanks!