I think there is a shortcut. You can use 'the result' for other than errors for custom commands.
I would bet you are right. But, but.. this could let us pass an array back to the calling script. Let's try.
Stack A --------- on mouseup send doSomething to button 1 of stack "stackB" put the result into aResult combine aResult using cr put aResult end mouseup Stack B --------- on doSomething get doSomething() end doSomething function doSomething put "1" into aTest[1] put "2" into aTest[2] put "3" into aTest[3] put "4" into aTest[4] return aTest end doSomething Tadam... 1 2 3 4 This is a *splendid* tip. Thanks a bunch! Marielle _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution