Background App Questions
Background App Questions
- Subject: Background App Questions
- From: Bruce Robertson <email@hidden>
- Date: Fri, 06 Mar 2009 07:48:21 -0800
I found this article very interesting:
http://www.apple.com/applescript/linktrigger/
It describes a way to make an applescript app respond to a protocol, in this
case webpagehelper://
I made an adaptation of this file and used plist editor to set it to
background only. The startup dialog goes through a tell Finder statement so
the app itself does act like a background app.
It works OK and I can send it commands from the FileMaker Web Viewer, which
is quite cool at least for me. FileMaker can submit forms or commands to
itself in this way.
Couple questions:
Is there any way to make it run continuously as a real background app?
>From Activity Monitor I see that it starts/quits with each command
submitted.
I see a plist option for application is agent but that doesn't seem to make
any difference.
I have it set up to respond to a simple web form and send data to Filemaker.
I tried entering and submitting faster and faster and it appears that some
kind of bottleneck is reached and it gets overloaded. What is the best way
to handle that?
The technique uses open location and since open location does not return a
result, I'm wondering how to detect errors. The definition for open location
mentions an error reporting attribute but I've never been able to find a way
to trigger it.
Bruce Robertson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden