• 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: Using Applescript Droplet as Default Application? (10.4.11)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Applescript Droplet as Default Application? (10.4.11)


  • Subject: Re: Using Applescript Droplet as Default Application? (10.4.11)
  • From: Eric Taylor <email@hidden>
  • Date: Fri, 16 Jan 2009 14:40:26 -0700

How's this for irony? Your recipe works perfectly for everything except InDesign, lol! 

I can now change my app to the be the default launcher for .txt, .dmg, .doc files etc. Just not .indd! Does that mean there is something weird with the way that Adobe set up the InDesign app, maybe?

I have tried it on multiple computers, btw, so it isn't anything weird with just my dev machine.

Maybe I need to post this to the Adobe InDesign Scripting forum instead...

Thanks again for the recipe,
Eric.

On Jan 16, 2009, at 1:21 PM, julifos wrote:

1. Ctrl+click the droplet > Show package contents
2. Open Contents/Info.plist
3. Look for "dplt" and imagine your own "CFBundleSignature" (formerly called
"creator code"). Typically, something with all caps, such as "UYTR".
Substitute "dplt" with "UYTR".
4. Add a new entry to the "plist" file, similar to "CFBundleSignature", but
called "CFBundleIdentifier":
   -Key: CFBundleIdentifier
   -String: com.mca-plus.mydroplet (for example)
4. Save and close.
5. Now go to the Finder, compress the droplet and delete it. Empty trash.
6. Uncompress and now you're ready to go!

When you edit the plist file (changing the "CFBundleSignature" and adding a
"CFBundleIdentifier"), you are giving a unique identifier to your app, so
LaunchServices can recognize your app between lots of other droplets and
apps.

And when you compress-delete-uncompress, you are forcing LaunchServices to
read the plist file of the "new incoming app in the system" and add it to
its database of "identifiable apps". Now you can force whatever file you
wish to be opened with your droplet.

Cheers and good luck!


jj




--
Eric Taylor
VP Technology

email@hidden
http://www.mca-plus.com

(MCA Plus was Morgan-Cain & Associates / morgan-cain.com)

 _______________________________________________
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/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using Applescript Droplet as Default Application? (10.4.11)
      • From: julifos <email@hidden>
    • Re: Using Applescript Droplet as Default Application? (10.4.11)
      • From: Stan Cleveland <email@hidden>
References: 
 >Re: Using Applescript Droplet as Default Application? (10.4.11) (From: julifos <email@hidden>)

  • Prev by Date: Re: Using Applescript Droplet as Default Application? (10.4.11)
  • Next by Date: Re: Using Applescript Droplet as Default Application? (10.4.11)
  • Previous by thread: Re: Using Applescript Droplet as Default Application? (10.4.11)
  • Next by thread: Re: Using Applescript Droplet as Default Application? (10.4.11)
  • Index(es):
    • Date
    • Thread