Mac drop file on standalone, process, and quit

2012-02-23 Thread ilsa
Hi: I've searched the list but haven't found out how to do a very simple thing: drop an image file, or a bunch of image files, onto a standalone and have it process them all and then quit. So I could have the app in the Dock and drop files on it. I have the image processing part down, but getting

Re: Mac drop file on standalone, process, and quit

2012-02-23 Thread Richard Gaskin
ilsa wrote: > I've searched the list but haven't found out how to do a very simple > thing: drop an image file, or a bunch of image files, onto a > standalone and have it process them all and then quit. So I could have > the app in the Dock and drop files on it. I have the image processing > part d

Re: Mac drop file on standalone, process, and quit

2012-02-23 Thread ilsa
Hi: Thanks. I was trying the below in my stack script, which I got from a Jacquie message on the list: global gFP on appleEvent pClass, pID if pClass is "aevt" and pID is "odoc" then -- the file path is in the appleEvent data request appleEvent data put it into gFP -- open

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread J. Landman Gay
On 2/23/12 10:55 PM, ilsa wrote: Hi: Thanks. I was trying the below in my stack script, which I got from a Jacquie message on the list: global gFP on appleEvent pClass, pID if pClass is "aevt" and pID is "odoc" then -- the file path is in the appleEvent data request appleEvent

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread Andre Garzia
Folks, I think that AppleEvents are not authorized on the new Mac App Store rules right? Silly Apple... Andre On Fri, Feb 24, 2012 at 4:24 PM, J. Landman Gay wrote: > On 2/23/12 10:55 PM, ilsa wrote: > >> Hi: >> >> Thanks. I was trying the below in my stack script, which I got from a >> Jacqui

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread J. Landman Gay
On 2/24/12 1:44 PM, Andre Garzia wrote: Folks, I think that AppleEvents are not authorized on the new Mac App Store rules right? I hadn't even thought of that. I bet you're right. I wonder if Automator will still ship with Mt Lion. -- Jacqueline Landman Gay | jac...@hyperactives

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread Richard Gaskin
Andre Garzia wrote: I think that AppleEvents are not authorized on the new Mac App Store rules right? I hope that any limitation with Apple events is limited to sending them; for many years apps have been required to receive and respond to the odoc event as the means of opening apps. -- Ri

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread Bob Sneidar
Well then screw the app store! I am starting to look sideways at Apple... Bob On Feb 24, 2012, at 11:44 AM, Andre Garzia wrote: > Folks, > > I think that AppleEvents are not authorized on the new Mac App Store rules > right? > > Silly Apple... > > Andre

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread Andre Garzia
On Fri, Feb 24, 2012 at 7:26 PM, Bob Sneidar wrote: > Well then screw the app store! I am starting to look sideways at Apple... > There will be a day in the not so distant future when if you don't sell your software on mac apple store, the mac users will never discover it (unless you're doing ve

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread Tim Jones
I'll have to say negative to both of your assertions. There are a very broad number of applications that do not fit the model of the MAS and Apple knows this. As long as there are software stores, integration consultants, and non-home user customers, there will always be a "normal" channel for

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread ilsa
Thanks, but it still doesn't work. Do I have to enable "dropability" somewhere, or enter some special standalone settings? Thanks, ilsa On Fri, Feb 24, 2012 at 10:24 AM, J. Landman Gay wrote: > On 2/23/12 10:55 PM, ilsa wrote: >> >> Hi: >> >> Thanks. I was trying the below in my stack script, w

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread Andre Garzia
Tim, Just checked the documentation at: https://developer.apple.com/library/mac/documentation/Miscellaneous/Reference/EntitlementKeyReference/AppSandboxTemporaryExceptionEntitlements/AppSandboxTemporaryExceptionEntitlements.html#//apple_ref/doc/uid/TP40011195-CH5-SW3 Yes you will be able to rece

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread J. Landman Gay
On 2/24/12 4:08 PM, ilsa wrote: Thanks, but it still doesn't work. Do I have to enable "dropability" somewhere, or enter some special standalone settings? You shouldn't have to do anything special. Did you put in some answer dialogs to see if the handler actually runs at all? It sounds like n

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread ilsa
The app icon in the Dock doesn't hilite when I drag a jpg over it. When the app opens I get the "oapp" pID. ilsa On Fri, Feb 24, 2012 at 2:43 PM, J. Landman Gay wrote: > On 2/24/12 4:08 PM, ilsa wrote: >> >> Thanks, but it still doesn't work. Do I have to enable "dropability" >> somewhere, or en

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread J. Landman Gay
On 2/24/12 6:15 PM, ilsa wrote: The app icon in the Dock doesn't hilite when I drag a jpg over it. When the app opens I get the "oapp" pID. I see, that's a whole different problem. You need to tell the OS that your app will accept jpgs, or any other file type you want to work with. You can do

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread ilsa
It worked when I put those extensions in the standalone prefs! And when I drag several files the full paths of all get put into the test field as paragraphs. Perfect. I put "JPEG" into the Doc Types field too but when I dragged a .png onto it, it also showed up, so fantastic! I appreciate all the h

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread ilsa
To follow up, by putting "" into the Document Type standalone pref, folders are handled. However, then all files with any extension are also handled. The appleevent pID is "odoc" for both files and folders. I should be able to filter the apple event data to pick out what I want to operate on.

Re: Mac drop file on standalone, process, and quit

2012-02-24 Thread J. Landman Gay
On 2/24/12 10:42 PM, ilsa wrote: To follow up, by putting "" into the Document Type standalone pref, folders are handled. However, then all files with any extension are also handled. The appleevent pID is "odoc" for both files and folders. I should be able to filter the apple event data to pi

Re: Mac drop file on standalone, process, and quit

2013-07-23 Thread J. Landman Gay
On 7/23/13 3:34 PM, Łukasz Józwiak wrote:> SET & PUT is not same look in rev docs, and SET work for me always PUT only > at start. look: > in app file I'm familiar with the behavior of "put" and "set", it's been many years. ;) You can't attach files to this mailing list, so we can't see what yo