|
|
Services menu in Carbon apps
|
|
|
|
Mac Enthusiast
Join Date: Nov 2001
Status:
Offline
|
|
Ok, I know this is a who cares type question, but why do developrs put the Services menu in their App menu when Carbon apps can't access it?
I mean, iPhoto doesn't have the menu and it's a Cocoa app!
Are they planning ahead, lazy, stupid?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Feb 2001
Location: 34.06 N 118.47 W
Status:
Offline
|
|
I don't know if the service menu is there in the API as a default (or the like)or not, but regardless, Jaguar brings services to Carbon and Cocoa apps alike. So those developers that have not ported their apps to Cocoa now don't have to, at least not to have the services available in their Carbon apps.
|
A lie can go halfway around the world before the truth even gets its boots on. - Mark Twain
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Jan 2000
Location: Altadena
Status:
Offline
|
|
FileMaker 6 supports services under 10.1.5, it is up to the developer to properly program for services to work. All apps get the menu by default though.
Daniel
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by lngtones:
<strong>Ok, I know this is a who cares type question, but why do developrs put the Services menu in their App menu when Carbon apps can't access it?
I mean, iPhoto doesn't have the menu and it's a Cocoa app!
Are they planning ahead, lazy, stupid?</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Carbon apps can access Services.
Developers don't put a Services menu in their app menu, the OS does. I don't know how iPhoto removes it (maybe that qualifies me as stupid). It's probably some undocumented way.
Actually I don't understand [i]why[/] iPhoto removes the Services menu. It could be used on the edit texts at least and would be nice for things like PixeNHance.
|
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
|
|
|
|
|
|
|
|
Mac Elite
Join Date: May 2001
Location: Earth
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by Developer:
Carbon apps can access Services.
</font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">NO. They can't. At least for now. (even in build 6C87).
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Jul 2000
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by pat++:
<strong> </font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by Developer:
Carbon apps can access Services.
</font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">NO. They can't. At least for now. (even in build 6C87).</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Uh, YES they can...
I'm running 10.1.5 and have BBEdit 6.5 and I can access the Services menu just fine in BBEdit.
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Dec 2000
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by cwasko:
<strong> </font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by pat++:
<strong> </font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by Developer:
Carbon apps can access Services.
</font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">NO. They can't. At least for now. (even in build 6C87).</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Uh, YES they can...
I'm running 10.1.5 and have BBEdit 6.5 and I can access the Services menu just fine in BBEdit.</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">I think he means it's not universal. It's not available automatically to ALL Carbon apps like is is to ALL Cocoa apps, unless specifically programmed in.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Jul 2000
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by davidmd:
<strong> </font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by cwasko:
<strong> </font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by pat++:
<strong> </font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by Developer:
Carbon apps can access Services.
</font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">NO. They can't. At least for now. (even in build 6C87).</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Uh, YES they can...
I'm running 10.1.5 and have BBEdit 6.5 and I can access the Services menu just fine in BBEdit.</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">I think he means it's not universal. It's not available automatically to ALL Carbon apps like is is to ALL Cocoa apps, unless specifically programmed in.</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Well, that is one of the core differences between Carbon and Cocoa. There are many items that come for 'free' in Cocoa that have to be created in Carbon. But, the point still remains, Carbon apps *can* use services. The developer just has to make it so.
OT a little, but I think BBEdit is the 'model' carbon app. It pretty much displays that Carbon and Cocoa apps can be of the same quality. It has been carbon for over a year now and has always run smoothly and took advantage of what was out at the time. I can't wait to see what the next version is like.
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by davidmd:
<strong> </font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by cwasko:
<strong> </font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by pat++:
<strong> </font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by Developer:
Carbon apps can access Services.
</font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">NO. They can't. At least for now. (even in build 6C87).</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Uh, YES they can...
I'm running 10.1.5 and have BBEdit 6.5 and I can access the Services menu just fine in BBEdit.</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">I think he means it's not universal. It's not available automatically to ALL Carbon apps like is is to ALL Cocoa apps, unless specifically programmed in.</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Unless I'm missing something very blatant, Cocoa apps have to code for Services support too.
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Jan 2002
Location: London, UK
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by Chuckit:
<strong>Unless I'm missing something very blatant, Cocoa apps have to code for Services support too.</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Don't think so - they get Services automatically AFAIK, but they do need to be coded to offer a Service themselves.
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Jan 2001
Location: Montr�al, QC
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by Developer:
<strong>Carbon apps can access Services.
Developers don't put a Services menu in their app menu, the OS does. </strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">where? and how to delete them?
For some reason, under Finder-->Services I have a Quake3 menu, with options "Connect to server" and "Perform Command". How can I delete them? Or any other services menu, for that matter?
Thank you for any insight,
Peace,
Musti.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Jan 2001
Location: Australia
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by Musti:
<strong> </font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by Developer:
<strong>Carbon apps can access Services.
Developers don't put a Services menu in their app menu, the OS does. </strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">where? and how to delete them?
For some reason, under Finder-->Services I have a Quake3 menu, with options "Connect to server" and "Perform Command". How can I delete them? Or any other services menu, for that matter?
Thank you for any insight,
Peace,
Musti.</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Yes, I need to know this ,will Jag have a gui for doing this?
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Nov 2001
Status:
Offline
|
|
To remove an app's services, control-click on the apps icon, click "Show Package Contents". Open Contents, then open Info.plist in TextEdit (drag it on its icon in the dock). Press Command-F, type "NSServices" (without the quotes) then click "Next". Change text like this:
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;"> <key>NSServices</key>
<array>
...
</array></pre><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">to:
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;"><!--
<key>NSServices</key>
<array>
...
</array>
--></pre><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Logout, then log in again, and the service will be gone.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|