• 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: How to set application which opens a file via Applescript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set application which opens a file via Applescript?


  • Subject: Re: How to set application which opens a file via Applescript?
  • From: "S. J. Cunningham" <email@hidden>
  • Date: Sun, 30 Aug 2015 06:42:03 -0400

Forgot to add that I am trying to set a text file to open with BBEdit rather than the default TextEdit.  I don't want to change the default for all text files.

On Aug 30, 2015, at 6:36 AM, S. J. Cunningham wrote:

> You can change the application which opens a file via "Get Info" but how can you do it via Applescript?
>
> Changing the "file type", "file creator," and "original item" properties via a finder script doesn't do it.  I notice that when you change it using "Get Info" the "kind" property changes but that property is "read only" to the finder script.

Steve


 _______________________________________________
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


References: 
 >How to set application which opens a file via Applescript? (From: "S. J. Cunningham" <email@hidden>)

  • Prev by Date: How to set application which opens a file via Applescript?
  • Next by Date: Re: How to set application which opens a file via Applescript?
  • Previous by thread: How to set application which opens a file via Applescript?
  • Next by thread: Re: How to set application which opens a file via Applescript?
  • Index(es):
    • Date
    • Thread