Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now