Attaching an app window to another app
Attaching an app window to another app
- Subject: Attaching an app window to another app
- From: Alan Somers <email@hidden>
- Date: Sun, 17 Aug 2003 15:45:57 -0500
I have seen one example of an application that appears to display its
window in another application and I'd like to know how it's done.
The particular example is Version 2 of the iTunes-LAME Encoder app
that provides LAME MP3 encoding capabilities from the iTunes script
menu. I have e-mailed the author, but I thought I'd hedge my bets
and ask here.
I have figured out that the script entry in iTunes is an AppleScript
embedded in the companion app's Contents/Resources folder that simply
launches that app. I have also looked at the app's NIB file and
don't see any obvious clues. When the app launches, it displays a
window but it doesn't appear as a windowed app in the traditional
sense, i.e. it doesn't show up in the Dock and it doesn't have its
own menu. If you quit iTunes, the companion app also quits, making
it appear that the companion app is somehow attached to iTunes.
Can anybody shed any insight on this? I'd like to use a similar
approach for another iTunes companion app.
TIA.
Alan Somers
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.