I use a lot of snippets, in both DWMX 2K4 and HS5 & 1/2, and that's pretty
nifty...Thanks Raymond->

  _____  

From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Friday, December 19, 2003 3:38 PM
To: CF-Talk
Subject: RE: Joining the dark side - using DWMX

I'm not sure if this is a copyright violation or not, but here is the
relevant info:

Using dynamic variables in snippets
You can add variables to snippets. Snippet variables take the same form as
VTML variables: $${VARNAME}. When you insert a snippet with a variable into
a document, HomeSite+ prompts you to enter a value.

You can also include a list of values for a variable; for example,
$${COLOR:Blue,Red,Green}. When a snippet with this variable is executed, a
drop-down list appears with the options (Blue, Red, Green) in the Value
column. You can use variables in a snippet for attribute values.

The following is a list of supported predefined variables:

$${DATE}
$${MONTH}
$${TIME}
$${DATETIME}
$${DAYOFWEEK}
$${CURRENTFILE} - Current file name (just the file)
$${CURRENTFOLDER} - Current folder (just the folder)
$${CURRENTPATH} - Current path (full file name)
$${USERNAME} - Current user
$${MONTHNUMBER} - Month as a number
$${DAYOFMONTH} - Day of month as a number
$${DAYOFWEEKNUMBER} - Day of week (the week starts on Sunday)
$${DATETIME24} - DateTime24 - a 24 hour clock version of datetime.
$${YEAR} - Current year.
$${YEAR2DIGIT} - Current two digit year.
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to