Re: Applescript bundle droplet problems
Re: Applescript bundle droplet problems
- Subject: Re: Applescript bundle droplet problems
- From: Walter Ian Kaye <email@hidden>
- Date: Thu, 13 May 2004 17:37:27 -0700
At 12:08a +0200 05/14/2004, Brennan didst inscribe upon an electronic papyrus:
My bundle has an 'open' handler, so it also functions as a droplet. Sort
of.
If you drop multiple files on the application bundle, the droplet only
processes the last file.
I thought that each call to 'do shell script' would start a new shell
instance, but it seems to interrupt the previous call or something.
Should I use an idle event to iterate through the dropped files, instead
of a repeat loop?
Idle wouldn't apply here. Maybe you just need a small delay? Or maybe
you can send the shell proggy to the background with the little
ampersand doodad.
Or maybe it's your proggy? I'm not a Unix programmer; I'm just brainstorming.
I'm also getting a kind of startup screen, even though I do not check the
'startup screen' box. Actually, this screen seems to tell me what went on
as a *result* of the 'do shell script' call. How do I stop this from
appearing?
What does that look like? (I haven't seen it.)
Finally, and least important : I would like to give it a custom icon. I've
made an .icns file in Icon Composer, but when I save it in the bundle's
resources folder, nothing seems to happen.
Check your plist? Whenever you recompile the droplet, the plist gets replaced.
Make sure you have your customized plist elsewhere as a master, and
copy it into the bundle after any recompilation. Same goes for any
kind of customization of default resources. Keep your masters
separate, and copy 'em in.
-boo
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.