And i found the solution.
If you set the pdf to run a javascript. You can extract the pages you want. A pdf is created on the desktop.
this.extractpages (0); (this extracts the first page).
this.extractpages (0,2); this extracts the pages 1,2 and 3)
Since the first sheet is sheet 0 in the file you have to start with 0 in order to extract page 1.