I haven't too much experience with Applescript in Rev, but I can help in a simple script.
I use the following script to get the physical ram of the computer and I get the returned value into "the result" variable.


do "get (system attribute " &quote& "ram " &quote& ") / 1048 div 1000" as appleScript
put the result into theRAM


Thierry

On Friday, Aug 20, 2004, at 14:21 Europe/Paris, Marian Petrides wrote:

Richard's query about Applescript got me thinking about ways to use Applescripts in Rev code. One thing that isn't clear to me, however, is whether if you execute an Applescript using:

do fld 1  as applescript

and that Applescript returns a value, is there a way to capture that value and use it in other Revolution code? If so, how would one send a value (or better yet a list of values) back from Applescript to Rev?

Thanks.

M

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to