Service not working
Service not working
- Subject: Service not working
- From: Guillem Palou <email@hidden>
- Date: Mon, 22 Jun 2009 23:37:22 -0400
Hi folks,
I'm trying to develop an application that acts as a service, but I
cannot make it appear on the Services Menu and I cannot execute it on
the applications. I tried to search for similar posts with no success
and looked at the documentation at least 4 times with no luck either.
See If somebody can help me :)
Here Is the portion of the .plist files corresponding to the Service
entry
<key>NSServices</key>
<array>
<dict>
<key>NSMessage</key>
<string>serviceMovieInfo</string>
<key>NSPortName</key>
<string>MovieInfoReport</string>
<key>NSReturnTypes</key>
<array>
<string>NSStringPboardType</string>
</array>
<key>NSSendTypes</key>
<array>
<string>NSStringPboardType</string>
</array>
<key>NSMenuItem</key>
<dict>
<key>Menu item title</key>
<string>Get Movie Info</string>
</dict>
</dict>
</array>
The methods are defined like they are put on the file; After compiling
I've put the application with .app and .service in the places to see
if it works but no luck either...
Anyone has some ideas?
Many thanks to all!
Guillem
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden