• 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: julifos <email@hidden>
  • Date: Fri, 16 Jan 2009 21:21:26 +0100
  • Thread-topic: Using Applescript Droplet as Default Application? (10.4.11)

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


 _______________________________________________
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: Eric Taylor <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