• 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
Return PDF default reader
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Return PDF default reader


  • Subject: Return PDF default reader
  • From: Jay Louvion <email@hidden>
  • Date: Mon, 15 Jan 2007 10:25:30 +0100
  • Thread-topic: Return PDF default reader

Title: Return PDF default reader

Hi all,

I am looking for a way to return the name of the default app that opens PDF’s (Preview, Acrobat, whatever).

Ronald Hofman kindly suggested the following:

set DefaultApp to (word -6 of (do shell script "defaults read  
com.apple.Preview"))

Unfortunately, OMM it errors out with the following message: “sh: line 2: com.apple.Preview: command not found”

Any ideas ?

best,

j.

Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva

T+4122 840 3272
F+4122 840 3271

skypeme:
jaylouvion

www.studiocasagrande.com


P Please consider the environment before printing this email.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Return PDF default reader
      • From: kai <email@hidden>
  • Prev by Date: Re: Changing CAPITAL to Upper And Lower Case
  • Next by Date: How do I run a javascript/script within an applescript?
  • Previous by thread: Re: Returning default pdf reader (was: Returning default browser)
  • Next by thread: Re: Return PDF default reader
  • Index(es):
    • Date
    • Thread