Mailing Lists: Apple Mailing Lists

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

Re: Directory Scanner problem



Hello guys and thank you for your help.

I did a work around the Directory Scanner issue since this patch is unsafe under Leopard (i don't understand why?). 

I ended up doing a manual selection of images and placing them on a string input. The string takes the location and names of all the images as a list separated by a return, and you can separate each one by using a string components patch, then you get the components as a structure and continue from there.

I am sure there is another way, more elegant and automatic, to search in a folder and select all the images and bring them in as strings in order to avoid the unsafe patch (Directory Scanner). Can that be done using _javascript_ or maybe writing a new patch that makes the same action "safe" so you can actually export to quicktime?

Anyway, I just wanted to let you know how I ended up doing what I wanted, and it seems like my users actually prefer this way a lot better.

Thanks again.

            - - - - - - - - - -

            :

            Ricardo Silva

            http://www.ricardosilva.com

            :

            :

            =======================



On Nov 6, 2007, at 10:07 AM, email@hidden wrote:

From: "Johnson, Mark P. - Duluth" <email@hidden>
Date: November 6, 2007 9:29:27 AM PST
Subject: Re: Directory scanner problem

I'm guessing Ricardo wants that Directory Scanner so he doesn't have to hard
code the names of files. I'm the same way -- I want to keep things as
versatile as possible and I often just look at folders for content and use
Quartz for display. I want a presentation kiosk more than just a screen
saver.

I've used the multiplexer as a sort of "variable cache" --- items in it seem
to reside in memory until replaced. Try piping the movie name from the
Directory Scanner to a string function and don't do anything to it -- just
pass it from that into the multiplexer. Then, you can use "Image With Movie"
patch to grab that movie by name so the multiplexer will be loading a movie
by name -- rather than a pointer to a movie stream. I haven't tested it, but
it makes sense to me.

Either it's an issue of a string, vs. a pointer (part of the issue of
automatic variables in high level languages) or it is an issue that movie
downloader does some magic that the Directory Scanner doesn't. So you can
try just grabbing it straight from a Multiplexer (that would mean this is a
cache issue), from the Multiplexer after it's passed through a string
conversion (it's a variable type issue), or pass it through the string,
multi, and then "Image With Movie" patch (the Directory Scanner patch is not
doing something it should).

Let us know how it goes -- I haven't tried outputting videos yet.
Mark J

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