• 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: Extend QuickLook to other standard files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extend QuickLook to other standard files


  • Subject: Re: Extend QuickLook to other standard files
  • From: "Shawn Erickson" <email@hidden>
  • Date: Tue, 6 Nov 2007 09:48:56 -0800

On 11/6/07, Thomas Schlömer <email@hidden> wrote:
> Hi,
>
> > <http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis/understand_utis_intro/chapter_1_section_1.html#//apple_ref/doc/uid/TP40001319-CH201-DontLinkElementID_17
> > >
>
> Thanks. But the question is: can I edit the system UTI's in a way
> that .asm are simply treated as other source code files? The thing is
> that I'm not developing an application with its own Info.plist where I
> could freely specify my wishes.

I see the following entry in the launch services database...

        --------------------------------------------------------
        type    id:            2886270976
                uti:           public.assembly-source
                description:   assembly source code
                flags:         exported  active  core  apple-internal
                icon:
                conforms to:   public.source-code
                tags:          .s
        --------------------------------------------------------

...which was "submitted" by...

--------------------------------------------------------------------------------
bundle	id:            411042048
	path:          /Volumes/OS1/System/Library/CoreServices/CoreTypes.bundle
	name:          CoreTypes
	identifier:    com.apple.coretypes
	version:       121
	mod date:      3/24/2007 23:06:23
	type code:     'BNDL'
	creator code:  'macs'
	sys version:   0
	flags:         apple-internal
	item flags:    container  package  can-set-extension-hidden  native-app
	icon:
	executable:
	inode:         4670
	exec inode:    0
	container id:  3288399872
	library:
	library items:
	--------------------------------------------------------

It looks like that entry should be extended to list at least .asm files.

However it looks like Xcode "submits" the following...

	--------------------------------------------------------
	type	id:            3291480064
		uti:           public.assembler-source
		description:   Assembler Source File
		flags:         exported  active  apple-internal
		icon:
		conforms to:   public.plain-text
		tags:          .s, .asm
	--------------------------------------------------------

...which in theory should result in what you want.

Oh I just noticed this was on the Cocoa-Dev list which I believe is
off topic for this discussion. I wont post further on this topic to
this list.

(note the above is from a 10.4 system using Xcode 2.5, not looked at
my Leopard system)

-Shawn
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Extend QuickLook to other standard files (From: Thomas Schlömer <email@hidden>)
 >Re: Extend QuickLook to other standard files (From: "Sean McBride" <email@hidden>)
 >Re: Extend QuickLook to other standard files (From: Thomas Schlömer <email@hidden>)
 >Re: Extend QuickLook to other standard files (From: "Julien Jalon" <email@hidden>)
 >Re: Extend QuickLook to other standard files (From: Thomas Schlömer <email@hidden>)

  • Prev by Date: Receiving mouseDown event in NSTextView subclass outside of the text container
  • Next by Date: Need help with warning: passing argument 1 of ... from distinct Objective C type
  • Previous by thread: Re: Extend QuickLook to other standard files
  • Next by thread: [Solved] Extend QuickLook to other standard files
  • Index(es):
    • Date
    • Thread