• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Call AppleScript from remote server. How?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Call AppleScript from remote server. How?


  • Subject: Re: Call AppleScript from remote server. How?
  • From: Andrew Oliver <email@hidden>
  • Date: Fri, 09 Jul 2004 10:01:24 -0700

If you're using Mac OS X Server, AppleScript CGIs are supported

http://www.apple.com/applescript/guidebook/sbrt/pgs/sbrt.12.htm

If not using Mac OS X Server you can use ACGI Dispatcher (
http://www.sentman.com/acgi/ ) to do the same thing in Mac OS X client.

Andrew
:)

On 7/9/04 3:45 AM, "Simon Forster" <email@hidden> wrote:

> I'm looking at a project which will produce PDFs from InDesign
> templates. The actual process is going to be relatively simple - at
> least it should be once I've got my head around InDesign's object
> model. However, the process will be kicked off by a remote application
> on a PC somewhere requesting PDF 1234 for client XYZ. What methodology
> would you suggest for this communication between machines?
>
> Remote AppleEvents are out as the initiating box is a Wintel PC. For
> me, the obvious answer is an AppleScript CGI - but there doesn't seem
> to be an AppleScript module for Apache. After that we're looking at a
> CGI written in another language, Python would be favourite, which'll
> then initiate the AppleScript process. But that seems to be introducing
> another point of failure which I'd prefer to avoid.
>
> And while I'm rambling at you all, what about queuing requests? If the
> AppleScript is busy processing a request what happens then?
>
> How about CGI writes a simple text request to a folder; AppleScript
> checks folder every minute and if there's something there, processes
> the request? Does my queuing for me and breaks the process into a
> couple of logical chunks. All fine. Can I reduce the potential one
> minute lag by a process other than reducing the idle time in the
> AppleScript? Initially this time lag is no problem but there may be a
> desire to create the PDFs in real time.
>
> I realize that I'm rambling at you a bit but I don't have anyone to
> talk through these issues with so it's nice to get some other POV.
>
> TIA
>
> Simon Forster
> _____________________________________________________
> LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
> Tel: +44 (0)70 9230 5244 Fax: +44 (0)70 9230 5247
> _____________________________________________________
> _______________________________________________
> 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.
_______________________________________________
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.


References: 
 >Call AppleScript from remote server. How? (From: Simon Forster <email@hidden>)

  • Prev by Date: Re: AS asking for application on every occasion
  • Next by Date: Re: itunes - can one do "tracks whose duration..."?
  • Previous by thread: Call AppleScript from remote server. How?
  • Next by thread: vCalendar file parsing...
  • Index(es):
    • Date
    • Thread