Re: Piggybacking
Re: Piggybacking
- Subject: Re: Piggybacking
- From: mw <email@hidden>
- Date: Sun, 02 Feb 2003 19:25:24 -0500
Check out www.unsanity.com and look at their Application Enhancer SDK. That
will allow you to write a bundle (in a special format) that uses the
Application Enhancer to automatically piggyback onto the application you
specify. That way, you don't have to worry about writing the code to
piggyback the application yourself, since it is already done for you. I
haven't actually written any modules myself yet, but the newest version of
the SDK comes with an example, lots of documentation, and of course, the
all-important project template for Project Builder (a HUGE time saver).
mw
--
"Software exists to solve your problems. We exist to make the problems."
Microsoft
On 2/2/03 4:58 PM, "Hamish Allan" <email@hidden> wrote:
>
-----BEGIN PGP SIGNED MESSAGE-----
>
Hash: SHA1
>
>
Hi,
>
>
Some friends of mine are most amused when I 'ssh' into their Macs and
>
make their computer talk to them (using synthesised speech). For this I
>
wrote a command-line utility called 'speak', but they have asked me to
>
write something with a GUI.
>
>
Not wishing to reinvent the wheel, I would much prefer to add a speech
>
synthesis capability to iChat. There does not appear to be a plugin
>
architecture for iChat, so I started to think about ways in which I
>
could intercept the text of instant messages. One way might be to
>
implement a proxy at the network layer, but this would involve
>
knowledge of each protocol iChat implements (currently AIM and iChat,
>
but perhaps Jabber and others in future).
>
>
So I wondered whether it might be possible to intercept the text using
>
using OS X's notification system. In iChat's bundle there is a file
>
ChatDoc.nib containing a window with a single CustomView used to
>
display the little bubbles of text. There is a ChatController with
>
interesting-looking messages such as 'sendMessage:' and
>
'sendPartialMessage:'. And there is a subclass of NSTextView called
>
ChatView which I suspect takes a chat transcript in some format
>
providing metadata (probably XML) and displays it as balloons or plain
>
text according to the user's preferences.
>
>
I'm new to Mac OS X programming, so I don't really understand how
>
notifications work, but I just thought I'd ask: does what I'm proposing
>
sound feasible, in principle? Can I persuade Cocoa to give me another
>
task's notifications? Perhaps by instantiating an
>
NSDistributedNotificationCenter within the nib? Or is there some other
>
way of doing it?
>
>
Or perhaps there's a better way to achieve what I'm trying to do?
>
>
Or perhaps there's a little checkbox in iChat marked, 'Speak text',
>
that I've missed?!
>
>
Thanks in advance,
>
Hamish
>
-----BEGIN PGP SIGNATURE-----
>
Version: GnuPG v1.2.1 (Darwin)
>
>
iD8DBQE+PZSL6gc2d//pELYRAnyVAKCRcsOuTao+Avt65FJAli941VevuwCg4Ncc
>
kZIoelXsRgnVmfySy88aJLg=
>
=HtY5
>
-----END PGP SIGNATURE-----
>
_______________________________________________
>
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.
_______________________________________________
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.
References: | |
| >Piggybacking (From: Hamish Allan <email@hidden>) |