Skip navigation.
 
mlGlobal Text replacemant
FROM : Todd Felts
DATE : Wed Jan 09 16:53:29 2008

var YAHOO = {'Shortcuts' : {}};
YAHOO.Shortcuts.hasSensitiveText = true;
YAHOO.Shortcuts.sensitivityType = ["adult"];
YAHOO.Shortcuts.doUlt = false;
YAHOO.Shortcuts.location = "us";
YAHOO.Shortcuts.document_id = 0;
YAHOO.Shortcuts.document_type = "";
YAHOO.Shortcuts.document_title = "[OT] Global Text replacement";
YAHOO.Shortcuts.document_publish_date = "";
YAHOO.Shortcuts.document_author = "<email_removed>";
YAHOO.Shortcuts.document_url = "";
YAHOO.Shortcuts.document_tags = "";
YAHOO.Shortcuts.annotationSet = {
"lw_1199893758_0": {
"text": "Mac OS X",
"extended": 0,
"startchar": 117,
"endchar": 124,
"start": 117,
"end": 124,
"extendedFrom": "",
"predictedCategory": "",
"predictionProbability": "0",
"weight": 0.617452,
"type": ["shortcuts:/us/class/product", "shortcuts:/us/instance/other/product"],
"category": ["THING"],
"context": "take a contract writing a Mac OS X application that will allow users" },
"lw_1199893758_1": {
"text": "Yahoo! Search",
"extended": 0,
"startchar": 1740,
"endchar": 1752,
"start": 1740,
"end": 1752,
"extendedFrom": "",
"predictedCategory": "ORGANIZATION",
"predictionProbability": "0.402845",
"weight": 0.35,
"type": ["shortcuts:/us/instance/organization/company/yahoo_property"],
"category": ["ORGANIZATION"],
"context": "deals Find them fast with Yahoo Search http://tools.search.yahoo.com/newsearch/category.php?category=shopping Cocoa-dev mailing list <email_removed>",
"metaData": {
"yprop_name": "Yahoo! Search",
"yprop_url": "http://search.yahoo.com/"
}
},
"lw_1199893758_2": {
"text": "http://tools.search.yahoo.com/newsearch/category.php?category=shopping",
"extended": 0,
"startchar": 1858,
"endchar": 1927,
"start": 1858,
"end": 1927,
"extendedFrom": "",
"predictedCategory": "",
"predictionProbability": "0",
"weight": 1,
"type": ["shortcuts:/us/instance/identifier/hyperlink/http"],
"category": ["IDENTIFIER"],
"context": "them fast with Yahoo Search http://tools.search.yahoo.com/newsearch/category.php?category=shopping Cocoa-dev mailing list <email_removed> Please",
"metaData": {
"linkHref": "http://tools.search.yahoo.com/newsearch/category.php?category=shopping",
"linkProtocol": "http",
"linkTarget": "_blank"
}
},
"lw_1199893758_3": {
"text": "<email_removed>",
"extended": 0,
"startchar": 2101,
"endchar": 2125,
"start": 2101,
"end": 2125,
"extendedFrom": "",
"predictedCategory": "",
"predictionProbability": "0",
"weight": 1,
"type": ["shortcuts:/us/instance/identifier/hyperlink/mailto"],
"category": ["IDENTIFIER"],
"context": "Search http://tools.search.yahoo.com/newsearch/category.php?category=shopping Cocoa-dev mailing list <email_removed> Please do not post admin",
"metaData": {
"linkHref": "mailto:<email_removed>",
"linkProtocol": "mailto",
"linkYmailto": "mailto:<email_removed>"
}
},
"lw_1199893758_4": {
"text": "lists.apple.com",
"extended": 0,
"startchar": 2257,
"endchar": 2271,
"start": 2257,
"end": 2271,
"extendedFrom": "",
"predictedCategory": "",
"predictionProbability": "0",
"weight": 1,
"type": ["shortcuts:/us/place/virtual/web_site"],
"category": ["IDENTIFIER"],
"context": "" },
"lw_1199893758_5": {
"text": "http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>",
"extended": 0,
"startchar": 2421,
"endchar": 2489,
"start": 2421,
"end": 2489,
"extendedFrom": "",
"predictedCategory": "",
"predictionProbability": "0",
"weight": 1,
"type": ["shortcuts:/us/instance/identifier/hyperlink/http"],
"category": ["IDENTIFIER"],
"context": "at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription http://lists.apple.com/mailman/options/cocoa-dev/<email_removed> This email sent to <email_removed>",
"metaData": {
"linkHref": "http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>",
"linkProtocol": "http",
"linkTarget": "_blank"
}
},
"lw_1199893758_6": {
"text": "<email_removed>",
"extended": 0,
"startchar": 2593,
"endchar": 2610,
"start": 2593,
"end": 2610,
"extendedFrom": "",
"predictedCategory": "",
"predictionProbability": "0",
"weight": 1,
"type": ["shortcuts:/us/instance/identifier/hyperlink/mailto"],
"category": ["IDENTIFIER"],
"context": "http://lists.apple.com/mailman/options/cocoa-dev/<email_removed> This email sent to <email_removed>",
"metaData": {
"linkHref": "mailto:<email_removed>",
"linkProtocol": "mailto",
"linkYmailto": "mailto:<email_removed>"
}
}
};
(I am resending this because I did not get any responses to this)

I am hoping someone here can give me some knowledge on this subject. I
have been asked to take a contract writing a Mac OS X application that
will allow users to replace text globally while they type (Much like
Text Expander). Before I accept the offer I wanted to get some
information first on how this can be accomplished, and how long it may take me to
do this.

So what it will do is continually watch wherever the user types
(wherever they are typing, except password field of course) and replace text
and Text attributes if the user types a certain character sequence.  So
if they typed say: (In Mail app)

bbnf

and the user set it up correctly, it would replace it with:
Bye Bye for now

The specification document I got from them, is very explicit on how
things should work.

So I have been looking and it looks like Input Managers are the way to
go. But in my searching I have found so many people talk about how evil
Input Managers are, or are going away in Leopard (although it sounds
like that did not happen). So being that does anyone have any ideas how
to accomplish this with Input Managers? If yes, is there any example
code anywhere which will show how to use Input Managers. If 'no' then
what is the best way to accomplish this?

I have not looked on Apples site yet, that is my next stop, but I just
wanted to see if this was possible/feasible with Input Managers, or if
there may be a different way to accomplish this.

Thanks in advance,
XcodeMan




   
  ____________________________________________________________________________________
Looking for last minute shopping deals? 
Find them fast with Yahoo! Search.
  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________

Cocoa-dev mailing list (<email_removed>)

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:
http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>

This email sent to <email_removed>








      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Related mailsAuthorDate
mlGlobal Text replacemant Todd Felts Jan 9, 16:53
mlRe: Global Text replacemant I. Savant Jan 9, 17:11
mlRe: Global Text replacemant Jean-Daniel Dupas Jan 9, 17:28
mlRe: Global Text replacemant Todd Felts Jan 9, 19:56
mlRe: Global Text replacemant Todd Felts Jan 9, 20:00