Come esempio facciamo i seguenti passaggi:
- creiamo una finestra bianca (il bianco è più bello da stampare)
- con una scritta che riporta un link, basta andare su Text-> Link e automaticamente cambia la scritta con l'effetto grafico di un link. Chiamatela "esempio".
- un bottone "Crea PDF"
Ora nel codice del pulsante scrivete:
on mouseUp set the printPaperSize to (item 3 to 4 of the rect of this stack) put the rect of field "esempio" into temp ask file "Save PDF as:" with "Esempio.pdf" if it is empty then exit mouseUp end if open printing to PDF it print card 1 of this stack print link to URL "http://www.paypal.com/" with rect temp close printingend mouseUpNotare come indichiamo l'area della pagina cliccabile, quando creiamo un link PDF.
Se tutto è andato bene, avrete un risultato come questo:


Nessun commento:
Posta un commento