Return PDF default reader
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