"Search in Files" inside .ini files

I use the site search and search in file features in Dreamweaver quite often but I just discovered that if I have a folder full of .ini files and I need to search globally inside those files Dreamweaver returns no results.
Apparently, DW is unable to search inside files other than HTML, PHP, CSS, JS, etc. But it won't search in .ini files or any weird (for DW) file extensions.
I once was able to set up my DW to look inside PHTML files (Used by Magento) as well as applying code coloring to them as it would on PHP files.
I suspect this is a similar process but I wanted to make sure I was not seeing things. Is DW really that dense that will not search inside a file with an extension it doesn't know?
By the way, I did add .ini to the recognizable files in preferences, but obviously that's not enough to have DW search inside them.
OFF TOPIC COMMENT
Another weird thing I just noticed is that the "asset" and other modules will only work in WYSIWYG view. Meaning that if I save a color in my assets I cannot use it to insert it in a CSS file. Not even in code view. I have to be in the visual editor for it to work, but then it's useless to me.
Incidentally, some time ago I found that the visual editor in DW is actually very useful when working with dynamic websites like Drupal or wordpress. Especially when dealing with very large pages with lots of CSS files.
However, no one IO know would or should build their sites in the visual editor. It's simly a bad way to work. Why would adobe limit the use of the "assets" pane (and the "History pane too now that I remember)  to the visual editor is beyond me in this day and age.
I do a lot of tasks where it would be greast to copy a procedure like a substiotution and have DW repeat the same procedure on other pages or similar code snippets. Yet, it won't alow me.
I love Dreamweaver and I am actually writing a book on how to use it with the likes of wordpress, drupal, etc. It cuts dowen development and design time by less than a third. If those things worked everywhere instead of just in the visual editor it would cut down even more on the time it ntakes to design dynamic website templates.
Sorry about the rant.
Thank you for any help.

Hi David, I too have worked closely on a lot of software projects and I am well aware of the limitations. In fact, that's one of the reasons I lioke to work on open source projects because of the vast talent pool they can utilize. Private companies, no matter how big, neet to triage new development according to their resources.
By the way, adding the .ini files to the extension.txt files in Dreamweaver is pretty easy. Since code coloring is not an issue that's really the only change I need to make. When I integrated the PHTML file extension for Magento I had to make a lot more changes (still manageable though).
One of your comments, about DW keeping its legacy features in a changing web development world, made me think that it may be time for Adobe to spawn a different IDE or start thinking about a more modular approach to the application.
I am writing a book on Dreamweaver integration for Open Source web scripts and when talking to other open source developers, one thing that comes up often is that Dreamweaver is a "bloated" program  (this is not my complaint, by the way).
Part of the issue is that it needs to keep a lot of quasi-obsolete features so that long time users won't abandon the platform. Which featrures are obsolete is really up to each user. For me the WYSIWYG view is certainly not something I would use to design web sites, but should Adobe get rid of it,  it would absolutely destroy my workflow since I use it to rapidly target HTML, CSS and even Core PHP code in the template and the file system of the scripts I work with.
The new "Live view" in CS4 was a welcome addition, especially since the basic page rendering in DW leaves a lot to be desired (Incidentally Microsnot "Expression" page rendering is a lot better, making the live view feature less exceptional except when troubleshooting JS based effects).
Anyway, that said, DW is an extensible program and there are a lot of thrid party utilities written for Dreamweaver. Couldn't the Adobe team use this extensibility to make improvements to the interface and even use it to add or subctract features from the main application?
I think they are mising an opportunity here to capture a wider audience. DW could ship with a minimal set of features and the team could choose to release their own add-ons so that users could build their own application.
I think that approach would silence a lot of critics, since the basic app would now be a lot slimmer, while still giving power and legacy users the features they need a-la-carte.
I am actually hioping that once my book comes out (if it ever does: the publishing world moves at a snail's pace) it may give the DW team a new perspective on how to use Dreamweaver in a modern web development enviroment, but honestly my biggest hope is for one of the current open source projects like Eclipse to look at my development system and maybe add some Dreamweaver-like features so that finally there would be a real open source alternative to Dreamweaver. In turn, I believe that will make DW move a bit more quickly in adding new features and shedding the obsolete ones.
Anyway, thank you again for the links, I did submit my suggestions. I am not holding my breath but we'll see.
Take care

Similar Messages

  • Validating xml-files inside jar-files  for JWS

    I want to use xml-files inside a jar-file and want to validate them with dtd-files,
    located in the same jar-file. This does work, but only as long as the dtd-file is
    in the same directory as the xml-file.
    For example, I have no problem, with a DOC Type-statement like
    <!DOCTYPE questestinterop SYSTEM "ims_qtiv1p1.dtd" >
    With this statement, however, one needs an approprate dtd in every directory containing an XML-file of that type.
    If however i want to gather the necessary dtd's in a directory one (or more) levels above with a DOCTYPE-statement of the form
    <!DOCTYPE questestinterop SYSTEM "../ims_qtiv1p1.dtd" >
    I get error messages of the form
    java.io.FileNotFoundException: JAR entry Mikro/Marshall/BookQuestions/../ims_qtiv1p1.dtd not found in C:\Dokumente und Einstellungen\wreiss\Anwendungsdaten\Sun\Java\Deployment\javaws\cache\http\Dwiwi.upb.de\P80\DM~vwl08\DMOViSS\DMoviss_current\RMMikro.jar
         at org.apache.crimson.parser.Parser2.fatal(Unknown Source)
         at org.apache.crimson.parser.Parser2.externalParameterEntity(Unknown Source)
         at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Unknown Source)
         at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
         at org.apache.crimson.parser.Parser2.parse(Unknown Source)
         at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
         at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(Unknown Source)
         at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
         at oviss.competenceCenter.XMLExpert.setElements(XMLExpert.java:245)
    though the dtd-file is in the parent-directory (inside the jar) and the unpacked xml-file can be successfully validated.
    Why does this happen. How can one use a single dtd for multiple xml-files (of the same type) in different directories?.
    Thanks
    Winfried Reiss

    In reply to myself, replacing the HTMLBrowser constructor with this;
    public HTMLBrowser()
                  URL url;
                  try
                       // Construct the URL
                       url= this.getClass().getResource('/'+dir+'/'+startPage);
                       setPage(url);
                  catch (Exception e)
                  System.out.println( "Problem setting help homepage");
                 setEditable(false);
                 addHyperlinkListener(new LinkListener(this));
            }made it work. This is because seemingly you need '/' at the start of the resouce's path and '/' as the separator, regardless of platform.
    I hope this helps someone else.
    John

  • How to place InDesign files inside InDesign files w/bleed intact?

    I'm placing InDesign working files inside another InDesign document that's a printer-provided template. Esentially, I've designed a multipage book and now need to put those pages with bleed into a larger, one page printer template. No trouble placing the files, but I'm not able to give any of my placed pages bleed. Any thoughts?
    Many thanks,
    Jim.

    Duh! Works perfectly.
    Thanks for the help!
    ~Jim.

  • .bat file and .ini file

    I have a batch file with the following contents, I need to substitute the paths \\folder\projectname\formatter\saxon8\ with a variable using .ini file. Could anyone please tell me how do I do this
    @echo off
    cls
    echo.
    set CP=\\folder\projectname\formatter\saxon8\saxon8-jdom.jar;\\folder\projectname\formatter\saxon8\saxon8-sql.jar;\\folder\projectname\formatter\saxon8\saxon8sa.jar;\\folder\projectname\formatter\saxon8\saxon-license.lic
    ...If the path of the needed files gets changed in future, the user need to change the path only in the .ini file and that should reflect in the .bat file.
    Message was edited by:
    Simmy
    Message was edited by:
    Simmy

    I am reading the INI file in my code whose value C:\\temp\\ is getting displayed in my Batch file, but I need to display only the keyword Path in my Batch file. Can you please tell me what modifications I need to do in my code.
    This is the contents of my INI file
    [INI file : user.ini]
    Path="C:\\temp\\"
    The following is my code
        public void createFile()
            try
                p = new Properties();
                p.load(new FileInputStream("D:/user.ini"));
                JarPath=p.getProperty("Path");
                p.list(System.out);
            catch(Exception e)
                System.out.println(e);
            File file1=new File("D:/temp/ps1.bat");
            BufferedWriter bw1;
            try
                bw1=new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file1)));
                bw1.write("@echo off\n");
                bw1.write("cls\n");
                bw1.write("echo.\n");
                bw1.write("set CP="+JarPath+"saxon8-jdom.jar;"+JarPath+"saxon8-sql.jar;"+JarPath+"saxon8sa.jar;"+JarPath+"saxon-license.lic\n");
                bw1.flush();
            catch(IOException ioe)
                System.out.println("Error creating \"ps1.bat\". Process terminated.");
    Currently, the following is my Batch file contents
    @echo off
    cls
    echo.
    set CP=C:\temp\saxon8-jdom.jar;C:\temp\saxon8-sql.jar;C:\temp\saxon8sa.jar;C:\temp\saxon-license.lic
    But I need my Batch file to display
    @echo off
    cls
    echo.
    set CP=Path\saxon8-jdom.jar;Path\saxon8-sql.jar;Path\saxon8sa.jar;Path\saxon-license.lic

  • Search a word inside a file uisng java

    Hi all,
    I have to write a java program that will search the given word inside all the files in the given directory.Finally it has to display the occurance of the word along with its location...i dono how to start with.Can anybody help me with an idea..Thanks in advance.

    Look in the java.io package. The class File represents both flat files and directories.
    There's also a class in there with a name like "LineNumberReader". You'll probably find that helpful.
    You didn't say what the criteria are for finding a match, for example whether it needs to be a case-insensitive match, or whether it must match the whole word or just the start of the word, etc.
    There are a variety of ways you can do text pattern matching, but I'd suggest that you do it in the simplest possible way, which would probably be just to use String.indexOf. Later on if this isn't sufficient, you can move up to regular expressions (see the java.lang.regex package).

  • Why can't my EJB see common files inside war file?

    My DataProcessorBean packaged in an ear file can't find a local class(JDomUtils) during runtime.
    It compiles fine, it's accessible in my IDE, and I can see it also in the war file contained in the ear but getting this error.
    Caused by: java.lang.NoClassDefFoundError: Lcom/app/util/xpath/JDomUtils;
    Any suggestions?
    DataProcessorBean.java
    import com.app.util.xpath.JDomUtils;
    public class DataProcessorBean implements SessionBean {
    SessionContext sessionContext;
    private JDomUtils domUtils;
    JDomUtils.java Found inside: app.war\WEB-INF\classes\com\app\util\xpath\JDomUtils
    package com.app.util.xpath;
    public class JDomUtils {
    public JDomUtils() {
    Edited by: 917903 on Aug 16, 2012 2:18 PM

    If I got you right your EJB is packaged in the jar which is in ear.
    Your util-class is in war which is in ear too.
    In such case you can't get access from Bean to Util class because of classloaders rule.
    Possible solution is to move your Util class to APP-INF\lib. In such case it will be shared by all the modules that you have in your ear.
    Edited by: 955802 on Aug 29, 2012 8:50 AM

  • How to protect the class files inside jar file.

    Hi Group,
    pls help me.
    my need is i created a executable jar file with certain classes.
    and i'm supposed to send it to my client.
    but if the client needs he can extract the class files from the jar and with the
    help of some decompilers he can convert class file to .java source code and read the whole
    stuff.
    how can i protect my jar file from these.
    is there any security mechanism for that
    pls help me.
    Regards,
    Ranjith.M

    In order to protect my jar file I tried the jar signer technology but it only protects the jar from modification so I need to know how to protect jar file from decoding of the contents inside.

  • Inception Question. ID files inside ID files.

    I am trying to streamline our proofing workflow at work. I want to take the contents of an indesign file (id1) and place them into placeholders in another indesign file (id2) so that all of the pages from id1 are scaled and pages are generated as needed in id2. In the spirit of Data Merge, sort of.
    Id2 is our proof sheet, with information specific to the jobs along the top and bottom of an 8.5x11 page. Within that page I put a placeholder that matches the ratio of the pages on id1. I then want to place id1 (a series of 22x28 signs) into the placeholder and have it put all of the pages in automatically, without me having to make a new page, and click the placeholder.
    Is there some magic or common sense I am missing? Thanks for any help, and have a great day!

    I think the placeholder might be a problem. On the other hand, you might be able to run Scott Zanelli's script to do waht you want, without a placeholder. See InDesignSecrets » Blog Archive » Zanelli Releases MultiPageImporter for Importing both PDF and INDD Files

  • Search inside Coldfusion files with Spotlight?

    I've recently found to my dismay that you cannot search inside .cfm files with Spotlight, and there appears to be no easy way to tell Spotlight to start looking in those files. I would assume that since they're just text files, and Spotlight does seem to search inside .htm files, that it shouldn't be too difficult to get Spotlight to do this, but I'm at a loss as to going about it.
    Can anybody point me in the right direction?
    Thanks.

    For Spotlight to index content there has to be an mdimporter for that content type. If the files are in fact plain text, it is possible to do a bit of hacking to get them indexed, see this discussion at MacOSXHints:
    http://www.macosxhints.com/article.php?story=20050514182520714&query=mdimport
    Be sure to read the comments! And don't do it without a current clone of your system on an external drive that is NOT attached when you try this out (if you do try it).
    Francine
    Francine
    Schwieder

  • Search inside Keynote files

    I have a series of Keynote, and I am trying to search for some text within them. However, Spotlight does not appear to search the text of the files. Is there any add-on or fix for this? Spotlight does search the text of PowerPoint files, so it must be able to search Keynote files, right

    There are two things you could try:
    1. Force a re-index of the folder containing the files; you do this by adding the folder to the Privacy tab in the Spotlight pane of System Preferences, wait a minute and then remove it. You might launch Activity Monitor, make sure All Processes are showing, arrange by name and high-light the "mdimport" that belongs to "unknown"--then when you delete the folder from the Privacy list see if the process kicks in and starts using the CPU.
    2. You could always download EasyFind and use it to do a brute force search on file contents:
    http://www.devon-technologies.com/products/freeware/
    A content search can take awhile, since EasyFind doesn't use an index, so you'll want to make sure you only search the folder the files are in.
    Francine
    Francine
    Schwieder

  • Firefox profile cannot be loaded. It may be missing or inaccessible - yet no profile.ini file is missing (folder empty), clean reinstall has not not worked

    I'm running windows 8 and had recently handed my computer back to be repaired. When I got my computer back I started getting the error that states that "Your Firefox profile cannot be loaded. It may be missing or inaccessible." upon opening.
    I've had this before and just renamed the profile.ini file as something different forcing Firefox to create a new profile. However the profile.ini file is not there, at all.
    Everything that I've searched for shows profile management through firefox, but I can't open firefox to create any profiles so they don't help at all.
    Does anyone know

    This is usually caused by a problem with the profiles.ini file and the profile marked as Default=1 is no longer present on the hard drive.
    *Windows: "%AppData%\Mozilla\Firefox\"
    *Linux: ~/.mozilla/firefox/
    *Mac: ~/Library/Application Support/Firefox/
    *Delete the profiles.ini file to force Firefox to create a new default profile
    *Use the Profile Manager to create a new profile
    *Use "Choose Folder" to recover an existing profile if there is still one present
    *http://kb.mozillazine.org/Profile_Manager
    *https://support.mozilla.org/kb/Managing+profiles
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    The "AppData" folder in Windows Vista and later Window 7+ versions and the "Application Data" folder in XP/Win2K are hidden folders.
    *http://kb.mozillazine.org/Show_hidden_files_and_folders
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Running a batch file inside a jar

    HI all
    I created a jar file , in which i need to run a batch file , so i wrote a main class to execute the run the batch file , but when iam running the jar it is searching for the given batch file out side the jar.
    my code is some thing like below
         public static void main(String args[])
              try
                   Runtime rt=Runtime.getRuntime();
                   Process process=rt.exec("%DIRNAME%/start.bat");
       InputStreamReader reader =
                      new InputStreamReader ( process.getInputStream () );
                   BufferedReader buf_reader =
                       new BufferedReader (  reader );
                    String line;
                    while ((line = buf_reader.readLine ()) != null)
                                 System.out.println (line);
              catch (IOException e) {
                    System.out.println (e);
         }so please help me.. is it the problem in specifing the path...?
    are does it have any other method to read the stream functions ..
    thanks in advance
    sam

    I don't think this will work. You could not go to a command line and enter, "%DIRNAME%/start.bat" if start.bat was inside a jar - the CLI doesn't know how to read a batch file inside a jar.
    I think it would work to programmatically read the lines of start.bat (when it is inside the jar) into an array of Strings and use Runtime.exec with the array as the argument.
    It would also work to extract the start.bat file, then execute it using Runtime.exec.

  • Embedding HTML inside Flash File

    HI.
    I would like to inquire on how to embed a HTML file insides a
    Flash File.
    This is the scenario, I have several HTML files, e.g. a.html,
    b.html, c.html.
    Where there would be a links inside that flash file, to open
    a.html, b.html, and c.html (not a new browser).
    How can I do this? Guides / Tutorials would help.
    I am a bit a newbie in the world of Flash. Thank you in
    advance.
    /928 :)

    mauve928,
    > I would like to inquire on how to embed a HTML file
    insides
    > a Flash File.
    Dynamic text fields do support some HTML formatting, but
    it's important
    to understand that at this time, the supported tags comprise
    only a very
    small subset of the full HTML specification. (Search the Help
    panel for
    "supported HTML tags," and you'll see which ones they are.)
    As such, Flash
    Player simply doesn't load HTML files.
    What Flash Player does load is XML, so if your documents are
    formatted
    as XHTML (that is, technically XML), you'll have the
    beginnings of something
    you can use. Flash won't necessarily be able to display
    elements it doesn't
    understand (e.g. tables), but because the document is XML,
    you'll be able to
    parse those tags and extract information from them, using
    what Flash *is*
    capable of displaying.
    I wrote a series at Community MX not long ago that makes
    some
    exploration into what you're after.
    http://www.communitymx.com/abstract.cfm?cid=02395
    The first article (of three) is free, and you sign up for a
    non-obligatory free trial to read the rest.
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • Search for a word in files

    Hi all,
    i need a help here..
    i am doing document search in my jsp application...i have all my files inside a folder..folder contains many folders and inside many files are there..if i specify one string it should display all the files that contains that word.
    for example if i search a word "welcome" if any file that contains welcome at any part of document it should specify that file along with the path and then the file should open when i click the link..pls tell me how to do that..

    Have a recursive method that takes as a parameter a File, an ArrayList of matches so far, and the String to search for. In your servlet, call it with a blank arraylist. Then iterate through the arrayList, and instead of outputting the path on the file system, output the URL.
         private void fileSearch(File currdir, ArrayList matches, String word) throws IOException{
              File[] fileset = currdir.listFiles();
              for (int i =0; i <fileset.length; i++){
                   if (fileset.isDirectory()) fileSearch(fileset[i], matches, word);
                   else{
                        BufferedReader reader = new BufferedReader(new FileReader(fileset[i]));
                        boolean found=false;
                        while (reader.ready() && !found){
                             String currline = reader.readLine();
                             if (currline.indexOf(word)!=-1){
                                  matches.add(fileset[i].getAbsolutePath());
                                  found=true;
                        reader.close();

  • Search network drive for large files

    Our network drives are getting full. I used to be able to use Find File to find files larger than a certain size. I hit command-F for finding the file, have it set to search the volume I want for files with size greater than 80 MB, but when I hit return to start the search nothing happens--no spinning arrow showing that it's "thinking". I don't want to specify anything in the window with the magnifying glass, since I don't know file names. Any suggestions, or is this just something that you can't do with 10.4.8 (the version on my machine at work)?

    Never mind. I found out that if I add specific folders I want to search inside, it works. It just doesn't want to search the volume.

Maybe you are looking for

  • Add fields to maintenance view and update then using events

    Hi experts:   I've created a table with 4 fields, one of them is userid. Also, there is a maintenance view to add new entries.   I want to display user name when typing userid using events (1 or 21). I know how to do it if username is one of the fiel

  • Error while adding PNI for too many clients

    Hi, I have added bunch of hosts to the OSB server and while trying to add PNI for all these hosts I am getting the following error. I have a total of 42 clients. If I add 20 to 25, I am okay, otherwise I am getting the error below. Can someone tell m

  • Ref cursors pls help

    hi, what is ref cursor, what is its advantage over normal cursor. How we can pass a cursor as an argument to a procedure?? How we return a cursor from a procedure??

  • SAP MM - Table name to get RG23Part1&2 Invoices Lists

    Dear Experts Can Anybody please give me the table name for Excise Invoices RG23Part1&2 to get the all excise invoices list Thanks in Advance

  • How to change local object to transportable object?

    I have a structure that was created locally but I want to move it to QAS, so I want to make it transportable object. How do I do this? Thanks. Mithun