NSServices with files
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