Re: ListFiles and .DS_Store

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55370
interpreted = N
texte = Yes, that works but then you have to jump through all kind of other hoops to identify an [index], .DS_Store counts a number 1 in this case so your first [index] number will be 2. I was looking or hoping for a "more clean" solution ... I'm kind of a nut about minimizing my code to the lowest possible number of processing tasks. Hahaha ... I guess I'm kind of a kook that way. : c) Thank you, MK On Friday, January 9, 2004, at 10:53 AM, Jesse Crofoot wrote: > Would this possibly work for what you are trying todo ? > > [ListFiles] > [if "[FileName]"=".DS_Store"][then][/then][else][FileName][/else][/if] > [/ListFiles] > > > Jesse Crofoot > ----- Original Message ----- > From: "Marc Kaiwi" > To: "WebDNA Talk" > Sent: Friday, January 09, 2004 11:38 AM > Subject: ListFiles and .DS_Store > > >> Maybe a silly question but (OS X only I assume) what's the best way to >> keep .DS_Store from being listed in a [ListFiles] context? >> >> P.S.: ShowInvisibles=F doesn't seem to work and [hideif]/[showif] is >> not a good answer because [index] will still be incremented in the >> [listfiles] context. >> >> Oh, I'm using OS X 10.2 / DNA v4.x. >> >> Any quick thoughts or ideas? >> >> Thanks in advance, >> >> >> Signed: Marc Kaiwi >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to > >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > Signed: Marc Kaiwi ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: ListFiles and .DS_Store ( Kenneth Grome 2004)
  2. Re: ListFiles and .DS_Store ( Donovan Brooke 2004)
  3. Re: ListFiles and .DS_Store ( Donovan Brooke 2004)
  4. Re: ListFiles and .DS_Store ( Marc Kaiwi 2004)
  5. Re: ListFiles and .DS_Store ( "Jesse Crofoot" 2004)
  6. Re: ListFiles and .DS_Store ( Marc Kaiwi 2004)
  7. Re: ListFiles and .DS_Store ( Donovan Brooke 2004)
  8. ListFiles and .DS_Store ( Marc Kaiwi 2004)
Yes, that works but then you have to jump through all kind of other hoops to identify an [index], .DS_Store counts a number 1 in this case so your first [index] number will be 2. I was looking or hoping for a "more clean" solution ... I'm kind of a nut about minimizing my code to the lowest possible number of processing tasks. Hahaha ... I guess I'm kind of a kook that way. : c) Thank you, MK On Friday, January 9, 2004, at 10:53 AM, Jesse Crofoot wrote: > Would this possibly work for what you are trying todo ? > > [listfiles] > [if "[FileName]"=".DS_Store"][then][/then][else][FileName][/else][/if] > [/ListFiles] > > > Jesse Crofoot > ----- Original Message ----- > From: "Marc Kaiwi" > To: "WebDNA Talk" > Sent: Friday, January 09, 2004 11:38 AM > Subject: ListFiles and .DS_Store > > >> Maybe a silly question but (OS X only I assume) what's the best way to >> keep .DS_Store from being listed in a [listfiles] context? >> >> P.S.: ShowInvisibles=F doesn't seem to work and [hideif]/[showif] is >> not a good answer because [index] will still be incremented in the >> [listfiles] context. >> >> Oh, I'm using OS X 10.2 / DNA v4.x. >> >> Any quick thoughts or ideas? >> >> Thanks in advance, >> >> >> Signed: Marc Kaiwi >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to > >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > Signed: Marc Kaiwi ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Marc Kaiwi

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:

Showing unopened cart (1997) F3 crashing server (1997) [WebDNA] www.webdna.us store down?? (2012) SOLUTION.... Balancing randomness (2000) Add a field to the error log? (1997) (2003) World Address Info (2003) Root Folder problems cont. (1998) Reversed words (1997) Re2: Calculating multiple shipping... (1997) Another question (1997) Explorer 3.0/ Access Denied! (1997) apparently to problem isolated (1997) Country & Ship-to address & other fields ? (1997) & in Lookups (1997) Adding multiple items to Cart at one time, & append contextproblem (1998) virtual domain service (1997) Installation webCatalog (French speakers please help) (1998) Does anyone have a TCPconnect that does multiple sends... (2000) Newbie Question (2003)