I am trying to use a [loadbang] to render an image automatically on startup. The problem I am having is that [pix-image] can't find the path to the image file on the hard drive, I get a blank screen in the GEM window and the message;
error: GemImageLoad: Unable to find file: (path).
If I use [openpanel] to direct the path, everything works fine but I'd like to feed the path to [pix-image] directly without having to take the intermediate step of the [openpanel]. I've tried using [openpanel] to set a message box with the path, and I've tried to use it create a symbol of the path, connecting both to the inlet of [pix-image] but even though at start up the text of the path shows up in the message and/or symbol and i bang it as part of a trigger sequence I get a blank screen and the error message unless I re-establish the path using [openpanel].
Any ideas?
patch attached.
Thanks!
Dan