• 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: File Association
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File Association


  • Subject: Re: File Association
  • From: Sean <email@hidden>
  • Date: Thu, 15 Aug 2002 10:56:10 +0100

If you've installed the OS X developer tools you'll find a terminal command at the following path that lets you set creator and file types.

/Developer/Tools/SetFile

Set the creator type of your AppleScript application to XCEL and when you launch an Excel file, the AppleScript will claim ownership of the file and your script can then redirect it to OpenOffice. In theory anyway ;-)

Bare Bones Software used to do a similar thing to redirect SimpleText files to BBEdit.

Sean.

On Wednesday, August 14, 2002, at 09:56 am, Nathan Day wrote:

Why you write an apple script of cause ;) (see info for in standard additions) or you could use ResEdit or File buddy there are a heap of other programs sharware and freeware that will let you do this.

On Tuesday, August 13, 2002, at 11:14 PM, Gunnar H Reichert-Weygold wrote:

This is what I suspected. Now, how do set a creator code?

On Tuesday, August 13, 2002, at 01:07 , Nathan Day wrote:

In Mac OS X if you have save the script as an Applet, you could in Finder change the open with application in the Info Panel to you AppleScript, you will probable have to give you AppleScript Application a new unique creator code to differentiate it from any other AppleScript Applets.

On Tuesday, August 13, 2002, at 01:18 PM, Gunnar H Reichert-Weygold wrote:

Is it possible to associate a document with an Applescript? I would like to automagically open xls files with OpenOffice.

Nathan Day
http://homepage.mac.com/nathan_day/





---------
OSX on the Powerbook is a better Windows than Linux and a better Linux than Windows
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.




Sean Kehoe
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This email reflects neither the views of my employer nor those of a sane adult mind.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: File Association (From: Nathan Day <email@hidden>)

  • Prev by Date: Xpress Scripting Question (2nd post)
  • Next by Date: Output to PDF/PostScript (I WANT REAL ANSWERS!)
  • Previous by thread: Re: File Association
  • Next by thread: Re: File Association
  • Index(es):
    • Date
    • Thread