• 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
Remote Script Server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Remote Script Server


  • Subject: Remote Script Server
  • From: Simon Topliss <email@hidden>
  • Date: Fri, 30 Jul 2010 14:22:51 +0100

Hello all,

The recent discussions regarding script libraries and script servers has reminded me about my longstanding quest to create a true script server.

Currently, I'm loading my shared libraries by mounting a volume via AFP and then using the standard 'load script' command. I would like to test if this is the best way to achieve this.

I want to, if it was possible, use 'load script' to load a script from a remote server, not just from a file reference. Something like (pseudo code)…

set my_lib to load script url "scpt://myserver.com/my_lib.scpt"

So, when a script is run on the user's Mac and needs to load a library, some of the solutions I've thought of so far are…
• Copy a .scpt file (via FTP?) to the user's Mac and then use 'load script'. This is basic and I don't thing FTP is particularly quick.
• Is there an AppleScriptObjC solution? Does NSAppleScript's initWithContentsOfURL use a local url as apposed to a network url?
• What about using Ruby On Rails?* 
• Or MySql?*

*How would I store a compiled script that Rails or MySql could return? Both can be easily configured to run on Mac OS X Server. I want to avoid having to store the library as a text (in a database) and then having to compile it on the user's Mac as this could be problematic. If I had compiled a library against PhotoShop CS5 and the user only had CS4, wouldn't that bring up the 'where's is…' dialog when compiled on the user's Mac?

Has anyone got any thoughts, pointers or advice?

Simon



 _______________________________________________
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

  • Follow-Ups:
    • Re: Remote Script Server
      • From: Tommy Bollman <email@hidden>
    • Re: Remote Script Server
      • From: Wayne Melrose <email@hidden>
  • Prev by Date: Possible bug with AppScript and Excel?
  • Next by Date: Re: Remote Script Server
  • Previous by thread: Layers in Acrobat
  • Next by thread: Re: Remote Script Server
  • Index(es):
    • Date
    • Thread