Re: Write to the desktop?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41687
interpreted = N
texte = Sounds like a good use for that fancy new preference in 4.5 if I'm not mistaken it may help.Though I can't remember what it is at the momment, but I believe it will allow you use / as the root of the drive rather than the web site directory or webcatalog directory.Just looked it up on betadoc:'Absolute Path'Prefixing a file or database path with an * will force WebCatatog to treat the path as absolute, and not relative to the template or virtual root. This is useful on platforms where using an alias in not an option. This feature is disabled by default, but can be enabled via the WebDNA administration page. This is similar to the use of '^' to specify a path relative to the WebDNA 'globals' folder.>> I want webcat to write a file to the desktop folder -- no matter >> where the current template resides in the hierarchy. Does anyone >> have an idea for how to do this in a way that does not have to be >> re-written every time I move the current template to a different >> location? >> >> I'm looking for a MacOS9 solution right now, but it would be nice if >> the final solution were cross-platform ... > > [writefile file=^../../../../../../../Desktop Folder/file.html] > > Put enough ../ to get to the Desktop Folder from the Globals folder.-Jason Tyler ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Write to the desktop? (Alex McCombie 2002)
  2. Re: Write to the desktop? (John Peacock 2002)
  3. Re: Write to the desktop? (Jason Tyler 2002)
  4. Re: Write to the desktop? (Jesse Williams-Proudman 2002)
  5. Re: Write to the desktop? (Alain Russell 2002)
  6. Write to the desktop? (Kenneth Grome 2002)
Sounds like a good use for that fancy new preference in 4.5 if I'm not mistaken it may help.Though I can't remember what it is at the momment, but I believe it will allow you use / as the root of the drive rather than the web site directory or webcatalog directory.Just looked it up on betadoc:'Absolute Path'Prefixing a file or database path with an * will force WebCatatog to treat the path as absolute, and not relative to the template or virtual root. This is useful on platforms where using an alias in not an option. This feature is disabled by default, but can be enabled via the WebDNA administration page. This is similar to the use of '^' to specify a path relative to the WebDNA 'globals' folder.>> I want webcat to write a file to the desktop folder -- no matter >> where the current template resides in the hierarchy. Does anyone >> have an idea for how to do this in a way that does not have to be >> re-written every time I move the current template to a different >> location? >> >> I'm looking for a MacOS9 solution right now, but it would be nice if >> the final solution were cross-platform ... > > [writefile file=^../../../../../../../Desktop Folder/file.html] > > Put enough ../ to get to the Desktop Folder from the Globals folder.-Jason Tyler ------------------------------------------------------------- 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://search.smithmicro.com/ Jason Tyler

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:

webcat2b12 CGI -- Date comparisons (1997) PROTECT tag suggestion (2004) [Sum] function? (1997) can WC render sites out? (1997) Interfacing WebMerchant to www.fedex.com (1997) FEW QUESTIONS (1997) RequiredFields template (1997) FYI-WebCat Mac or NT (1997) time and welcome (1999) NetSplat and WebCat2 (1997) RequiredFields template (1997) shipCost (1998) Large sites (2003) [shownext] support - MacOS (1997) Quickie question on the email templates (1997) Too Much Rootbeer Free Offer (1997) Just a thought (1998) Showif, Search and text ? (2003) ODBC to WebCat (2000) plugin vs. acgi results (1998)