Re: External Scripts in Final Cut Server request
Re: External Scripts in Final Cut Server request
- Subject: Re: External Scripts in Final Cut Server request
- From: Eryk Vershen <email@hidden>
- Date: Wed, 14 May 2008 15:08:11 -0700
Ryan,
The best way to start out with script response is to create a simple
shell script. Whatever you use should be runnable from the command
line. That is, you should be able to type the Command Path from the
response into a Terminal window and have something happen. Most people
use shell script or ruby or some other scripting language.
You can use AppleScript, but avoid all commands that require/display a
UI. They may work in some contexts, but it will not work in general.
The reasons have nothing to do with AppleScript per se, this
restriction applies to any method of launching a GUI app.
In the demo with ruby-on-rails, what actually happens is is there is a
subscription that triggers a script response to run a ruby script
which adds a record into the database that is behind the rails
application. That does the move from FCSVR to rails.
For the return trip, the rails application creates an XML file in a
particular directory. FCVSR has a watcher with a ReadXML response that
brings the information from the XML back in to FCSVR.
There is no externally available documentation on the XML schema of
ReadXML/WriteXML at this time.
-eryk
On May 13, 2008, at 6:38 PM, Ryan Gallagher wrote:
Can anyone help me out with running external scripts as a Final Cut
Server Response.
Thus far I have tried Automator App, Applescript Script, Shell
Command with no luck. When I try an Applescript compiled as an app
however, I get a response.
A startup screen loads asking if I wanted to run or quit the app,
even though the app was specifically compiled not to have a start up
screen. Additionally this window is dead in the water, it can't be
clicked, and the only way out is to quite from the activity monitor,
which described it as a powerPC process.
I have seen some demos where ruby or ruby on rails is summoned, but
with no insight as to how it was done.
any help would be greatly appreciated,
thanks,
ryan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden