Solved

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

Posted on 2011-02-16
3
892 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

778 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