JavaScript - IMHO one should see see WebKit / JavaScript Core for what might have affected your enjoyment and access to scripting in Quartz Composer.

Doubt it was anything to do with the Java update - different framework entirely. [despite naming issues <Java / JavaScript> ]

Looks to me as though this might be a QC2 to QC3 scripting patch issue also.

In the QC3 scripting patch you'll need to declare your function as part of or nested within function () main ()

try

function (__number outputNumber) main (__number inputNumber)
{
        var result = new Object();
        result.outputNumber = inputNumber;
        return result;
}

with a random number patch to the input

the above code won't work as formatted in either QC2 or Safari browser, only in QC3

http://lists.apple.com/pipermail/quartzcomposer-dev/attachments/20090701/bc7a6679/JavaScriptTest.bin

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to