• 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
Call AppleScript from remote server. How?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Call AppleScript from remote server. How?


  • Subject: Call AppleScript from remote server. How?
  • From: Simon Forster <email@hidden>
  • Date: Fri, 9 Jul 2004 11:45:33 +0100

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.


  • Follow-Ups:
    • Re: Call AppleScript from remote server. How?
      • From: Andrew Oliver <email@hidden>
  • Prev by Date: How to edit a static library using apple script ???
  • Next by Date: Re: trying to make a list of numbers
  • Previous by thread: Re: How to edit a static library using apple script ???
  • Next by thread: Re: Call AppleScript from remote server. How?
  • Index(es):
    • Date
    • Thread