INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Automating a task in Dreamweaver CS6 using snippets with variables, or script?

Automating a task in Dreamweaver CS6 using snippets with variables, or script?

Automating a task in Dreamweaver CS6 using snippets with variables, or script?

(OP)
Dear all,

On a page of my website i have to insert several tables each day, and then I put different text in each of them. Among that text, each table shows to visitors a unique number that i have to advance manually by one for each new table, and there is also a current date in each table.

As I would like to make this task easier, I do use a snippet that inserts a table with appropriate layout. But after that I still have to manually advance number in the table by one, and I have to edit snippet every day - to put in the current date.

Is there a way to put variables (number and date) in snippet? Or is there maybe an completely different approach to such an automation in Dreamweaver, that I could use to resolve this task?

Greetings,
Tablas

RE: Automating a task in Dreamweaver CS6 using snippets with variables, or script?

From where is the data coming that you are putting into tables?

Can you use a database?

RE: Automating a task in Dreamweaver CS6 using snippets with variables, or script?

(OP)
Data is copy-paste from mail. Procesing data with database system is a huge task, that has to wait for the future. Reality is, that I need just something simple now to make thing easier for me.
A perfect thing would be what I described in the first mail: snippets (or a script) with table structure and some text, but also with variables providing that number written in newly inserted table is increased by one, and current date is written into the table. (Number and date in one particular table than has to stay fixed, while new tables are added above).

Tablas

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close