[futurebasic] Re: [FB] RUN statement

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2000 : Group Archive : Group : All Groups

From: Joe Lewis Wilkins <PepeToo@...>
Date: Tue, 25 Jul 2000 18:06:44 -0700
Hi Peter and others,

Though it appears I'm going to have more success running QT
directly from FB - after I solve some FBII to 3 problems, I
would still like to include an example or two of running ASs
from FB^3.  If anyone has any neat AppleScripts they think
might show off this feature, I would love to include them. By
the way, activating QT and then trying to Open a Movie, didn't
work for me, though I may have screwed up the volRefNum,
as I have been known to do in the past - a truly black art in
the same vein as scrolling for me.  Fortunately, STAZ has made
much of that kind of stuff pretty transparent.

Joe Wilkins
General Editor of "FB^3 - the Book"

PS -- Hopefully, I'm going to have an URL for downloading the next
beta for "the Book".  I keep trying to fly before I can walk!!!!

Peter Bancroft wrote:

> >> tell application "QuickTime"
> >>   activate
> >>   open file filename  -- <<--- insert the files pathname in filename
> >> end tell
> >
> >That's exactly what I had in mind, but now how can I RUN that from
> >inside an FB Program, for example - if I have a number of different
> >"songs" listed in a Menu, when the Reader selects one of them to
> >have the above script RUN using the selected "song" as the filename
>
> Joe
>
> Save the AS as compiled scripts and RUN them from FB just like any other app.
>
> Peter           mailto:peter@...