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:

Country & Ship-to address & other fields ? (1997) Moment of Thanks (1997) Printing a final order (1997) Another [header] Q- (2000) Replace Statement (1997) New Plug-in and Type 11 errors (1997) Change Subtotal (2000) Summary search -- speed (1997) Math, Multiple Equasions and Show/Hide (1998) SQL (2004) SKU (1997) Reversed words (1997) passing search criteria (1997) WebCat2b15MacPlugin - [protect] (1997) [append] and SSL (1997) Can I invoke an ssi plugin from within a webcat page (1997) WebCat2 Append problem (B14Macacgi) (1997) Changes to the List (1997) syntax question, not in online refernce (1997) showif... (2000)