Re: Self contained command line tool

2012-10-14 Thread Alexander Holodny
LSUIElement=1 in Info.plist is hint for Launch Services to do not initialize user interface(i.e., Dock icon). On Oct 12, 2012, at 11:19 AM, Dave Keck wrote: > I would create a new Cocoa application using Xcode's template, delete all the > .m files (except main.m), and put your code in main.m. Y

Re: Self contained command line tool

2012-10-12 Thread Kyle Sluder
On Fri, Oct 12, 2012, at 11:11 AM, Gene Crucean wrote: > There are lot's of reasons for this. You can drag and drop a file to > perform some automated task on it, or just automate some task. You can > also > use cron jobs to launch the app. Just the other day I whipped up a tiny > app > that lets m

Re: Self contained command line tool

2012-10-12 Thread davelist
I'm not certain this is what you want, but could you use Automator to create an app that runs your executable as a shell script? I don't know if that will give you a file you drag onto it as a command line parameter or not. Dave On Oct 12, 2012, at 2:11 PM, Gene Crucean wrote: > There are lo

Re: Self contained command line tool

2012-10-12 Thread Gene Crucean
There are lot's of reasons for this. You can drag and drop a file to perform some automated task on it, or just automate some task. You can also use cron jobs to launch the app. Just the other day I whipped up a tiny app that lets me drag and drop files/folders onto my app's icon to use 7zip for ar

Re: Self contained command line tool

2012-10-12 Thread Kyle Sluder
On Oct 10, 2012, at 3:24 PM, Charlie Dickman <3tothe...@comcast.net> wrote: > I have created a command line tool that executes correctly in the debugger. > How do I get the built binary to execute independently without starting the > Terminal app. I'm sorry, your question doesn't make sense. Yo

Re: Self contained command line tool

2012-10-12 Thread Dave Keck
I would create a new Cocoa application using Xcode's template, delete all the .m files (except main.m), and put your code in main.m. You should be able to delete most of the resources as well, such as MainMenu.xib and InfoPlist.strings. Your app will of course not have any interface or menu bar,

Self contained command line tool

2012-10-12 Thread Charlie Dickman
I have created a command line tool that executes correctly in the debugger. How do I get the built binary to execute independently without starting the Terminal app. Charlie Dickman 3tothe...@comcast.net ___ Cocoa-dev mailing list (Cocoa-dev@lists.