Computer Science Canada

Organizing Pictures for Movie

Author:  BigBear [ Sun Feb 10, 2008 2:09 pm ]
Post subject:  Organizing Pictures for Movie

I am a collection of images extracted from a .gif used in the introduction to my program (Disney Pictures Presents) Laughing
I want the folder container my program and files to be organized, so I can have these 67 pictures in another folder than declare them like this
code:
%pic:= Pic.FileNew ("C:\Documents and Settings\Fake\My Documents\Assignement\Intro-"+intstr(picnum)+".bmp")

However this only works on on my computer if I change computers this line of code must change. Like when I submit it to my teacher.

Please, if you know another way other than having all those pictures in the same folder as everything else please tell me.

Author:  Tony [ Sun Feb 10, 2008 3:37 pm ]
Post subject:  RE:Organizing Pictures for Movie

relative path

Author:  BigBear [ Sun Feb 10, 2008 4:28 pm ]
Post subject:  Re: Organizing Pictures for Movie

Well usually when you reply to my posts with a few words I realize that you gave me a command or another key word to search for. I have researched this relative path but have not been able to solve my problem.

Is there a way to get current directory? Or change director to another directory within the current one?

I guess this is why you have to specify where programs are installed to import their values to the registry and specify directories.

Can I use a .CAB file to get files or would this require me to specify its location?

Sorry Tony I was unable to solve your two word riddle.

Author:  Clayton [ Sun Feb 10, 2008 4:57 pm ]
Post subject:  RE:Organizing Pictures for Movie

JFGI

Author:  BigBear [ Sun Feb 10, 2008 5:06 pm ]
Post subject:  Re: Organizing Pictures for Movie

Wow I never knew what the meant I have heard and said "google it" or "I just googled"
So I click on your link thinking I would find a post or tutorial by you or Dan or some other knowledgeable user that would answer my problem but no google.com pops up. So I googled JFGI and first page, I am feeling lucky, comes up with www.fuckinggoogleit.com/ Laughing Laughing

Well I will thanks.

Author:  HeavenAgain [ Sun Feb 10, 2008 5:09 pm ]
Post subject:  RE:Organizing Pictures for Movie

code:
pic:= Pic.FileNew ("Intro-"+intstr(picnum)+".bmp")

or if they are in a folder...
code:
pic:= Pic.FileNew ("YOURFOLDERNAMEHERE\Intro-"+intstr(picnum)+".bmp")
....huh Rolling Eyes
as long they are in the same folder, this should work

Author:  BigBear [ Sun Feb 10, 2008 5:13 pm ]
Post subject:  Re: Organizing Pictures for Movie

So I know the difference between relative and absolute paths. So I guess therei sno other way and either I prompt my teacher for the directory my program is in.
Or have 67 pictures in the same folder as my turing file and text files.

Author:  BigBear [ Sun Feb 10, 2008 5:16 pm ]
Post subject:  Re: Organizing Pictures for Movie

HeavenAgain wrote:
huh Rolling Eyes as long they are in the same folder, this should work

Yes it does work I just wanted my folder to look more organized. That's all

Author:  HeavenAgain [ Sun Feb 10, 2008 5:18 pm ]
Post subject:  RE:Organizing Pictures for Movie

then just make a folder, and call it pictures or whatever, and
code:
pic:= Pic.FileNew ("pictures or whatever\Intro-"+intstr(picnum)+".bmp")
as long the picture folder and the turing source file are in the SAME folder, it, is, fine.

Author:  BigBear [ Sun Feb 10, 2008 5:26 pm ]
Post subject:  Re: Organizing Pictures for Movie

Omg I feel so stupid thanks for being patient and now I know how it's done.
I thought it was either in the same folder or specify entire location. Thanks HeavenAgain +Karma +Bits

Edit :Edit by Clayton: None of that now.


: