Avatar

Level 1

Thank you radzmar. It was very helpful to learn that I can control the way in which it shows the pdf. For example it is interesting to open the pdf in a specific page or to suppress the adobe tool bar but all this controls are under the adobe pdf file shown inside the window browser and you can't control those properties of the opened new window as you can in javascript html as I answered to Kyle.

I have found a trick. You can open a cgi (php) program in the same window with false at the end of the app.launchURL command and then open a new window as you like with javascript inside that  php program to display database data and finally execute a history.go (-1) command to keep your original pdf in the screen. All this works if you have a button to launch the url but you can't do that in the onready event as it goes into a loop when you execute a history.go (-1) because it loads again the pdf.

Rafa