Re: Inserting text
Re: Inserting text
- Subject: Re: Inserting text
- From: Matt Neuburg <email@hidden>
- Date: Sun, 16 Jan 2005 18:45:11 -0800
On Sun, 16 Jan 2005 18:12:25 -0500, Austin Sarner <email@hidden>
said:
>Is there any way to insert a string into the frontmost application?
>For instance if you have a status item based app with text edit open
>and you select an item from the status item menu - it would add the
>selected item to textedit. I know this is possible via system
>services, but is it possible to do something similar with a standard
>cocoa app?
In the case of TextEdit you might be able to make do with an Apple event
(i.e. AppleScript). But there is no single general way; each app to which
you want to hand text is a different case. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden