• 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: changing the "open with application" value for a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changing the "open with application" value for a file


  • Subject: Re: changing the "open with application" value for a file
  • From: Philip Aker <email@hidden>
  • Date: Sat, 23 May 2009 10:56:14 -0700

On 2009-05-23, at 10:16:19, Jim Brandt wrote:

Under OS X, what is it that determines which application opens a file when it is double clicked and how is it manipulated via Applescript?

Quite a few factors (involving a priority chain).

The problem:

I am downloading multiple files that are ".m4v" type videocasts. By default, on my machine, they would open in iTunes. If I use "Get Info" for each file, I can tell it to open in Quicktime instead. When I look at the properties for this file, neither the file creator or the file type is filled in.

After you have selected QuickTime in the GetInfo window, then click the "Change All…" button. This is the place where you normally set the default application to open a specific file type.



I realise the file type is the old OS 9 4 byte code that was unique to each application and could be manipulated to force a particular program to open a file when it's icon was double clicked.

But what causes this to happen under OS X and how do I change it using Applescript?


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
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: changing the "open with application" value for a file
      • From: Jim Brandt <email@hidden>
References: 
 >changing the "open with application" value for a file (From: Jim Brandt <email@hidden>)

  • Prev by Date: Re: changing the "open with application" value for a file
  • Next by Date: Re: changing the "open with application" value for a file
  • Previous by thread: Re: changing the "open with application" value for a file
  • Next by thread: Re: changing the "open with application" value for a file
  • Index(es):
    • Date
    • Thread