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



Hi,

Yes, 'call method' is available only in AppleScript Studio apps.
However, this works even in Script Editor if you use it in the 'tell' block
for AppleScript Studio app.
It is possible to control the Quartz composition from the outside of app.

tell application "(AppleScript Studio app name)"
    call method "setValue:forInputKey:" of (view 1 of window 1) with
parameters {0, "signal1"}
end tell

SSFactory
<email@hidden>

> Interesting - Does this only work in Applescript studio?
> Just produces an error in Script Editor.
> 
> regards,
> Ian.
> 
> Ian Steele, Senior Engineer, National Film & TV School, UK.
> 
> On May 3, 2006, at 06:22, SSFactory wrote:
> 
>> You can use 'call method' command in AppleScript Studio application.
>> 
>> Following script sets the string value "test" to the published port
>> "port1"
>> of QCView "QV1".
>> 
>> call method "setValue:forInputKey:" of view "QV1" with parameters
>> {"test",
>> "port1"}
>> 
>> FYI...
>> I'm using this way in my AppleScript Studio application.
>> <http://homepage.mac.com/ssfactory/.Public/MusicStoreRanking1.1.dmg>
>> 
>> SSFactory
>> <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



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.