I'm trying to create a program that loads a picture that is named in an INI file. Is there any way to do this in TGF with any extensions or other methods? I tried using the multimedia picture object, but this only lets me load a specifically named file, not one that is named as a string. If this is not possible in TGF, can it be done in MMF?
I know for a fact that it's possible in MMF, because I made a program for displaying the school yearbook from data in an external CSV file. I don't recall exactly how I did it though. If I can find the source later on I'll have a quick look.
I'm not sure about TGF, but in MMF you can use the Active Picture object. Example:
Event --> (Active Picture object) New Picture (the file's path).
To access it where you can type in the path (or use Appdrive$ + Appdir$), click on the "Expression" on the dialog box.
yeah, but in the TGF demo you cant save stand-alone apps, so in MMF probly won't be able too either... and anyway I would need more than 30 days to learn how to use that thing, more like a few years lol
Ze Pickle's projects:
Not working on any right now. Aw, man.
Okay, so MMF can do what I want it to do with pictures -- can it also do a similar thing with running external programs, determining which program to run based on a string?
with the mmf demo you get a lot more than 30 days, but you can't save stand alone programs otherwise it would basically be the full version.
and i dont think anyone has ever tried to do what you ask in tgf but i can't see why it would not work since ini files are the same for both tgf and mmf and tgf can definatley open pictures because hayo did it in fishead 2
Well, maybe I didn't explain myself well enough. I will have many pictures saved into a directory, and I want one of these to be displayed. Now, I COULD go and set up an event for every single file in this directory, but that's a lot more work than I want to do, and plus new pictures added to this directory would not be included. TGF only allows you to select a specific file or have the user select one -- I want the file to be chosen based on a string containing the name of the file to be displayed. I downloaded the MMF demo and I'm trying to see if it can do what I'm trying to, because I don't think that there's any way of getting it to work in TGF.
EDIT: Okay, I figured out that MMF can do what I want it to do by basing which file to load on an expression. Unfortunately, it seems that the same thing is not possible to do with running an external application. Does anybody know of a way to do this?
EDIT (Again): So after fooling around with MMF for a while, I found that the File object can accomplish what I need it to do. Now I just have to convince myself to fork over 100 dollars for MMF...
You can write the source in the demo, then send it to one of us to build the stand-alone app. There's plenty of people happy enough to help with that sort of thing.