Re: Drag and drop onto BSD command line tool?
Re: Drag and drop onto BSD command line tool?
- Subject: Re: Drag and drop onto BSD command line tool?
- From: Kevin Meaney <email@hidden>
- Date: Sun, 18 May 2014 00:26:20 +0100
I think an applescript droplet, using the "on open" call which then calls "do shell script" with the path to your command and the file that is dropped on it.
Kevin
On 18 May 2014, at 00:14, Bob Sabiston <email@hidden> wrote:
> Hello,
>
> I have a little console app written in C, one which takes a filename as an argc/argv argument. Is there any *easy* way to make this into a tool which I can just drop files onto it in the finder?
>
> There used to be a program called DropScript which would do this, but it was PPC based and there is no Intel version that I can find. I’ve never used Automator, would it do this?
>
> Thanks
> Bob
>
>
> _______________________________________________
>
> 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
_______________________________________________
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