• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Reloading PDF-document in Preview using AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reloading PDF-document in Preview using AppleScript


  • Subject: Re: Reloading PDF-document in Preview using AppleScript
  • From: Emmanuel <email@hidden>
  • Date: Thu, 3 Nov 2005 17:56:41 +0100

At 12:39 PM +0000 11/3/05, Stian Soiland wrote:

Hi, I'm using latex with a Makefile that does all the nasty work of building my PDFs. I have added a makefile target "view" that depends on the produced PDF and opens the PDF for viewing in Preview:

Not exactly the reply you are expecting, but if you were using Smile instead of Preview you could easily do whatever PDF window management by AppleScript, such as closing, re-opening etc. Actually what you would define a specific handler in Smile, such as:


on reopen(thePDFFile)
-- warning! pseudo-code!
if thePDFFile is already open close then reload otherwise just open the file
end

and then you would just call the handler with osascript - that's how debugging would be easy.

Smile is a free integrated AppleScript working environment that we Satimage-software provide.
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Reloading PDF-document in Preview using AppleScript (From: Stian Soiland <email@hidden>)

  • Prev by Date: Records
  • Next by Date: Specific Date-Time Formatting
  • Previous by thread: Reloading PDF-document in Preview using AppleScript
  • Next by thread: SSH security question... Please comment my thoughts...
  • Index(es):
    • Date
    • Thread