Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sending variables from applescript studio



There is no way to pass data to a composition from an applescript executable.

You can pass information from a Cocoa Application using objective-c. Take a look at:

http://developer.apple.com/documentation/GraphicsImaging/Conceptual/ QuartzComposer/index.html#//apple_ref/doc/uid/TP40001357

Take a look at the "Publish Ports and Binding Them to Controls" section.


Specifically you can use the:

setValue:forInputKey: method on QCView

(http://developer.apple.com/documentation/GraphicsImaging/Reference/ QuartzComposerRef/classes/qc_view.html#//apple_ref/occ/instm/QCView/ setValue:forInputKey:)



Nate



On May 2, 2006, at 10:05 AM, Alexandre Van de Sande wrote:

Is there a way to pass variables to quartz composer from a cocoa application?

I am using xcode's applescript studio to make an app that gets
information from an apple program do some web search and then outputs
it as a quartz composition. But I wasn't able to link the applescript
variable to the input of the .qtz

Maybe i could use some sort of c or java code snippet, but i am
clueless on both...

thanks.

alexandre van de sande
rio de janeiro
www.wanderingabout.com

ps. I found an old thread related to this, but could not find the
answer there neither
http://lists.apple.com/archives/quartzcomposer-dev/2005/Jun/ msg00018.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer- email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/nwertman% 40apple.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >sending variables from applescript studio (From: "Alexandre Van de Sande" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.