Am I overthinking this simple strategy?

Hi all, I've been doing a lot of reading on these forums and finally had the guts to make my first post! I am having a bit of trouble understanding a strategy I keep seeing when it comes to rebuilding your credit. I promise I'm not a dunce, I just can't seem to grasp this one: - Keeping util. under 30% of limit and paying balance off in full every month Simple enough, right? Well, I ran across an answer to a question on CK that mentioned something about using that strategy above plus paying your balance in full 2 days before the due date and refraining from using the card until the statement posted, but I'm not quite sure how this helps your credit score if the CCC reports a zero balance every month. How does this help raise your score if the CCC just reports a zero balance every single month? Do you let it report a small balance and then pay it off the next month (and take the hit on interest), or how does it all work?  I'm overthinking it, I know, but I just can't get over this. What am I missing?

_lpc wrote:
Hi all, I've been doing a lot of reading on these forums and finally had the guts to make my first post! I am having a bit of trouble understanding a strategy I keep seeing when it comes to rebuilding your credit. I promise I'm not a dunce, I just can't seem to grasp this one: - Keeping util. under 30% of limit and paying balance off in full every month Simple enough, right? Well, I ran across an answer to a question on CK that mentioned something about using that strategy above plus paying your balance in full 2 days before the due date and refraining from using the card until the statement posted, but I'm not quite sure how this helps your credit score if the CCC reports a zero balance every month. How does this help raise your score if the CCC just reports a zero balance every single month? Do you let it report a small balance and then pay it off the next month (and take the hit on interest), or how does it all work?  I'm overthinking it, I know, but I just can't get over this. What am I missing?It's a technique used by us FICO strategists when we're getting "clean" for an application. There's absolutely no reason to do this (other than if you're just trying to check where you're at at some given point in time after prettying up your report) other than the application scenario; however, revolving utilization is calculated on reported balances which is what's actually on your credit report and doesn't factor in whether you're paying in full (which you should be under typical circumstances) or carrying a balance. As a result in order to maximize that part of the scorecard, the general suggestion is a good one: leave a small amount on one card to report, and have the rest of your cards report zero, by paying in advance of the statement date, not using the card, and getting it to report a $0 balance to bureaus.  The reason for this is because part of the calculation involves the number of revolving tradelines with balances, and the fewer, (again, not all, as that is a different penalty for non-credit-use as absurd as that sounds), the better for all files as we understand it from large amounts of anecdotal data. You can pay off the remaining small balance on the one card after the statement cuts, typically a 25 day grace period, to prevent having to pay interest even with this: you just need the statements to cut correctly, before and after do what you need to do.

Similar Messages

  • Is there a way to create a schema for this simple XML?

    Hi! A simple question. Suppose we have a XML that looks like that (simplified)
    <documents>
      <total>2</total>
      <doc_1>
        <name>My document</name>
        <code>1234</code>
      </doc_1>
      <doc_2>
        <name>Another document</name>
        <code>5678</code>
      </doc_2>
    </documents>In this simple example, if the tag <total> had a numer of three, there would be a <doc_3> tag.
    Is it posible to create a XSD to this XML? And is it posible for JAXB to process that XSD?
    Thank you in advance

    There are some tools around to generate XML Schemas from instance documents, but I don't know if they are too smart. For example, XMLSPY created the following Schema from your sample:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <xs:element name="code">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="1234"/>
                        <xs:enumeration value="5678"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="doc_1">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="name"/>
                        <xs:element ref="code"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="doc_2">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="name"/>
                        <xs:element ref="code"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="documents">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="total"/>
                        <xs:element ref="doc_1"/>
                        <xs:element ref="doc_2"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="name">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="Another document"/>
                        <xs:enumeration value="My document"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="total">
              <xs:simpleType>
                   <xs:restriction base="xs:byte">
                        <xs:enumeration value="2"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
    </xs:schema>XMLSPY has done its best but this Schema could certainly be cleaned up and made more efficient. If your instance documents aren't going to be too complex, it's probably best to have a tool like XMLSPY start you off, then you can go in by hand.
    But, once you have the Schema in hand, you're ready to get started with JAXB.

  • What's wrong with this simple code?

    What's wrong with this simple code? Complier points out that
    1. a '{' is expected at line6;
    2. Statement expected at the line which PI is declared;
    3. Type expected at "System.out.println("Demostrating PI");"
    However, I can't figure out them. Please help. Thanks.
    Here is the code:
    import java.util.*;
    public class DebugTwo3
    // This class demonstrates some math methods
    public static void main(String args[])
              public static final double PI = 3.14159;
              double radius = 2.00;
              double area;
              double roundArea;
              System.out.println("Demonstrating PI");
              area = PI * radius * radius;
              System.out.println("area is " + area);
              roundArea = Math.round(area);
              System.out.println("Rounded area is " + roundArea);

    Change your code to this:
    import java.util.*;
    public class DebugTwo3
         public static final double PI = 3.14159;
         public static void main(String args[])
              double radius = 2.00;
              double area;
              double roundArea;
              System.out.println("Demonstrating PI");
              area = PI * radius * radius;
              System.out.println("area is " + area);
              roundArea = Math.round(area);
              System.out.println("Rounded area is " + roundArea);
    Klint

  • What's wrong with this simple method

    i'm having compile troubles with this simple method, and i think it's got to be something in my syntax.
    public String setTime()
    String timeString = new String("The time is " + getHours() + ":" + getMinutes() + ":" + getSeconds() + " " + getIsAM());
    return timeString;
    this simple method calls the get methods for hours, minutes, seconds, and isAM. the compiler tells me i need another ) right before getSeconds(), but i don't believe it. i know this is a simple one, but i could use the advice.
    thanks.

    Hi,
    I was able to compile this method , it gave no error

  • Hi can someone keep this simple for me! my iPhone is due for a renewal. but my old laptop that it is backed up to no longer works! how do i go about saving all my songs pics etc to a new laptop without losing anything? please help!!!

    hi can someone keep this simple for me! my iPhone is due for a renewal. but my old laptop that it is backed up to no longer works! how do i go about saving all my songs pics etc to a new laptop without losing anything? please help!!!

                     Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • Trying to optimize this simple query

    Hi,
    I am trying to optimize this simple query but the two methods I am trying actually make things worse.
    The original query is:
    SELECT customer_number, customer_name
    FROM bsc_pdt_account_mv
    where rownum <= 100
    AND Upper(customer_name) like '%SP%'
    AND customer_id IN
    SELECT cust_id FROM bsc_pdt_assoc_sales_force_mv
    WHERE area_identifier IN (
    SELECT area_identifier FROM bsc_pdt_assoc_sales_force_mv
    WHERE ad_identifier = '90004918' or rm_identifier = '90004918' or tm_identifier = '90004918'
    The result set of this query returns me the first 100 rows in 88 seconds and they are all distinct by default (don't know why they are distinct).
    My first attempt was to try to use table joins instead of the IN conditions:
    SELECT
    distinct -- A: I need to use distinct now
    customer_number, customer_name
    FROM bsc_pdt_account_mv pdt,
    bsc_pdt_assoc_sales_force_mv asf,
    SELECT distinct area_identifier FROM bsc_pdt_assoc_sales_force_mv
    WHERE ad_identifier = '90004918' or rm_identifier = '90004918' or tm_identifier = '90004918'
    ) area
    where
    area.area_identifier = asf.area_identifier
    AND asf.cust_id = pdt.customer_id
    AND Upper(customer_name) like '%SP%'
    AND rownum <= 100 -- B: strange when I comment this out
    order by 1
    I dont understand two things with this query. First issue, I now need to put in the distinct because the result set is not distinct by default. Second issue (very strange), when I put the rownum condition (<100) I get two rows in 1.5 seconds. If I remove the condition, I get 354 rows (whole result set) in 326 seconds.
    My second attempt was to use EXISTS instead of IN:
    SELECT
    customer_number, customer_name
    FROM bsc_pdt_account_mv pdt
    where Upper(customer_name) like '%SP%'
    AND rownum <= 100
    AND EXISTS
    select 1 from
    bsc_pdt_assoc_sales_force_mv asf,
    SELECT distinct area_identifier FROM bsc_pdt_assoc_sales_force_mv
    WHERE ad_identifier = '90004918' or rm_identifier = '90004918' or tm_identifier = '90004918'
    ) area
    where
    area.area_identifier = asf.area_identifier
    AND asf.cust_id = pdt.customer_id
    This query returns a similar distinct result set as teh original one but takes pretty much the same time (87 seconds).

    The query below hangs when run in TOAD or PL/SQL Dev. I noticed there is no rows returned from the inner table for this condition.
    SELECT customer_number, customer_name
    FROM
    bsc_pdt_account_mv pdt_account
    where rownum <= 100
    AND exists (
    SELECT pdt_sales_force.cust_id
    FROM bsc_pdt_assoc_sales_force_mv pdt_sales_force
    WHERE pdt_account.customer_id = pdt_sales_force.cust_id
    AND (pdt_sales_force.rm_identifier = '90007761' or pdt_sales_force.tm_identifier = '90007761') )
    ORDER BY customer_name
    -- No rows returned by this query
    SELECT pdt_sales_force.cust_id
    FROM bsc_pdt_assoc_sales_force_mv pdt_sales_force
    WHERE pdt_sales_force.rm_identifier = '90007761' or pdt_sales_force.tm_identifier = '90007761'

  • Need pl/sql stmnts. for this simple logic

    Hi,
    I need PL/SQL program for this simple logic i am doing mistake somewhere unbale to trace
    out ..
    select * from GSR03_PO_DTL;
    PO_NUM
    L53177000 -- > no changes reqd (only one entry with new format)
    L00041677 --> to be updated to L41677000(only one entry with OLD format)
    L43677000 -- > no change reqd (exists one row with new format and old format like below)
    L00043677 -- > to be deleted this is old format (and new format like above already exists)
    EX:
    L00012345 --- old format
    L12345000 --- new format
    Hope question is clear. I written the following program.
    update is working fine but delete is not working.
    Please help.
    Thanks in Advance
    Devender
    declare
    Cursor c_test is
    (select po_num from GSR03_PO_DTL);
    BEGIN
    FOR r_test in c_Test
    LOOP
    dbms_output.put_line (r_test.po_num);
    IF ('L'||substr(r_test.po_num,5,5)) = ('L'||substr(r_test.po_num,2,5)) then
         dbms_output.put_line ('delete stmnt');
    END IF;     
    EXIT WHEN c_test%NOTFOUND;
    END LOOP;
    FOR r_test in c_Test
    LOOP
    IF r_test.po_num like 'L000%' then
    IF ('L'||substr(r_test.po_num,5,5)) is not NULL then
         update GSR03_PO_DTL set PO_NUM = 'L'||substr(po_num,5,5)||'000'
         where po_num like 'L000%' ;
         dbms_output.put_line ('update stmnt');
    END IF;     
    END IF;
    END LOOP;
    END;
    *********************

    No need for PL/SQL, man.
    SQL> SELECT po_no FROM po1
      2  /
    PO_NO
    L53177000
    L00041677
    L43677000
    L00043677
    SQL> UPDATE po1 y
      2  SET    y.po_no = 'L'||substr(y.po_no,5,5)||'000'
      3  WHERE  y.po_no LIKE 'L000%'
      4  AND    NOT EXISTS ( SELECT null FROM po1 x
      5                      WHERE x.po_no =  'L'||substr(y.po_no,5,5)||'000')
      6  /
    1 row updated.
    SQL> DELETE FROM po1 y
      2  WHERE  y.po_no LIKE 'L000%'
      3  AND    EXISTS ( SELECT null FROM po1 x
      4                  WHERE x.po_no =  'L'||substr(y.po_no,5,5)||'000')
      5  /
    1 row deleted.
    SQL> SELECT po_no FROM po1
      2  /
    PO_NO
    L53177000
    L41677000
    L43677000
    SQL> Cheers, APC

  • Why this simple assingment is not possible in Generics ?

    Hi
    Just curious to know why this simple conversion does not work and requires casting ?
    List<? super Integer> list = new ArrayList<Integer>();
    List<? super Number> listN = list; //Requires Casting
    List<? extends Number> listExNu = new ArrayList<Number>();
    List<? extends Integer> listExIn = listExNu; //Requires CastingAs per my understanding ,
    A List<? super Number> can fit inside a List<? super Integer> ...
    So what really happens here to force casting ? Any ideas ?

    ejp wrote:
    List<? super Integer> list = new ArrayList<Integer>();The only two classes that are superclasses of Integer are Number and Object.Not quite. Please note that the clause *? super Integer* is inclusive, i.e. it also matches List<Integer>.
    Additionally, it matches all interfaces implemented by Integer. Thus, the following types can be assigned to list:
    List<Integer>
    List<Serializable>
    List<Comparable<Integer>>
    List<Comparable<? extends Integer>>
    List<Comparable<? super Integer>>
    List<Comparable<? extends Number>>
    List<Comparable<? extends Serializable>>
    List<Comparable<?>>
    List<Number>
    List<Object>And the following types can be assigned to listN:
    List<Serializable>
    List<Number>
    List<Object>Since the latter is a genuine subset of the former, an implicit conversion such as listN = list is impossible.

  • What is wrong in this simple scritp? ORA-00936

    Hi,
    I created this simple script (for an Oracle 10g Express Application process) where I'm trying to copy one row from table EMPRESAS_ORGANISMOS to the table EMPRESAS_REVISADAS. Both tables have the same fields. ":P15_ID_EMP" is the text field that contains the ID of the row that I want to copy. I get the following errors:
    ORA-06550: line 19, column 9: PL/SQL: ORA-00936: expression missing ORA-06550: line 3, column 1: PL/SQL: SQL Statement ignored
    BEGIN
    INSERT INTO EMPRESAS_REVISADAS
    (ID,
    ID_FUENTE,
    COMPILADOR,
    SECTOR_BURSATIL,
    PAGINA,
    DIRECCION,
    CP,
    AÑO_FUNDACION,
    CAPITAL_NOMINAL,
    CAPITAL_DESEMBOLSADO,
    OBLIGACIONES,
    IMPORTE_CUENTAS_PENDIENTES,
    OBSERVACIONES,
    APALANCAMIENTO,
    NOMBRE,
    NOMBRE_MUNICIPIO)
    VALUES
    SELECT "EMPRESAS_ORGANISMOS"."ID",
    "EMPRESAS_ORGANISMOS"."ID_FUENTE",
    "EMPRESAS_ORGANISMOS"."COMPILADOR",
    "EMPRESAS_ORGANISMOS"."SECTOR_BURSATIL",
    "EMPRESAS_ORGANISMOS"."PAGINA",
    "EMPRESAS_ORGANISMOS"."DIRECCION",
    "EMPRESAS_ORGANISMOS"."CP",
    "EMPRESAS_ORGANISMOS"."AÑO_FUNDACION",
    "EMPRESAS_ORGANISMOS"."CAPITAL_NOMINAL",
    "EMPRESAS_ORGANISMOS"."CAPITAL_DESEMBOLSADO",
    "EMPRESAS_ORGANISMOS"."OBLIGACIONES",
    "EMPRESAS_ORGANISMOS"."IMPORTE_CUENTAS_PENDIENTES",
    "EMPRESAS_ORGANISMOS"."OBSERVACIONES",
    "EMPRESAS_ORGANISMOS"."APALANCAMIENTO",
    "EMPRESAS_ORGANISMOS"."NOMBRE",
    "EMPRESAS_ORGANISMOS"."NOMBRE_MUNICIPIO"
    FROM "EMPRESAS_ORGANISMOS"
    WHERE "EMPRESAS_ORGANISMOS"."ID" = :P15_ID_EMP;
    END;
    Thanks in advance.

    Hello Tormentaseca,
    Have you tried running the INSERT statement without it being enclosed in the BEGIN/END PL/SQL block ?
    It might be a problem in the SQL statement.
    HTH,
    John.

  • Branch IPSEC VPN Site with WCCP setup for vWAAS - Overthinking this

    OK, I have a fairly large WAAS environment so I'm kicking myself for overthinking this.  I have a particular branch that has an 881 router that terminates an IPSEC connection back to my main location.  I have a vWAAS at this branch site, so I'm going WCCP.  I got the license upgrade to enable to the WCCP feature set.  Now Im confused on the WCCP setup.  There is only 1 VLAN at the branch.  I have the WAAS setup to do WCCP GRE.
    Question is:  Would I do the redirect 61,62 on the VLAN1 internface?  I think I would, but Im used to dropping the 62 on the serial interface of my MPLS.  I.E.:
    int vlan1
    ip wccp 62 redirect in
    ip wccp 61 redirect in
    HERE IS THE CURRENT CONFIG
    ip wccp 61 redirect-list branch-waas
    ip wccp 62 redirect-list branch-waas
    interface Vlan1
    description Branch Data VLAN
    ip address 10.22.1.1 255.255.255.0
    ip nat inside
    ip virtual-reassembly in
    ip tcp adjust-mss 1452
    crypto ipsec client ezvpn Corporate-client inside
    ip access-list extended branch-waas
    remark WCCP Redirect ACL
    deny   tcp any any eq telnet
    deny   tcp any any eq 22
      permit ip any any

    wccp 62 is to intercept the WAN traffic, but if you put it on the LAN side, you have to catch the traffic on its way out:
    ip wccp 62 redirect out
    There is no need to deny telnet and ssh, those both have policies in WAAS for passthrough.  Also, I prefer to put my WAAS device on its own VLAN.  However, if it is going to be on VLAN 1, your access list will need:
    ip access-list extended branch-waas
    remark WCCP Redirect ACL
    deny   ip any host (WAAS IP)
    deny   ip host (WAAS IP) any
      permit ip any any
    To make sure you do not loop WCCP traffic.
    Just edited to change from TCP to IP in access list.

  • I've just bought a new mac and I want to transfer the content from my old Macbook to my new. If I have iCloud enabled on both devices, is this simple, or is there a limit to what I can transfer? For example, can I upload word files to iCloud?

    I've just bought a new mac and I want to transfer the content from my old Macbook to my new. If I have iCloud enabled on both devices, is this simple, or is there a limit to what I can transfer? For example, can I upload word files to iCloud?

    iCloud is not the way to do this. You should use Migration Assistant - with this you can transfer your complete User folder from the old Mac including preferences and logins. You will need to connect the two with FireWire or USB depending on the models.
    Ideally you should do this before you set up the new Mac - if you create a user account with the same name than the Migration will have to give the migrated user folder a different name. When you first switch on the new Mac it should ask you if you want to transfer your data, and give you instructions.

  • Cant get this simple query!

    Hi Guys,
    There is this simple requirement of writing a query which will select most of the columns from a table but grouped on 3 columns from same table.
    Table Str:
    co11 col2 col3 col4 col5 col6 col7 col8 col9 col10
    Required :
    Group By: Col9, col10
    Columns to be selected : co11 col2 col3 col4 col5 col6 col7 col8
    I know there is something simple that I am missing.
    any help will be appreciated.
    Thanks!

    Hi,
    This produces the output you requested fro the data you posted:
    SELECT       MIN (col1)
    ,       MIN (col2)
    ,       MIN (col3)
    ,       MIN (col4)
    ,       MIN (col5)
    ,       MIN (col6)
    ,       MIN (col7)
    ,       MIN (col8)
    ,       col9
    ,       col10
    FROM       str
    GROUP BY  col9
    ,       col10
    ;So does this
    WITH     got_rnum     AS
         SELECT  str.*
         ,     ROW_NUMBER () OVER ( PARTITION BY  col9
                             ,             col10
                             ORDER BY        col1
                             ,             col2
                             ,             col3
                             ,             col4
                             ,             col5
                             ,             col6
                             ,             col7
                             ,             col8
                             )     AS rnum
         FROM     str
    SELECT     col1
    ,     col2
    ,     col3
    ,     col4
    ,     col5
    ,     col6
    ,     col7
    ,     col8
    ,     col9
    ,     col10
    FROM     got_rnum
    WHERE     rnum     = 1
    ;With the sample data you posted, the two queries produce the same results.
    With some other data, the two queries will produce different results.

  • Pls i need help for this simple problem. i appreciate if somebody would share thier ideas..

    pls i need help for this simple problem of my palm os zire 72. pls share your ideas with me.... i tried to connect my palm os zire72 in my  desktop computer using my usb cable but i can't see it in my computer.. my palm has no problem and it works well. the only problem is that, my  desktop computer can't find my palm when i tried to connect it using usb cable. is thier any certain driver or installer needed for it so that i can view my files in my palm using the computer. where i can download its driver? is there somebody can help me for this problem? just email me pls at [email protected] i really accept any suggestions for this problem. thanks for your help...

    If you are using Windows Vista go to All Programs/Palm and click on the folder and select Hot Sync Manager and then try to sync with the USB cable. If you are using the Windows XP go to Start/Programs/Palm/Hot Sync Manager and then try to sync. If you don’t have the palm folder at all on your PC you have to install it. Here is the link http://kb.palm.com/wps/portal/kb/common/article/33219_en.html that version 4.2.1 will be working for your device Zire 72.

  • Help me to run this simple RMI example

    When i m running this example in standalone pc it works but while running on to different pc it gives error though I m giving the IP address from client of server.. If anyone can help me out plz help.
    Code:
    ReceiveMessageInterface
    import java.rmi.*;
    public interface ReceiveMessageInterface extends Remote
    void receiveMessage(String x) throws RemoteException;
    Server code:
    import java.rmi.*;
    import java.rmi.registry.*;
    import java.rmi.server.*;
    import java.net.*;
    public class RmiServer extends java.rmi.server.UnicastRemoteObject
    implements ReceiveMessageInterface
    int thisPort;
    String thisAddress;
    Registry registry; // rmi registry for lookup the remote objects.
    // This method is called from the remote client by the RMI.
    // This is the implementation of the �ReceiveMessageInterface�.
    public void receiveMessage(String x) throws RemoteException
    System.out.println(x);
    public RmiServer() throws RemoteException
    try{
    // get the address of this host.
    thisAddress= (InetAddress.getLocalHost()).toString();
    catch(Exception e){
    throw new RemoteException("can't get inet address.");
    thisPort=3232; // this port(registry�s port)
    System.out.println("this address="+thisAddress+",port="+thisPort);
    try{
    // create the registry and bind the name and object.
    registry = LocateRegistry.createRegistry( thisPort );
    registry.rebind("rmiServer", this);
    catch(RemoteException e){
    throw e;
    static public void main(String args[])
    try{
    RmiServer s=new RmiServer();
    catch (Exception e) {
    e.printStackTrace();
    System.exit(1);
    Client code:
    import java.rmi.*;
    import java.rmi.registry.*;
    import java.net.*;
    public class RmiClient
    static public void main(String args[])
    ReceiveMessageInterface rmiServer;
    Registry registry;
    String serverAddress=args[0];
    String serverPort=args[1];
    String text=args[2];
    System.out.println("sending "+text+" to "+serverAddress+":"+serverPort);
    try{
    // get the �registry�
    registry=LocateRegistry.getRegistry(
    serverAddress,
    (new Integer(serverPort)).intValue()
    // look up the remote object
    rmiServer=
    (ReceiveMessageInterface)(registry.lookup("rmiServer"));
    // call the remote method
    rmiServer.receiveMessage(text);
    catch(RemoteException e){
    e.printStackTrace();
    catch(NotBoundException e){
    e.printStackTrace();
    }

    When we compile with rmic skeleton and stub get created then we hav to place stub at each client ???Your remote client applcation need only _Stub.class fiels.
    Is there way by which we can know how many clients are connected to the
    server and there IP address, can anyone give the code... I guess that you should use a RMI login/logout method to register/unregister your client connection information into a databse or a simple static Hashtable(Vector) object.

  • Could someone please sketch out this simple script for me?

    Could someone please sketch out a simple java script for me. I will have a document with one background
    layer and a layer set (group) called "Analyze" that consists of 63 adjustment layers. The layer names in that "Analyze" group(folder) will be
    "01" ...through "63" with 01 on the bottom and 63 at the top. Initially, all of the adjustment layers will be invisible and  the
    group will be closed (not expanded). I need a simple  script that will check for the first invisible layer in that group
    and make it visible without selecting that layer nor expanding the group. The script has to check
    for the first invisible layer every time it runs because other actions may have turned off a layer in the set.
    The point of this is so I can hotkey flipping on the layers one at a time without expanding the set or
    changing focus off the  background. It seems it should be a simple loop, but I just can't wrap  my head
    around all the objects (e.g. Layer as opposed to Layers  and  Artlayer as opposed to Artlayers)
    and the constants constants.
    for (i = 63; i>0; i--){                 /* I have found layer indexes 0 are the topmost layer */
      if( layerset[i] == INVISIBLE){
               layerset[i] = VISIBLE;
                  break;
    Could someone please write me a simple script that would do this?
    Edit I found this and its very close to what I need:
    var doc = app.activeDocument;
    for(var i = 0 ; i < doc.layers.length;i++){
      doc.layers[i].visible = (i % 2 == 0);
    From here : Function to show/hide layer with Photoshop script (JSX) - Stack Overflow
    In my case I would rewrite it to this
    for(var i = 62; i >=0; i--){
         if(  !doc.layers[i].visible){
              doc.layers[i].visible =TRUE;
              break;
    My problem is I just need  to traverse the layers in my layerset "Analyze"
    How do  I reference just those? Is there a doc.layersets["Analyze"].layers[i].visible = TRUE?
    Message was edited by: Shawn Laughlin To add more information

    Well this works:
    var doc = app.activeDocument;
    var analyze = doc.layerSets.getByName("Analyze").layers
    for(var i = 62 ; i >= 0; i --){
        if (!analyze[i].visible){
            analyze[i].visible =1;
            break;
    Hard to believe TRUE is not a constant in java.

Maybe you are looking for