Creating an OS X Service

后端 未结 3 475
一个人的身影
一个人的身影 2021-01-13 16:10

I\'m trying to create an OS X Service. I found Providing System Services in Apple\'s documentation, however I\'m finding it less than clear on what exactly I need to do. I\'

相关标签:
3条回答
  • 2021-01-13 16:35

    Make sure your NSServices dictionary has everything it needs. If you're not sure, please post it so we can tell you.

    0 讨论(0)
  • 2021-01-13 16:42

    You might want to look at some commercial products to help you with this. See this posting on Fun Script.

    0 讨论(0)
  • 2021-01-13 16:51

    Make sure you are launching your app first to get the system to see the Service. Make sure you are registering the services handler in your app using - setServicesProvider:

    Also, check the Console log as that might give you some useful error info.

    0 讨论(0)
提交回复
热议问题