Re: Cocoa-dev Digest, Vol 7, Issue 1044
Re: Cocoa-dev Digest, Vol 7, Issue 1044
- Subject: Re: Cocoa-dev Digest, Vol 7, Issue 1044
- From: "email@hidden" <email@hidden>
- Date: Wed, 10 Nov 2010 21:39:28 +0000
On 10 Nov 2010, at 21:19, McLaughlin, Michael P. wrote:
>>
>
> The idea is that the app will be scriptable but I was trying to find a way
> to avoid forcing the user to send a special command to set a fromBatch flag
> (seems kludgy).
>
> I would like the user to be able to queue up a lot of separate input files
> (jobs) for the app to 1) process and 2) save results, disabling the various
> OK buttons, etc. that would normally have to be clicked. That way, the user
> could launch a script and come back later to a folder full of results
> without ever seeing the app.
>
> Most of the time, the normal app behavior would be interactive (a GUI).
>
> --
> Mike McLaughlin
>
>
If your app has a GUI then launching the app from AS (or anything else) will of course display the app.
You can generate a FBA (Faceless Background Application and agent essentially) to process events without a GUI but it will mean refactoring your app.
I may misunderstand your intention but surely you will have to send the job queue to the app in an AppleEvent?
If so the app will know that it is in batch mode when it gets the event.
Regards
Jonathan Mitchell
Developer
Mugginsoft LLP
http://www.mugginsoft.com
_______________________________________________
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