On 8/31/03 Kaveh Bazargan wrote

>At 10:20 pm +0200 31/8/03, [EMAIL PROTECTED] wrote:
>>Put "tell program " & quote & "Finder" & quote & " to open " & quote &
>>"drive:folder:application.app" & quote into vScript
>>Do vScript as applescript
>>
>>This should do the job ;-)
>
>Hey thanks.
>
>Is there no easier way? :-(

If you want to be able to type scripts in and have them executed you could create a 
custom property to hold the applescript to run.

Create a custom prop called uAppleScript in the stack.  Paste the following into it:

display dialog "hi"

Create a button with the following script:

on mouseUp
    do the uAppleScript of this stack as applescript
end mouseUp

You should see a dialog box with 'Hi' displayed in it.

-- 
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to