Check existence of page
Posted: Fri Feb 12, 2016 3:24 am
Hi,
I am creating a script in which additional pages will be created for working with various frequencies. The only page the user needs to supply is a page with the daily frequency. However, if there is a page with the name "W" already, it will create "W1".
How do I check the existence of pages in the workfile? Ideally, I would like to select "W" if it exists, otherwise create it.
Also, is it possible to obtain the frequency used by the current page?
Thanks!
I am creating a script in which additional pages will be created for working with various frequencies. The only page the user needs to supply is a page with the daily frequency. However, if there is a page with the name "W" already, it will create "W1".
How do I check the existence of pages in the workfile? Ideally, I would like to select "W" if it exists, otherwise create it.
Also, is it possible to obtain the frequency used by the current page?
Thanks!