• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSServices with files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSServices with files


  • Subject: NSServices with files
  • From: Chad Armstrong <email@hidden>
  • Date: Thu, 02 Jun 2005 20:38:44 -0700

Is it possible to have a service interact with a file?  From the services I've seen so far, they only interacted with selected text.  I would like to be able to select a file, folder, or volume in the Finder, and be able to interact with the file.

Also, is it possible to call a Service without having anything selected?  If I have, say, a backup program, and if I select some files and then run the Service, those files will be backed up.  But if I just run the service without having any files selected, I would want the entire hard drive (or a set of files specified by the program) to be backed up.

>From the quick experiments I tried today, I did them under Mac OS 10.1 (I have other machines with Jaguar, Tiger, and Panther, though), and if I remember correctly, Carbon and Cocoa programs didn't always play well with Services.

Chad Armstrong
email@hidden
 _______________________________________________
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

  • Follow-Ups:
    • Re: NSServices with files
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: linking to a styled private framework
  • Next by Date: Custom file previews in Open Panels
  • Previous by thread: Re: Custom objects in drag pasteboard? [solved]
  • Next by thread: Re: NSServices with files
  • Index(es):
    • Date
    • Thread