Re: [WebDNA] ListFiles question

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109256
interpreted = N
texte = --f46d0447945387c5e204c400c5e2 Content-Type: text/plain; charset=UTF-8 Steve, Hi - I would put [hideif [filename]~Thumb-][filename][/hideif] inside the [listfiles] - Tom On Wed, Jul 4, 2012 at 1:58 PM, Steve Craig wrote: > Hi > > Quick problem for today is that I need to show the first image in a folder > listed alphabetically that does not have Thumb- in the name. > > Is there a way to use the listfiles with a name variable that is not equal > to if you see what I mean. > > [listfiles path=/myfolder/&name=Thumb-&exact=f] > > Ie the opposite of this. > > For example I may have a folder containg images named... > > Thumb-Toulouse1.jpg > Thumb-Toulouse2.jpg > Toulouse1.jpg > Toulouse2.jpg > > I need to show Toulouse1.jpg > > Any help appreciated > > --f46d0447945387c5e204c400c5e2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Steve,

Hi - I would put [hideif [filename]~Thumb-][filen= ame][/hideif] =C2=A0inside the [listfiles]

- Tom



On Wed, Jul 4, 201= 2 at 1:58 PM, Steve Craig <steve@asylumweb.com> wrote:
Hi

Quick problem for today is that I need to show the first image in a folder = listed alphabetically that does not have Thumb- in the name.

Is there a way to use the listfiles with a name variable that is not equal = to if you see what I mean.

[listfiles path=3D/myfolder/&name=3DThumb-&exact=3Df]

Ie the opposite of this.

For example I may have a folder containg images named...

Thumb-Toulouse1.jpg
Thumb-Toulouse2.jpg
Toulouse1.jpg
Toulouse2.jpg

I need to show Toulouse1.jpg

Any help appreciated

--f46d0447945387c5e204c400c5e2-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] ListFiles question (Steve Craig 2012)
  2. Re: [WebDNA] ListFiles question ("Terry Wilson" 2012)
  3. Re: [WebDNA] ListFiles question (Govinda 2012)
  4. Re: [WebDNA] ListFiles question (Tom Duke 2012)
  5. Re: [WebDNA] ListFiles question (Steve Craig 2012)
  6. Re: [WebDNA] ListFiles question (Tom Duke 2012)
  7. [WebDNA] ListFiles question (Steve Craig 2012)
--f46d0447945387c5e204c400c5e2 Content-Type: text/plain; charset=UTF-8 Steve, Hi - I would put [hideif [filename]~Thumb-][filename][/hideif] inside the [listfiles] - Tom On Wed, Jul 4, 2012 at 1:58 PM, Steve Craig wrote: > Hi > > Quick problem for today is that I need to show the first image in a folder > listed alphabetically that does not have Thumb- in the name. > > Is there a way to use the listfiles with a name variable that is not equal > to if you see what I mean. > > [listfiles path=/myfolder/&name=Thumb-&exact=f] > > Ie the opposite of this. > > For example I may have a folder containg images named... > > Thumb-Toulouse1.jpg > Thumb-Toulouse2.jpg > Toulouse1.jpg > Toulouse2.jpg > > I need to show Toulouse1.jpg > > Any help appreciated > > --f46d0447945387c5e204c400c5e2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Steve,

Hi - I would put [hideif [filename]~Thumb-][filen= ame][/hideif] =C2=A0inside the [listfiles]

- Tom



On Wed, Jul 4, 201= 2 at 1:58 PM, Steve Craig <steve@asylumweb.com> wrote:
Hi

Quick problem for today is that I need to show the first image in a folder = listed alphabetically that does not have Thumb- in the name.

Is there a way to use the listfiles with a name variable that is not equal = to if you see what I mean.

[listfiles path=3D/myfolder/&name=3DThumb-&exact=3Df]

Ie the opposite of this.

For example I may have a folder containg images named...

Thumb-Toulouse1.jpg
Thumb-Toulouse2.jpg
Toulouse1.jpg
Toulouse2.jpg

I need to show Toulouse1.jpg

Any help appreciated

--f46d0447945387c5e204c400c5e2-- Tom Duke

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[LookUp] (1999) WCS Newbie question (1997) [WebDNA] Need to convert unix date? (2009) Emailer [cart] file names (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) SQL Ref. (1999) WebCat 5 (2003) Field name-subcategory (1997) Stumpted Again (1997) WebCatalog can't find database (1997) (2004) Error Lob.db records error message not name (1997) [WriteFile] problems (1997) no [search] with NT (1997) processing .html pages (2001) Installing Web DNA 5.1 on a MAC (2004) [append] vs. [appendfile] delta + question? (1997) Search in 2 or more catalogs (1997) two unique banners on one page (1997) Running 2 two WebCatalog.acgi's (1996)