Run QuartzComposer composition from AppleScript?
Run QuartzComposer composition from AppleScript?
- Subject: Run QuartzComposer composition from AppleScript?
- From: Dominik Röttsches <email@hidden>
- Date: Wed, 3 Dec 2008 11:05:02 +0100
Hi,
does anyone know a simple way of running a Quartz composition from inside an Applescript?
I\'ve created a simple composition that samples frames from the built-in camera and does a simple motion detection. On one published output \"MotionDetected\", I can read a binary value that tells me what its name says: whether there was motion in the picture.
I\'d like to use this as a sort-of event trigger in my script, i.e. perform an action only after motion was detected. The only approach I could come up with so far was to create a simple quartz-based native app and make this one apple-scriptable.
Can anyone think of an easier, more direct solution?
On the QuarztComposer list I got the suggestion (thanks to Troy Koelling) something like this could be achieved by creating an AppleScript studio project and embedding a nib with a QCView in it. Bear with me for asking the same question in this list to see if anyone fammiliar with AppleScript has further ideas (cmp. http://lists.apple.com/archives/Quartzcomposer-dev/2008/Dec/msg00019.html).
Thanks for your help,
Dominik
_______________________________________________
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