Problem in retreiving directory structure, code needs correction

hello there
I am trying to fetch the directory structure of a particular directory in a way that the structure of subdirectories is also displayed.
I have the following code:
CODE:
import java.io.*;
public class FetchDir2
static File dirStruct[][] = new File[300][100]; //stores the directory structure at a particular level
static Integer pastIndex[] = new Integer[300]; //Stores index upto which a particular level has been scanned
static String path = "C:/trydir"; //path of user's workspace, change it accordingly
static int level = 0;
static int index = 0;
static int j=0;
static int i=0;
public static void main(String s[])
File fileTry = new File(path);
for(int i=0;i<300;i++)
     pastIndex=0;
fetchStr(fileTry);
public static void fetchStr(File fileTry)
dirStruct[level] = fileTry.listFiles(); //fetch list of files and directories at this LEVEL
sort(dirStruct[level]);
for(i=0;i<dirStruct[level].length;i++) //loop to scan each element at this level
if(dirStruct[level][i].isFile()) //if file is encountered
System.out.println("Level:"+level+"\t Index:"+pastIndex[level]+"\t DirStruct.Length:"+dirStruct[level].length);//CHKPOINT
     System.out.println("<file>"+dirStruct[level][i].getName()+"</file>"); //print file element
     pastIndex[level]++; //increase the index at this level by 1
//     if(dirStruct[level].length==0)
//     {break;}
//     else
     if(pastIndex[level]==dirStruct[level].length)
     System.out.println("</directory>");
     pastIndex[level]=0;
level--;
     if(level==-1)
          break;     
if(dirStruct[level][i].isDirectory())
System.out.println("Level:"+level+"\t Index:"+pastIndex[level]+"\t DirStruct.Length:"+dirStruct[level].length);//CHKPOINT
     String path = dirStruct[level][i].getPath();
     File f = new File(path);
     System.out.println("<directory>PATH:"+path);
     pastIndex[level]++;
     if(pastIndex[level]==((dirStruct[level].length)-1))
     pastIndex[level]=0;
     level--;
     System.out.println("</directory>");
     else
     level++;
     //System.out.println("</directory>");
     fetchStr(f);
public static void sort(File dirStruct[])
for(i=0;i<dirStruct.length;i++)
for(j=0;j<i;j++)
     int compare = dirStruct[i].compareTo(dirStruct[j]);
     if(compare>0)
     swap(dirStruct[i],dirStruct[j]);
public static void swap(File f1,File f2)
File f3;
f3=f1;
f1=f2;
f2=f3;
The dirctory structure used for testing is:
<dir trydir>
<file>f1</file>
<file>f2</file>
<file>f3</file>
<dir d1>
<dir d21>
<file>f</file>
</dir>
<dir d22>
<file>f</file>
</dir>
<file> f21</file>
<file> f22</file>
</dir>
OUTPUT:
Level:0 Index:0 DirStruct.Length:5
<file>a1.txt</file>
Level:0 Index:1 DirStruct.Length:5
<directory>PATH:C:\trydir\d1
Level:1 Index:0 DirStruct.Length:4
<directory>PATH:C:\trydir\d1\d21
Level:2 Index:0 DirStruct.Length:1
<file>f31.txt</file>
</directory>
Level:1 Index:1 DirStruct.Length:4
<directory>PATH:C:\trydir\d1\d21
Level:2 Index:0 DirStruct.Length:1
<file>f31.txt</file>
</directory>
Level:1 Index:2 DirStruct.Length:4
<directory>PATH:C:\trydir\d1\d21
</directory>
Level:0 Index:2 DirStruct.Length:1
<file>f31.txt</file>
Can some one please correct this code.
10 dukes are staright yours if you can.

hi
here is the code i work for u
The code is changed and go through it
import java.io.*;
public class FetchDir2 {
    final static String path = "C:/web"; //path of user's workspace, change it accordingly
    public static void main(String s[]) {
        File fileTry = new File("c:/web");
        fetchStr(fileTry,0,0);
    public static void fetchStr(File fileTry,int level,int idx) {
        File dirList[]=fileTry.listFiles();
        sort(dirList);
        File f=null;
        System.out.println("Level:" + level+" Index:"+idx +" DirStruct.length:"+dirList.length);
        for(int i=0;i<dirList.length;i++){
            f = dirList;
System.out.println("Level:"+level+" Index:"+i );
if(f.isFile()){
System.out.println("<file>"+ f.getName()+"</file>");
else{
System.out.println("<directory> Path:"+fileTry.getPath());
fetchStr(f,level++,i);
System.out.println("</directory>");
public static void sort(File dirStruct[]) {
int compare=0;
for(int i=0;i<dirStruct.length-1;i++) {
for(int j=i+1;j<dirStruct.length;j++) {
compare= dirStruct[i].compareTo(dirStruct[j]);
if(compare>0)
swap(dirStruct[i],dirStruct[j]);
public static void swap(File f1,File f2) {
File f3;
f3=f1;
f1=f2;
f2=f3;
}Hopes it helps you...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Installation directory structure - help needed

    Hi,
    we are looking to install a cluster of weblogic servers, based on a SAN network.
    We are looking for advice on what the best practise is for the installation within
    directories /opt/bea/...etc for the various components: product, configuration,
    application, jar, ear, etc.
    Can anyone provide some good pointers of what they have used?
    thanks
    S

    Hi,
    we are looking to install a cluster of weblogic servers, based on a SAN network.
    We are looking for advice on what the best practise is for the installation within
    directories /opt/bea/...etc for the various components: product, configuration,
    application, jar, ear, etc.
    Can anyone provide some good pointers of what they have used?
    thanks
    S

  • New Custom OAF project - Directory structure

    Hello,
    I am a newbie to the OAF. I am trying to set up a totally new custom OAF project (using Jdeveloper 9i)
    In our current directory structure under $JAVA_TOP, there is no folder/directory for custom projects. Is there a recommended standard directory structure that needs to be used for custom projects/applications? or is it advisable to set up a new directory and the children directories underneath? If new directory needs to be set up what is the logical structure? Can any one provide an example?
    Thanks,

    Thank you Gyan for the feedback. One last question about the directory structure:
    We have a custom schema in our current Oracle Apps DB (let us say 'zz'). As far as I know there is no specific responsibility associated to this schema. In the current non-OAF prod world, we develop custom forms/reports based of the tables in that schema 'zz'. We tend to think of this schema as a custom module. Eventhough there is no specific responsibility associated to this schema, forms/reports developed of this, would be registered to relavent module. ie., AP, GL, FL, PN etc.
    If I want to use the tables from that schema and build OAF projects/pages, would my directory structure be still the same as I mentioned before but with zz as the module? i.e, $JAVA_TOP/xx/oracle/apps/zz/?
    Thanks,

  • BUG: import from elements leads to broken directory structure

    I want to migrate from Elements 4 to Lightroom.
    When I start the "Import from elements" function in Lightroom the original folder structure is not presented correctly.
    I'm sorry, but my directory structure in Elements is not homogeneous. Most directories are like \YEAR\SUBDIR\SUBSUBDIR\imagefile_n but some directories are nested deeper.
    This confuses the "Import from elements" function in Lightroom. Most lowlevel directories are moved to toplevel, but some (!!!) directories are presented with the correct parent directories (full path).
    I choose "Copy Photos To A New Location And Import" and "By Original Folders". Afterwards the original folder structure is NOT preserved correctly (as described above).
    This malfunction can be reproduced at the Windows version.
    When I use "Import from Filesystem" instead of "Import from Elements" the directory structure is preserved correctly.

    Okay, found my own answer, finally. Ran across a posting including this line:
    You can test that the catalog copy is ok by double clicking (or the Mac equivalent) on the file : catalog.pse10db. That should open the organizer with the catalog copy.
    which gave me the idea to find that catalog.pse10db file. Found it, double clicked on it, and the organizer came up with all of our pictures, albums, etc. and has apparently decided that this is what we want *smile*.
    So all's well that ends well.

  • Problem with package and directory structure

    Please... I need help with a directory/package structure that I don't understand
    why it is not working...
    I want to create a custom login SWF which several other SWF movies will use in case they need some kind of login logic (in this case it is a login logic... but the problem doesn't have anything to do with that logic...)
    I have created a FLA movie (LOGIN.FLA) and two helper classes (MAINLOGIN.AS and MAINLOGINEVENT.AS)... they are all under the same directory, for example:
    c:\
         abc\
              def\
                   ghi\
                        login
    In LOGIN.FLA, I have included the source path, c:\abc (for example).
    MAINLOGIN.AS and MAINLOGINEVENT.AS, have both a package like:
         package def.ghi.login
    MainLogin class uses MainLoginEvent (it dispatches events of that type)... but I don't have to import anything as all 3files are in the same directory...
    LOGIN.FLA has its class defined as def.ghi.login.MainLogin
    And that's all... now comes the problem:
    1. If I leave everything as described and try to publis LOGIN.FLA, it throws error 5001 ("The name of the package def.ghi.login.MainLoginEvent doesn't reflect....) for class MainLoginEvent... don't understand why... it is placed exactly as MainLogin and has the same package definition!
    2. I have tried several other options, but when I get the SWF to get published, then, the problem comes when trying to use this SWF from another movie:
    The way to publish LOGIN.FLA with no errors is: MAINLOGIN.AS and MAINLOGINEVENT.AS with empty package definition ("package" alone...) and LOGIN.FLA with class MainLogin (not def.ghi.login.MainLogin)... LOGIN.FLA doesn't have to include source path to c;\abc in this case. This way, I can publish LOGIN and get LOGIN.SWF.
    The problem now is how to use this information from another Movieclip... I want to be able to use and receive events of type MainLoginEvent but can't (it gives error 5001 again, on MainLoginEvent, saying that the name of the package '' doesnt' reflect....)... If I include the path to c:\abc\def\ghi\login on the FLA, then it gives errors in MainLogin when trying to use a class of its library...
    Basically, the problem here is that, the movie which wants to use the LOGIN.SWF, is in c:\abc\def, and it is including the source path c:\abc, so if I import def.ghi.login.*
    it is when it throws error 5001 (I understand why, but I dont know how to fix it...), but if I dont import def.ghi.login.* then I can't use MainLogin nor MainLoginEvent...
    What is the good way of doing this kind of structure... mainly it is creating a SWF, which can be used from other SWF's and which can dispatch events, which the container SWF will capture...
    If anyone can please give me a hint... THANK YOU!

    Hi kglad , I don't understand the first point... "don't use absolute paths"... I'm not using them (or I don't understand what you mean).
    For the second one... the structure is like:
    c:\
         abc\
              def\
                   LOGINCONTAINER.FLA
                   ghi\
                        login\
                             LOGIN.FLA
                             MAINLOGIN.AS
                             MAINLOGINEVENT.AS
    In LOGIN.FLA, I include the source path c:\abc, so MAINLOGIN.AS and MAINLOGINEVENT.AS have a package of "def.ghi.login", and the class for LOGIN.FLA is "def.ghi.login.MainLogin"... when trying to publish LOGIN.FLA, Flash throws error 5001 for MAINLOGINEVENT...¿?
    What I want to get is a SWF (LOGIN.SWF), which can be loaded from any other SWF (in this example, LOGINCONTAINER.SWF). LOGINCONTAINER.FLA, has a class path "c:\abc" (the same as the other LOGIN.FLA, because of the directory structure), and it has to be able to receive events of type MAINLOGINEVENT... that is why it has to do an import of "import def.ghi.login.*" (for example)
    Any idea of why it is not working (or how to organize it correctly)?
    Thank you

  • Is there a tool to clean a directory structure of unused LabVIEW code?

    I could write this from scratch as follows:
    Load all of my LabVIEW code including dynamically-called VIs into memory, then list all these VIs.
    List all VIs in the directory structure I want to clean.
    For each VI in the directory structure that's not in memory, delete it. If this leaves that VI's parent directory empty, delete that parent directory.
    There is probably already a tool or VI that does this, but I can't find it. Does such a thing exist?

    bmihura,
    I to have had the need/desire to do this.  At my previous employer I wrote a tool that assisted with that function.  Unfortunately I no longer have access to that tool.  If you have a very big program you may have memory and speed related issues when you load "all the VI's into memory".  
    Good Luck
    WW
    Wire Warrior
    Behold the power of LabVIEW as my army of Roomba minions streaks across the floor!

  • Is there any way to specify a URL in the servlet-mapping that doesn't need to be in the directory structure?

              I migrated from WebLogic 5.1 to 7.0.2 Something I used to have set-up in 5.1 no
              longer
              works.
              I am using the weblogic.servlet.FileServlet and have the URL "/cxedocs/" mapped
              to this
              servlet. So whenever the URL http://localhost:7001/cxedocs/en_US/index.html
              is used it would use the docHome associated with the /cxedocs/ URL and then append
              the "en_US/index.html" on to it. So let's say d:\temp\en_US\index.html
              But now for WL 7.0.2 it appears that the URL also needs to be in the directory
              structure.
              So it now takes the docHome "d:\temp" adds the URL "/cxedocs/" and then appends
              the
              rest - so d:\temp\cxedocs\en_US\index.html.
              I can't require that the "cxedocs" directory be there. Is there anyway to map
              a certain URL
              without requiring it in the directory structure. I looked at virtual directory
              mapping too but
              it still seemed to require this.
              Any help would be appreciated!
              Thanks!
              -Lori
              

              I opened up a case with support on this. After some research they came back with
              that
              NO there is no way to do this. In 6.0 it was changed to follow the spec which
              restricts this.
              The URL must be part of the directory path.
              -Lori
              "Lori Ronning" <[email protected]> wrote:
              >
              >I migrated from WebLogic 5.1 to 7.0.2 Something I used to have set-up
              >in 5.1 no
              >longer
              >works.
              >
              >I am using the weblogic.servlet.FileServlet and have the URL "/cxedocs/"
              >mapped
              >to this
              >servlet. So whenever the URL http://localhost:7001/cxedocs/en_US/index.html
              >is used it would use the docHome associated with the /cxedocs/ URL and
              >then append
              >the "en_US/index.html" on to it. So let's say d:\temp\en_US\index.html
              >
              >But now for WL 7.0.2 it appears that the URL also needs to be in the
              >directory
              >structure.
              >So it now takes the docHome "d:\temp" adds the URL "/cxedocs/" and then
              >appends
              >the
              >rest - so d:\temp\cxedocs\en_US\index.html.
              >
              >I can't require that the "cxedocs" directory be there. Is there anyway
              >to map
              >a certain URL
              >without requiring it in the directory structure. I looked at virtual
              >directory
              >mapping too but
              >it still seemed to require this.
              >Any help would be appreciated!
              >Thanks!
              >-Lori
              

  • I have copied many photo's from another laptop to my Mac.  The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder

    I have copied many photo's from another laptop to my Mac.  The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder but my new photo's are all in iPhoto.  I want to use directories for storing and iPhoto for viewing.  Is this possible or do I need to have all my photo's in iPhoto??
    Mitch

    iPhoto is not a Photo Viewer. It's a Photo Manager and designed for looking after the files while you organise the Photos. It really works much better if you let it manage those files. If you use iPhoto you never go near those files because iPhoto is your start point for anything you want to do with your Photos - the point of the pplication.
    You can run iPhoto in Referenced mode, where it does not copy the files to the Library, but I caution you that you are making life a lot more difficult for yourself by doing that.
    How to, and some comments on why you shouldn't, are in this thread
    https://discussions.apple.com/thread/3062728?tstart=0
    Regards
    TD

  • Correct Directory Structure for Serving a Web Application from Arch?

    At the moment I have an Apache web server hosting PHP based web pages out of /srv/http. This works for what I am doing at the moment, but i was wondering if there was a more professional\correct way to host a web application on Arch.
    When would someone host a page in /srv/http vs /var/www ? ( is /www even widely used on archlinux) ?
    Or is their a better way all together ( I read something about symbolic linking the 2 directories)?
    Can anyone provide a sample of how they decided to set up their basic web directories ?
    Any help is very much appreciated !

    It mainly depends on the webserver you're using.  There's nothing about the difference between /srv/http versus /var/www.  As far as the web user is concerned they don't even know what directory structure you're using.

  • Directory Structure Problem

    Hi i am niew to EJB
    my directory structure is like this
    App
    -----JSP,s
    -----WEB-INF
    --------classes
    -------package name
    -----------servlet class file
    -----PAckage Name
    -----------Sesion Bean Class File
    my servlet is calling the session bean but when i open this app in weblogic builder it only shows jsp/servlet related setting
    what is the correct directory structure
    jsp is calling a servlet which in turn calles a session bean
    kindly tell me
    Puneet

    I don't know why but weblogic builder sometimes behaves weird. Anyway, my suggestion is to try out to edit your application.xml manually.
    good luck,
    Fehmi

  • When i try and open the auto cad Lt that i just downloaded i get this error The directory may be locked by another process or have been set Read Only. Directory: '/Users/hockaday' Please correct this problem and press OK to exit the application.

    i get this error why i try and open the auto cad that i just downloaded
    The directory may be locked by another process or have been set Read Only.
    Directory: '/Users/hockaday'
    Please correct this problem and press OK to exit the application.

    I did install it in the admin account.  Actually the computer has four accounts, one for my husband, where I installed it.  One for me which also is set to admin, one is called TEST and has nothing in it and one is guest user.
    I don't know how AutoCad is interfacing with the account.  That is why I am not sure what to do about it.  I read other threads in various places and some seemed to point to something having to do with having multiple users.  The solutions were not clear.  I was hoping someone else had this problem and could tell me what to do.  I tried apple support but no help.  I have not tried AutoCad yet as I assumed they wont help since this is a free educational version of their product.

  • Need to browse solaris directory structure through windows (JFileChooser).

    Is there any way or any external API exist through which we can access the solaris/unix directory structure from windows through JFileChooser.

    johndjr wrote:
    I assumed it did and then and it wasn't until after you asked that I questioned my self as to whether I knew that or I just thought I knew it. After a brief check it seems that it does
    [some anecdotal evidence|http://wikis.sun.com/display/BigAdmin/Enabling+Browsing+with+Samba+in+Solaris+10+Update+4]
    I lucked out this time.Nifty - thanks for the link!

  • Changing directory Structure Problems

    I've created a new Flex Project with a new directory
    structure that I'm unable to import! No error message, anything...I
    would like to be more specific, but I have no clue about what's
    happening...

    There may be additional details you could provide to help us
    understand the situation.
    So you create the project in Flex, move folders around,
    export the project, delete the project from FB (but not from the
    file system), and then try to import and it fails? What happens, at
    what point during the import to show that it fails, and how are you
    importing it?

  • Reproduce DOS 'tree' command to a real directory structure

    Hi guys,
    I have the output of a DOS 'tree' command (small example below). And I'm trying to reproduce the output of this command (directories and files) as another directory structure, I've tried several different things with no real luck. My biggest problem is that I'm unable to get the logic down to correctly nest directories. I was just wondering if anyone would be able to give me any code examples to help me out, it's a long shot as what I'm doing is pretty abstract, but any advice or code would be a great help.
    Thanks, aqzman
    +---Eagle Files
    |   |   DESCRIPTION
    |   |
    |   +---AnalogFE1
    |   |   |   ANALOGFE1C.brd
    |   |   |   ANALOGFE1C.sch
    |   |   |   ANALOGFE1D.sch
    |   |   |   ANALOGFE1E.brd
    |   |   |   ANALOGFE1E.s#1
    |   |   |   ANALOGFE1E.sch
    |   |   |   DESCRIPTION
    |   |   |   eagle.epf
    |   |   |
    |   |   +---V2
    |   |           ANALOGFE1B.b#1
    |   |           ANALOGFE1B.b#2
    |   |           ANALOGFE1B.b#3

    You need to read the group of directories and files in a recursive manner. If what you read is a directory, create that as a new directory where you are creating the new entries. If you read a file, then copy that file to the new directory you created.
    To get more information on recursive programming, use Google to search for explanations and examples.
    This tutorial has explanations and examples of reading directory entries and files, and creating directories and copying files.
    [http://java.sun.com/docs/books/tutorial/essential/io/index.html]
    Also read the File class API, as you will use the methods it provides.

  • Import statement and directory structure

    First of all, sorry for such a long post, I believe part of it is because I am unsure of the concept of importing in Java. Secondly, Thanks to anyone who can ultimately enlighten me to the concept of import. I did ask this question before in the "erorr and error handling" forum, and the people who have helped me there did a great job. But, I believe I require a little more clarification and thus have decided to post here.
    Anyhow, my question..
    Could someone explain to me the concept of the import statement, or direct me to a webpage with sort of explanation for newbies? For some reason, I am having a hard time grasping the concept.
    As I understand it, the import statement in Java, is very similar to the namespace keyword in C. That is to say, import doesn't actually "import" any source code, the way that the #include statement does in C.
    So I suppose what my question is, say I have a java class file like below:
    //filename: sentence.java
    //located: c:\school\csc365
    package csc365;
    class sentence
    //some variables here..
    //some constructor here..
    //some methods here..
    And some sample program like the one below which implements the above..
    //filename: test.java
    //located: c:\school\csc365
    import csc365.*;
    import java.io.*;
    class test.java
    //creates some sentence object
    //uses the object's methods
    //some other things.
    As I understand it, the test.java file should not compile because the csc365 package is not in the correct directory. (assuming of course, the classpath is like c:\school\csc365;c:\school )
    But, ... where then should the sentence.java be located? In a subdirectory of c:\school called csc365 (i.e c:\school\csc365\) ?
    And thus that would mean the test.java file could be located anywhere on the hard drive?
    I suppose, I just need a little clarification on the correlation between a package's "name" (i.e package csc365; ) and its corresponding directory's name, and also how the javac compiler searches the classpath for java classes.
    ..So, theoretically if I were to set the classpath to look in every conceivable directory(provided the directory names were all unique) of the harddrive, then I could compile a test.java anywhere?
    As a note: I have been able to get the test.java file to compile, by leaving out the import statement in the test.java file, and also leaving out the package statement for the sentence class, but I assume this is because the files are defaulted to the same package?

    Hi Mary,
    No, import isn't analogous to C++ namespace - Java package is closer to the namespace mark.
    import is just a convenience for the programmer. You can go your whole Java career without ever writing an import statement if you wish. All that means is that you'll have to type out the fully-resolved class name every time you want to use a class that's in a package other than java.lang. Example:
    // NOTE: No import statements
    public class Family
       // NOTE: fully-resolved class names
       private java.util.List children = new java.util.ArrayList();
    }If you use the import statement, you can save yourself from typing:
    import java.util.ArrayList;
    import java.util.List;
    public class Family
       // NOTE: fully-resolved class names
       private List children = new ArrayList();
    }import isn't the same as class loader. It does not bring in any source code at all.
    import comes into play when you're compiling or running your code. Java will check to make sure that any "shorthand" class names you give it live in one of the packages you've imported. If it can't find a matching fully-resolved class name, it'll give you a message like "Symbol not found" or something like that.
    I arrange Java source in a directory structure that matches the package structure in the .class files.
    If I've got a Java source file like this:
    package foo.bar;
    public class Baz
       public static void main(String [] args)
            Baz baz = new Baz();
            System.out.println(baz);
       public String toString()
           return "I am a Baz";
    }I'll store it in a directory structure like this:
    root
    +---classes
    +---src
          +---foo
               +---bar
                    +---Baz.javaWhen I compile, I go to root and compile by typing this:
    javac -d classes foo/bar/*.javaI can run the code from root by typing:
    java -classpath classes foo.bar.BazI hope this wasn't patronizing or beneath you. I don't mean to be insulting. - MOD

Maybe you are looking for

  • IPhone will no longer sync with Outlook

    Just updated to 8.2 and can no longer get Outlook contacts and calendar to sync. When I first connect iPhone I get a message that my computer is not authorized to sync with my iPhone then I click ALLOW and I get another message that it is unable to s

  • FileScenario

    Dear Expertise, I have the following scenario. <u>Requirement</u>:- A set of files from source system are to be transferred to target system in sequential manner. In source System we have set of files. Let us assume the filenames are as follows: C:\P

  • Paragraph styles reassured .js to .jsx

    Hi folks, could use a littele help: Who knows how to translate the following old script to work with InDesign CS 6 and CC?: 1 myStyles = app.documents[0].paragraphStyles; 2 app.findPreferences = null; 3 app.changePreferences = null; 4 for (var n = 1;

  • Need to reinstall Photoshop Elements - will I lose my catalog?

    I have a Mac. I posted here before stating my program is unstable, and cant do anything as it locks up as soon as I do anything. My only choice now is to try and remove and reinstall, as not other options were afforded me. If I remove the program via

  • I need to fix my disabled ipod but i am having problems

    i need help