Sorting based on independently provided list

Is there a way that, when provided with a text file (or xml, etc.) containing filename information, that a script could find specific images within a folder and tag, rate or color code those files if they share the same filenamebase? Can Bridge or Photoshop already do this?
For example, in Folder A are images File1.dng, File2.tif, File3.nef and File4.psd. In file Text.txt (or .xml, etc.) there is a two item list that reads File1.jpg,  File3.png  I'd like to know if a script can be written to look only at the filenamebase and compare the Text file list with the contents of Folder A, then tag, rate or color code the files with an identical filenamebase.
So, in the above example, the script would see that the filenamebases in the list are File1 and File3. The script would then go on to tag, rate and/or color code File1.dng and File3.nef within Folder A?
Best would be if this script could run independent of Photoshop, Bridge or any other imaging software. Not a deal-breaker, though, if it can't.
Urgent need. Thanks for any help.

Hi, I can provide access to this page. Please let me know if you want to have a look at it. Send me your email details. I will forward the login details.

Similar Messages

  • TS4123 So what if the only Winsock Provider listed is the Bonjour Namespace Provider?

    AppleMobileDeviceService.exe is constantly hogging one CPU on my machine. I've tried the Winsock command line reset (netsh winsock reset) and that seemed to work for awhile. Then the problem reappears.
    I've tried stopping/starting or restarting the processes via the MS Services interface, and again, this resolves the issue temporarily. I've also, mostly out of frustration, stopped the process manually. Always comes back.
    I've taken a look at Apple's suggestion (TS4123) which implies that their is some sort of conflict with another program. Back to my initial question:
    So what if the only Winsock Provider listed is the Bonjour Namespace Provider?
    Overall, at this point, I have to agree with the vast majority of users who are capable of both recognizing that this is a problem and troubleshooting it to this point: This is an Apple problem and it needs to be fixed by Apple, not passed off as a conflict from some other program that is "doing something wrong" in the eyes of Apple.
    My next step is to continue troubleshooting on my own to come up with a workaround solution that doesn't require me resetting winsock or killing multiple processes every day in order to use a processor that shouldn't be taken hostage to begin with.
    Has anyone out there explored the onset of this problem (I've seen iTunes 10.5) in relation to updating devices via WiFi network (also iTunes 10.5 feature add?).
    I'm going to start by there and disable updating of all devices over WiFi to see if that  prevents the CPU hogging. Hopefully that's not it, because that sure is a great feature.
    As a Mac user since 1985 and a M$ programmer for more than a decade, this is an extremely disappointing problem and one that should be an easy fix considering the resources AAPL manages to accrue.

    Nevermind.
    Further review indicates that two up to date (iOS 6.1.4, Build 10B350) as of 7pm CST 7/2/2013 still causing AppleMobileDeviceService.exe to peg one processor at 100%.
    Going to turn off "Sync with this iPhone over WIFI" for both phones and see if that does it.
    Shameful really.
    Edit: iTunes up to date with 11.0.4.4
    Message was edited by: shaggy19

  • Pls provide list of SAP implemented Companies in South India

    Hi,
    Could some one please provide list of SAP implemented Companies in South India

    Try this page, You can filter companies based on location.
    http://sapendusers.com/sap-customers.php
    Thanks

  • Sorting based on a specific value in Columns

    Hi All,
    Crystal 2008 version I have. And we are connecting to BW queries as source.
    In a crosstab, I want to sort my row values based on a column value.
    For example, in rows I have an element with three values . In column I have only one element(month), with couple of month values. My requirement is to sort rows based on a specific month (Mar'09 for example).
    .....................Jan'09......Feb'09.....Mar'09
    ABC...............10.............323...........33....
    XYZ...............32..............33............11....
    FGH...............5................34.............55...
    But when I try to sort based on the Month, I can not select a specific value(mar'09). And it sorts based on the total value (sum of all months).
    How can I achieve this problem?
    Thanks
    Ozan

    For {Sort Value}, if you wanted to sort on the Jan column, then substitute the field name that your example shows as 10 in row ABC.  For {row value}, substitute the field name that is used in the first column (ABC in the example).
    In other words, take the value that you want to sort on, and put it in front of the value currently displaying as the row header.  Then, sort on the results.
    The purpose of the "000000000.00" is to make the length of the number, when converted to string, a consistent size.  This is needed (a) so you know how many characters to strip off when displaying the row value, and (b) so the records don't sort as 1, 12, 2, 234, 235423, 25, 3, ...
    HTH,
    Carl

  • F110- Check Sort Based on document number

    Hi All,
    We are using the program RFFOUS_C to print check when we are doing the payment run F110.
    Presently, checks are sorted as per vendor name (Name 1) while printing. We need to print check sorted based on document (Invoice) number, field BELNR. SO, that checks are printed in the same order as we have entered invoices.
    But the field BELNR field for sorting is not available in the application REGUH (Correspondence), which is a natural way to check print sorting. (In customizing FBZP, "Payment method in Company Code" form data, Sorting of corrpondence)
    Is there a way, we can sort check based on the invoice number (BELNR). .
    Thanks
    Ron
    Edited by: Ron on Jan 7, 2010 1:34 PM

    Hey Ron,
    In Free Selection tab on F110 tcode, Pick Field name as BKPF-BELNR (Document number). Now create the proposal and do the payment run.
    Thanks
    Raghuram

  • How to sort based on my priority in Activity search view.

    Hi,
    In Activity Search category ddlb should show based on my priority order but its showing default based on ascending order based on alphabetical order. How can I assign the values based on my priority how can I archive this? I want to sort based on my values.
    Component : BT126S_APPT
    View : BT126S_APPT/ApptSQ
    CN : BTQACT
    Attribute : CATEGORY
    can redefine get_v_category in search view please guide me.
    Regards,
    Jemmi.

    method GET_DQUERY_DEFINITIONS.
    *CALL METHOD SUPER->GET_DQUERY_DEFINITIONS
    RECEIVING
       RT_RESULT =
    Method returns value help definitions of advanced search
    The method is called from the advanced search tag as a base of its operation
    Take value help definitions from cache if possible
    NO adjustments are done! - Take the operators as set in vrmc_dq
      FIELD-SYMBOLS: <rt_result> TYPE crms_thtmlb_search_field_info.
      DATA: lv_getter TYPE string,
            lv_cnode  TYPE REF TO cl_bsp_wd_context_node_asp,
            lv_operator TYPE crm_thtmlb_search_operator.
           category  TYPE REF TO cl_bsp_wd_context_node_asp.
      lv_cnode = me->get_dquery_cnode( ).
      IF lv_cnode IS BOUND.
        Delegate operation to advanced search context node
        me->dquery_valuehelps = lv_cnode->get_dquery_valuehelps( ).
        rt_result = me->dquery_valuehelps.
      ENDIF.
      LOOP AT rt_result ASSIGNING <rt_result>.
            IF <RT_RESULT>-FIELD = <category>
            DELETE <RT_RESULT>-DDLB_OPTIONS WHERE KEY '001' OR
            KEY '003' OR
            KEY '005' OR
            KEY '006' OR
            KEY '201' OR
            KEY '401'.
            ENDIF.
        LOOP AT <rt_result>-operators  INTO lv_operator.
          CASE lv_operator.
            WHEN 'NM'. "'EM' OR  'NM' OR 'SW'.
              DELETE <rt_result>-operators INDEX sy-tabix.
            WHEN 'EQ'.
              IF sy-tabix > 1.
                DELETE <rt_result>-operators INDEX sy-tabix.
                INSERT 'EQ' INTO <rt_result>-operators INDEX 1.
              ENDIF.
          ENDCASE.
        ENDLOOP.
        CONCATENATE 'GET_V_' <rt_result>-field INTO lv_getter.
        TRANSLATE lv_getter TO UPPER CASE.                    "#EC SYNTCHAR
        TRY.
            CALL METHOD me->(lv_getter)
              CHANGING
                cs_result = <rt_result>.
          CATCH cx_sy_dyn_call_illegal_method.
        no V-Getter found
        ENDTRY.
      ENDLOOP.
    ENDMETHOD.
    it's showing error Field "<CATEGORY>" is unknown. It is not contained in one of the specified tables nor is it defined by a "DATA" statement. "DATA" statement.

  • Sorting based on attributes

    In a content area folder is there a way to
    sort items based on regular/custom attributes?
    I know that we can sort based on title and size
    Thanks

    Not currently. We're considering this for a future release.
    Regards,
    Jerry
    null

  • Oracle provider for oledb is not showing in provider list

    Hello every one 
    I am trying to connect sql server to oracle database using linked server .But the oracle provider is not listed in the provider list.
    Although i have installed the oracle client 64 bit as my windows is 64 bit and sql server also .I have spend a lot of time on google 
    but didn't find any suitable soloution hep me plzzzz....

    this question belongs in a SQL forum.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Sorting based on two columns in report

    Hi,
    we have one issue on sorting based on two columns in report.
    In the report we are doing sorting on two columns(week_id and stage_name). I have attached the screen shot for the same. The sorting is first done on the week_id and then on the stage_name. The issue comes when we have no data for the stage 1 - Prospect in W1. The stage goes to the second position.
    Please suggest if there is any work around to show the 1 - Prospect stage in W1.
    Regards,
    Ambika Nanda.

    what is w1? where is screenshot? and is stage seoncd sort? if so what is the issue?

  • How to pass a value to a filter prompt based on a value list?

    I have a query that has a filter prompt that is based on a value list. I want to call this query from another query as a drill down.
    So I build the URL to call the query and pass the value for the filter prompts as URL parameters. For the filter prompts that are simple text fields this works without problems, but how do I pass a value to the filter prompt that is based on the value list?
    I tried passing
    <parameterName>=<valueListId>:616:null
    and that gives me "None" for the value list prompt as expected.
    I then tried to pass the DisplayName (as I would do when setting a default value for the prompt).
    Like this:
    <parameterName>=<displayName>
    but that does not work.
    I also tried some variations/combinations like
    <parameterName>=<valueListId>:616:<displayName>
    but that does not work either.
    So does anybody know how to pass a parameter to the value list prompt?

    Hi Martin,
    I saw the following post which may help answer your question.
    How to default a Value List or Object Picker to a particular value
    Regards,
    Reshma

  • Where are SmartView BI+ Content Independent Provider Log Files

    We are on Oracle/Hyperion v11.1.1.3 (BI/Foundation/Planning Services on Solaris Unix; Weblogic; Essbase on Windows).
    Our users have created some MS Powepoint presentations that contain pages that run a Financial Report (FR) which queries data from a planning application using a "Hyperion Reporting and Analysis" Independent provider connection (example: "http://server_name:19000/workspace/browse/listxml").
    I am unable to find the location of the log files that shows where logon/activity is tracked. We have looked and only find tracing information from Essbase log files when the query runs and authentication happens at the Essbase level but need to find where the other log information (including APS service activity) is logged to.
    Thanks.

    Hello Ramkumar,
    Go through the link https://help.sap.com/saphelp_nw73/helpdata/en/21/e77dc01e694f4f89ad6a833420c7d5/content.htm?frameset=/en/6a/f247bf0ce745…
    for more information..
    Regards
    Subbarao M

  • URGENT - Does Select Query Sort based on RowId ?

    Does Select Query Sort based on RowId ?
    Eg: Select * from Employee;
    RowId primkey name
    aaaa 1 kiran
    aaab 2 kumar
    aaac 3 someone
    Now when i delete the primkey: 2 row.
    I will have:
    RowId primkey name
    aaaa 1 kiran
    aaac 3 someone
    Now when i insert a new record:
    RowId primkey name
    aaaa 1 kiran
    aaac 3 someone
    [Comment: Here the rowid can either be a new one like 'aaad' or 'aaab' is also reused.]
    aaad 4 somename
    My requirement is that the 'aaab' should not be reused.
    Can any one pls suggest some way.

    Dear Friend,
    Plese gothrougth once following steps... (One by One)
    Hope you can understand how Rowid Creating and Updting in you table.
    SQL> select rowid,enumber from t;
    ROWID ENUMBER
    AAAJ4oAABAAAWlyAAA 1
    AAAJ4oAABAAAWlyAAB 2
    AAAJ4oAABAAAWlyAAC 3
    AAAJ4oAABAAAWlyAAD 4
    SQL> select rowid,enumber from t where enumber = 2;
    1 row deleted.
    SQL> insert into t values(9):
    1 row created.
    SQL> select rowid,enumber from t;
    ROWID ENUMBER
    AAAJ4oAABAAAWlyAAA 1
    AAAJ4oAABAAAWlyAAC 3
    AAAJ4oAABAAAWlyAAD 4
    AAAJ4oAABAAAWlyAAE 9
    SQL> delete from t where enumber = 3;
    1 row deleted.
    SQL> insert into t values(3);
    1 row created.
    SQL> select rowid,enumber from t;
    ROWID ENUMBER
    AAAJ4oAABAAAWlyAAA 1
    AAAJ4oAABAAAWlyAAB 3
    AAAJ4oAABAAAWlyAAD 4
    AAAJ4oAABAAAWlyAAE 9
    Regards,
    G V Sreenivasulu

  • Is there an accurate query to  provide list of all objects grown in the past between 2 intervals ?

    Please Advice
    I need accurate query to  provide list of all objects grown in the past between 2 intervals as one provided in Doc ID 1395195.1 is not giving accurate results and DBMS_SPACE.OBJECT_GROWTH_TREND is not giving objects name
    Kind Regards

    user13778506 wrote:
    Please Advice
    I need accurate query to  provide list of all objects grown in the past between 2 intervals as one provided in Doc ID 1395195.1 is not giving accurate results and DBMS_SPACE.OBJECT_GROWTH_TREND is not giving objects name
    Kind Regards
    only possible if  you collect object sizes on a regular basis & store the details after each collection.
    what unit  of measure should be used to quantify the "growth"; rows, blocks, segment, extent?
    Some might consider this level of  detail to be symptomatic of Compulsive Tuning Disorder.

  • Update primary key with a tabular form based on a select list for each row

    Hello!
    I've two tables: Table1 with only one column (primary key) is a foreign key for table2.column1 (primary key). There is also a second primary key column in table2.
    Now I want to change the primary key values in table2.column1 with a tabular form (MRU) based on a select list (LOV based on table1.column1) for each row.
    The user should be able to choose for every row a new value from the select list to change the old primary key value at this position.
    How can I do this with ApEx?
    I've the tabular form and so on, but at the moment I get the following error:
    "Error in mru internal routine: ORA-20001: Fehler in MRU: row= 1, ORA-20001: ORA-20001: Die aktuelle Version der Daten in der Datenbank wurde geändert, seit der Benutzer einen Update-Prozess eingeleitet hat. ..."
    Thank you for your support!
    Kay

    Hello!
    I've two tables: Table1 with only one column (primary key) is a foreign key for table2.column1 (primary key). There is also a second primary key column in table2.
    Now I want to change the primary key values in table2.column1 with a tabular form (MRU) based on a select list (LOV based on table1.column1) for each row.
    The user should be able to choose for every row a new value from the select list to change the old primary key value at this position.
    How can I do this with ApEx?
    I've the tabular form and so on, but at the moment I get the following error:
    "Error in mru internal routine: ORA-20001: Fehler in MRU: row= 1, ORA-20001: ORA-20001: Die aktuelle Version der Daten in der Datenbank wurde geändert, seit der Benutzer einen Update-Prozess eingeleitet hat. ..."
    Thank you for your support!
    Kay

  • Table Sorting based on Column Selection

    Dear All,
    I am using an AbstractTableModel. I would like to implement the sorting based on Column selection. Could anyone help me in this please.
    Thanks in advance,
    Regards
    Irfaan

    check this
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.UIManager;
    import javax.swing.table.AbstractTableModel;
    import javax.swing.table.TableCellRenderer;
    import javax.swing.table.TableColumnModel;
    import java.awt.Component;
    import java.awt.GridLayout;
    import java.awt.Insets;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.util.Hashtable;
    public class TableSorter extends JPanel
        private boolean             DEBUG       = false;
        private Object[]            columnNames = { "First Name", "Last Name", "Sport", "# of Years",
                                                    "Vegetarian"};
        private Object[][]          data        = { { "Mary", "Campione", "Snowboarding", 1, 2 },
                { "Alison", "Huml", "Rowing", 3, 4 }, { "Kathy", "Walrath", "Knitting", 5, 9 },
                { "Sharon", "Zakhour", "Speed reading", 6, 10 }, { "Philip", "Milne", "Pool", 7, 11 },
                { "Isaac", "Rabinovitch", "Nitpicking", 8, 12 }, };
        private SortFilterModel     m_modSortFilterModel;
        private TableColumnModel    m_modColumnModel;
        private TableHeaderRenderer m_btnSorterRenderer;
        protected boolean           m_bAbCOC    = true;
        JTable                      table       = new JTable();
        public TableSorter()
            super(new GridLayout(1, 0));
            m_modSortFilterModel = new SortFilterModel();
            m_modSortFilterModel.addMouseListener(table);
            table.setModel(m_modSortFilterModel);
            m_btnSorterRenderer = new TableHeaderRenderer();
            m_modColumnModel = table.getColumnModel();
            for (int i = 0; i < columnNames.length; i++)
                m_modColumnModel.getColumn(i).setHeaderRenderer(m_btnSorterRenderer);
            JScrollPane scrollPane = new JScrollPane(table);
            add(scrollPane);
        private class SortFilterModel extends AbstractTableModel
            int[]           indexes;
            ATSTableSorter  sorter;
            public String[] tableHeadersArray;
            boolean         isAscent = true;
            public void addMouseListener(final JTable table)
                table.getTableHeader().addMouseListener(new MouseAdapter()
                    public void mouseClicked(MouseEvent event)
                        int tableColumn = table.columnAtPoint(event.getPoint());
                        m_btnSorterRenderer.setPressedColumn(tableColumn);
                        m_btnSorterRenderer.setSelectedColumn(tableColumn);
                        if (TableHeaderRenderer.DOWN == m_btnSorterRenderer.getState(tableColumn))
                            isAscent = true;
                        else
                            isAscent = false;
                        // translate to table model index and sort
                        int modelColumn = table.convertColumnIndexToModel(tableColumn);
                        sortByColumn(modelColumn, isAscent);
            public Object getValueAt(int row, int col)
                int rowIndex = row;
                if (indexes != null)
                    rowIndex = indexes[row];
                return data[rowIndex][col];
            public void setValueAt(Object value, int row, int col)
                int rowIndex = row;
                if (indexes != null)
                    rowIndex = indexes[row];
                super.setValueAt(value, rowIndex, col);
            public void sortByColumn(int column, boolean isAscent)
                if (sorter == null)
                    sorter = new ATSTableSorter(this);
                sorter.sort(column, isAscent);
                fireTableDataChanged();
            public int[] getIndexes()
                int n = getRowCount();
                if (indexes != null)
                    if (indexes.length == n)
                        return indexes;
                indexes = new int[n];
                for (int i = 0; i < n; i++)
                    indexes[i] = i;
                return indexes;
            public int getRowCount()
                return data.length;
            public String getColumnName(int c)
                return columnNames[c].toString();
            public int getColumnCount()
                return columnNames.length;
            public Class getColumnClass(int col)
                switch (col)
                case 0:
                    return String.class;
                case 1:
                    return String.class;
                case 2:
                    return String.class;
                case 3:
                    return Integer.class;
                case 4:
                    return Integer.class;
                          default:
                    return Object.class;
        class ATSTableSorter
            SortFilterModel model;
            public ATSTableSorter(SortFilterModel model)
                this.model = model;
            public void sort(int column, boolean isAscent)
                int n = model.getRowCount();
                int[] indexes = model.getIndexes();
                for (int i = 0; i < n - 1; i++)
                    int k = i;
                    for (int j = i + 1; j < n; j++)
                        if (isAscent)
                            if (compare(column, j, k) < 0)
                                k = j;
                        else
                            if (compare(column, j, k) > 0)
                                k = j;
                    int tmp = indexes;
    indexes[i] = indexes[k];
    indexes[k] = tmp;
    public int compare(int column, int row1, int row2)
    Object o1 = model.getValueAt(row1, column);
    Object o2 = model.getValueAt(row2, column);
    if (o1 == null && o2 == null)
    return 0;
    else if (o1 == null)
    return -1;
    else if (o2 == null)
    return 1;
    else
    Class type = model.getColumnClass(column);
    if (type.getSuperclass() == Number.class)
    return compare((Number) o1, (Number) o2);
    else if (type == String.class)
    return ((String) o1).compareTo((String) o2);
    else
    return ((String) o1).compareTo((String) o2);
    public int compare(Number o1, Number o2)
    double n1 = o1.doubleValue();
    double n2 = o2.doubleValue();
    if (n1 < n2)
    return -1;
    else if (n1 > n2)
    return 1;
    else
    return 0;
    class TableHeaderRenderer extends JButton implements TableCellRenderer
    public static final int NONE = 0;
    public static final int DOWN = 1;
    public static final int UP = 2;
    int pushedColumn;
    Hashtable state;
    public TableHeaderRenderer()
    pushedColumn = -1;
    state = new Hashtable();
    setMargin(new Insets(0, 0, 0, 0));
    setHorizontalTextPosition(LEFT);
    public Component getTableCellRendererComponent(JTable table, Object value,
    boolean isSelected, boolean hasFocus,
    int row, int column)
    setText((value == null) ? "" : value.toString());
    setBorder(UIManager.getBorder("TableHeader.cellBorder"));
    boolean isPressed = (column == pushedColumn);
    getModel().setPressed(isPressed);
    getModel().setArmed(isPressed);
    return this;
    public void setPressedColumn(int col)
    pushedColumn = col;
    public void setSelectedColumn(int col)
    if (col < 0)
    return;
    Integer value = null;
    Object obj = state.get(new Integer(col));
    if (obj == null)
    value = new Integer(DOWN);
    else
    if (((Integer) obj).intValue() == DOWN)
    value = new Integer(UP);
    else
    value = new Integer(DOWN);
    state.clear();
    state.put(new Integer(col), value);
    public int getState(int col)
    int retValue;
    Object obj = state.get(new Integer(col));
    if (obj == null)
    retValue = NONE;
    else
    if (((Integer) obj).intValue() == DOWN)
    retValue = DOWN;
    else
    retValue = UP;
    return retValue;
    private static void createAndShowGUI()
    JFrame frame = new JFrame("TableDemo");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    TableSorter newContentPane = new TableSorter();
    newContentPane.setOpaque(true); // content panes must be opaque
    frame.setContentPane(newContentPane);
    frame.pack();
    frame.setVisible(true);
    public static void main(String[] args)
    javax.swing.SwingUtilities.invokeLater(new Runnable()
    public void run()
    createAndShowGUI();

Maybe you are looking for

  • Ncomp value too large

    Hi, I am trying to use ncomp, currently on a Hello world class. The class itself works fine, but ncomp (as well as statusnc) gives the error below on standard output. It also says 'error: Can't read: exact_class_list.txt' in the ncomp log file. Can a

  • Saving framed picture to pdf?

    I am designing a brochure in Apple Pages 9.  I have a picture frame around an image but when I export the file to pdf, the picture frame does not appear when I use other pdf programs (adobe) to open the file. For instance, if I send it to a print sho

  • Delete a friend in GameCenter from your application

    possible to remove the other in GameCenter from your application

  • Importing additional sap libraries

    Hi there, I'd like to import some additional sap system libraries to my standard Java project (later part of an ear). In WAS 700 I add the required jar files to the build path by using the variable SAP_SYSTEM_ADD_LIBS. In the J2EE 5 preview this vari

  • How to stop a recurring kernel panic?

    Hello everyone.  I'm hoping that someone can help me diagnose a kernel panic.  My system has been crashing for a couple of months now.  It will run just fine, but when I leave it alone for any length of time it always crashes.  When I return to the s