Mailing Lists: Apple Mailing Lists

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

Applescripts Inside of Widgets



Since I know virtually no _javascript_ (yes, I'm learning bits and pieces daily), I have taken to writing Applescripts, embedding them inside the widget and telling the _javascript_ to run the script. My problem with this is that I have to write various scripts to do various things (one of my widgets has 6 different simple applescripts to do 6 different things--which I would like to write in one concise script)--is there a way to write ONE applescript that returns various items and just have the _javascript_ read each in as a variable when the applescript is executed? The way it seems to work now is that it will just take the very last output of my Applescript and bring that into the _javascript_ code.

Thanks!



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-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.