Re: New command suggestion

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13871
interpreted = N
texte = >on Wed, 8 Oct 1997 22:53:24 Kenneth Grome wrote: > >>In other words, what you really would like to have is a new tag that >>purges the xxx.db data from RAM *without* writing it to disk. Yes, >>that would make it possible to do everything you need, automatically, >>in a single template like this: > > >>[CloseDatabase xxx.db] >>[AppleScript] >>Move the xxx.db file to the trash and rename the xxx.db copy file >>to xxx.db >>[/AppleScript] >>[PurgeDatabase xxx.db] > > >Ken this is Great! >But, I'd like to clean up the AppleScript: > >[CloseDatabase xxx.db] >[AppleScript] >set myPath to myHardDrive:WebSTAR:WebCatalog: >tell application Finder > if file (myPath & xxx.db) exists then > move the file (myPath & xxx.db) to the trash > rename file (myPath & xxx.db copy) to xxx.db > end if >end tell >[/AppleScript] >[PurgeDatabase xxx.db]Hi Eddie,Thanks for writing some *real* AppleScript for me! :)BTW, In case anyone got the wrong impression about this discussion, I just want to make it clear that there is *NO SUCH THING* as a [PurgeDatabase] tag in WebDNA.This was a THEORETICAL discussion of what could be done *IF* there were such a tag -- but there's no such animal yet ... Sincerely, Ken Grome WebDNA Solutions 808-737-6499 http://www.hui.net/dna/webdna.html Associated Messages, from the most recent to the oldest:

    
  1. Re: New command suggestion (Kenneth Grome 1997)
  2. Re: New command suggestion (Eddie Schrieffer 1997)
  3. Re: New command suggestion (Kenneth Grome 1997)
  4. Re: New command suggestion (Kenneth Grome 1997)
  5. Re: New command suggestion (Eddie Schrieffer 1997)
  6. Re: New command suggestion (was Re: Modifying databases manually) (Jeremy Pocock 1997)
  7. Re: New command suggestion (was Re: Modifying databasesmanually) (Kenneth Grome 1997)
  8. New command suggestion (was Re: Modifying databases manually) (Dale LaFountain 1997)
>on Wed, 8 Oct 1997 22:53:24 Kenneth Grome wrote: > >>In other words, what you really would like to have is a new tag that >>purges the xxx.db data from RAM *without* writing it to disk. Yes, >>that would make it possible to do everything you need, automatically, >>in a single template like this: > > >>[CloseDatabase xxx.db] >>[AppleScript] >>Move the xxx.db file to the trash and rename the xxx.db copy file >>to xxx.db >>[/AppleScript] >>[PurgeDatabase xxx.db] > > >Ken this is Great! >But, I'd like to clean up the AppleScript: > >[CloseDatabase xxx.db] >[AppleScript] >set myPath to myHardDrive:WebSTAR:WebCatalog: >tell application Finder > if file (myPath & xxx.db) exists then > move the file (myPath & xxx.db) to the trash > rename file (myPath & xxx.db copy) to xxx.db > end if >end tell >[/AppleScript] >[PurgeDatabase xxx.db]Hi Eddie,Thanks for writing some *real* AppleScript for me! :)BTW, In case anyone got the wrong impression about this discussion, I just want to make it clear that there is *NO SUCH THING* as a [PurgeDatabase] tag in WebDNA.This was a THEORETICAL discussion of what could be done *IF* there were such a tag -- but there's no such animal yet ... Sincerely, Ken Grome WebDNA Solutions 808-737-6499 http://www.hui.net/dna/webdna.html Kenneth Grome

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:

Practice runs ? (1997) encrypt method=APOP broken or just not enough docs? - was:MD5 encryption (2003) Setting up shop (1997) Fedora Core 3 and WebDNA (2005) [WebDNA] isolatin-1 to utf-8 conversion (2013) Date search bug (1998) read and write you own cookies with webcat (1997) [ot] Authorize.Net Resellers (2006) Enhancement Request for WebCatalog-NT (1996) Snake Bites (1997) 2.0 Info (1997) Bulletin Board needed (2007) 2 databases (1997) hiding hyperlink info in URL field (1999) [WebDNA] [OT] File structure for purchased downloads (2010) Referrer (2000) Overridding E-Mailer (1998) Installation Woes (2003) [random] only for 1-100??? (1997) Sku numbers (1997)