Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: Help with image list
Pages: [1] Print
Author Topic: Help with image list  (Read 887 times)
Amanita
Newbie
*
Offline Offline

Posts: 19


View Profile
Help with image list
« on: December 05, 2005, 01:23:22 PM »

I am exploring the ( icon-browser.r)  script from rebol.org

I cannot figure out how to make it point to a directory other than root...

Does anyone know how to modify this script to point to my images folder in the same directory?

Thanks for your time...

Amanita
Logged
CarlRead
Full Member
***
Offline Offline

Posts: 105


View Profile
Help with image list
« Reply #1 on: December 05, 2005, 01:56:32 PM »

I've not run the script, but looking at it, I'd say changing the...

files: read %.

to...

files: read %images/.

will get you the right directory list.

And changing...

image: load-image f

to...

image: load-image join %images/ f

should get you the right images.

At a guess...
Logged

- Carl Read
Amanita
Newbie
*
Offline Offline

Posts: 19


View Profile
Help with image list
« Reply #2 on: December 05, 2005, 03:15:16 PM »

Woo hoo!

I had tried pointing at the directory with

read %images/.

However I was adding

(image: load-image  %images/f )

Forgot the (join)    :huh:

Thank you for your help!

Amanita

Logged
Pages: [1] Print 
Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: Help with image list
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 12, 2008, 12:22:05 AM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2251 Posts in 589 Topics by 2420 Members
Latest Member: pharmacytovvv

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc