Solved

How can I retrieve a distinct list of variables using Adobe Dreamweaver's search functionality?

Posted on 2011-02-16
3
893 Views
Last Modified: 2012-05-11
How can I retrieve a distinct list of variables using Dreamweaver's search functionality?

I would like to do a search in Dreamweaver that would return a distinct list of variables prefixed with 'session.emailContent'.  I could get the list pretty easily by outputting structKeyList().  However, I was just wondering if it were possible to use Dreamweaver to get the list by searching 'Selected Files in Site'.  If I can, and if it's quicker, it'd be nice to have that ace up my sleeve.  Thanks in advance!
0
Comment
Question by:brianmfalls
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 34910704
Hi brianmfalls,

There probably isn't a way to do it with Dreamweaver.  While you can use a regular expression to locate the variable name by pattern, DW won't return the name of the variable.  Instead, it could replace it or show the result in the Results Panel, but that can't really be manipulated in a serious way.

Using grep from the command line is a better method.
0
 
LVL 1

Author Comment

by:brianmfalls
ID: 34926004
I've not heard of 'grep'.  Can you elaborate?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 34930185
grep is a *nix command that searches text files via regular expressions.  It's very powerful and I recommend that people learn it:

http://en.wikipedia.org/wiki/Grep
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question