Re: [WebDNA] ListFiles question

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109257
interpreted = N
texte = --Apple-Mail=_603E07EC-E674-4F79-BBC6-5CC593F37DDB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Yes but how do I just show the first valid file and not any others? = [index] inside the founditems won't work because it will start counting = the Thumb- files as well. Cheers =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Steve Craig - Asylum Interactive Ltd Tel +44 1330 860550 Fax +44 1330 860880 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On 4 Jul 2012, at 14:11, Tom Duke wrote: > Steve, >=20 > Hi - I would put [hideif [filename]~Thumb-][filename][/hideif] inside = the [listfiles] >=20 > - Tom >=20 >=20 >=20 > On Wed, Jul 4, 2012 at 1:58 PM, Steve Craig = wrote: > Hi >=20 > 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. >=20 > Is there a way to use the listfiles with a name variable that is not = equal to if you see what I mean. >=20 > [listfiles path=3D/myfolder/&name=3DThumb-&exact=3Df] >=20 > Ie the opposite of this. >=20 > For example I may have a folder containg images named... >=20 > Thumb-Toulouse1.jpg > Thumb-Toulouse2.jpg > Toulouse1.jpg > Toulouse2.jpg >=20 > I need to show Toulouse1.jpg >=20 > Any help appreciated >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_603E07EC-E674-4F79-BBC6-5CC593F37DDB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Yes = but how do I just show the first valid file and not any others? [index] = inside the founditems won't work because it will start counting the = Thumb- files as well.

Cheers
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Steve Craig - Asylum Interactive Ltd
Tel +44 1330 860550 Fax +44 1330 860880
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
http://www.asylumweb.com
Skype: s.craig - iChat: steve.craig
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


On 4 Jul 2012, at 14:11, Tom Duke wrote:

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 <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

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_603E07EC-E674-4F79-BBC6-5CC593F37DDB-- 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)
--Apple-Mail=_603E07EC-E674-4F79-BBC6-5CC593F37DDB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Yes but how do I just show the first valid file and not any others? = [index] inside the founditems won't work because it will start counting = the Thumb- files as well. Cheers =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Steve Craig - Asylum Interactive Ltd Tel +44 1330 860550 Fax +44 1330 860880 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On 4 Jul 2012, at 14:11, Tom Duke wrote: > Steve, >=20 > Hi - I would put [hideif [filename]~Thumb-][filename][/hideif] inside = the [listfiles] >=20 > - Tom >=20 >=20 >=20 > On Wed, Jul 4, 2012 at 1:58 PM, Steve Craig = wrote: > Hi >=20 > 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. >=20 > Is there a way to use the listfiles with a name variable that is not = equal to if you see what I mean. >=20 > [listfiles path=3D/myfolder/&name=3DThumb-&exact=3Df] >=20 > Ie the opposite of this. >=20 > For example I may have a folder containg images named... >=20 > Thumb-Toulouse1.jpg > Thumb-Toulouse2.jpg > Toulouse1.jpg > Toulouse2.jpg >=20 > I need to show Toulouse1.jpg >=20 > Any help appreciated >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_603E07EC-E674-4F79-BBC6-5CC593F37DDB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Yes = but how do I just show the first valid file and not any others? [index] = inside the founditems won't work because it will start counting the = Thumb- files as well.

Cheers
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Steve Craig - Asylum Interactive Ltd
Tel +44 1330 860550 Fax +44 1330 860880
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
http://www.asylumweb.com
Skype: s.craig - iChat: steve.craig
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


On 4 Jul 2012, at 14:11, Tom Duke wrote:

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 <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

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_603E07EC-E674-4F79-BBC6-5CC593F37DDB-- Steve Craig

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:

Webmerchant email misinterpreted tags (1998) encrypt/decrypt failing (2000) I got caught! (2003) F3 crashing server (1997) ImageMagick and [shell] (2003) Math Context (2001) ShowIf helper? (1998) Almost a there but..bye bye NetCloak (1997) Browser Caching (2003) tricky embedded[showifs/hideifs] (w/ code.. long) (2000) more info on [setlineitems] (1997) Not really WebCat- (1997) SetHeader not Working (2006) Single Link browsing (1997) & in Lookups (1997) IRC Channel (2003) Storefornts (1997) docs for WebCatalog2 (1997) Another issue with [Date format] (1998) Custom WebCat Prefs ... (1997)