Folder action to change the label of the folder

Hi all
I would like to use Automator/Folder Actions to set the Label of the folder to show that it contains a file that was created or modified as follows:
Red if in the last three days,
Orange if over three days but less than seven; and
Yellow if over seven days but less than fourteen
Oh, and clear the folder label if the contents of the folder are over fourteen days old.
Is it possible to do using Automator and folder actions?
Thanks
Jai
iMac G5; iBook G3; PB165c; PB170; Mac IIcx; Mac SE/30; Mac SE; Mac Plus; Newton 130; 2gen iPod 10G     Mac OS X (10.4.7)   MacUser since 1984... and waiting for a tablet (like the Nokia 770 with MacOSX)

In Automator-No
The trigger for folder actions to run is the act of adding a file/folder to the folder which has the action applied. If you don't add anything, they won't do anything.
You could probably get close to what you want using Smart Folders. It won't be color-coded or perfect though because modifying a file doesn't always reflect on the modification date of the folder. And parent folders are not affected by changes made in sub-folders.

Similar Messages

  • Changing the Label of the LDB - PNP Screen Field(Date field)

    Hi,
    I got a req. to change the label of the field "Data Selection Period".  This field is from PNP LDB.
    Pls let me know, is there any FM or any other process?

    you can customize the PNP selection screen by creating a report class. you will find the button in the report attributes.
    or you can define your own selection view via SE80 an maintaining table T599C.
    but I dont't think you will be able to rename the field lable.

  • Want to change the labels on the buttons on search criteria

    Want to change the labels on the buttons on search criteria as i work on Arabic ADF Project
    i want to change the label of "SEARCH" button , "ADVANCES SEARCH" , "BASIC" , "SAVED SEARCH"
    i don't know how to change this labels as when i drug search criteria over the form i don't know how to change this fields
    thanks i advance

    Hi,
    Arabic language is supported by ADF Faces RC on the fly. When you incorporate localization in your application and set the locale attribute of your page's <f:view> tag to "ar", the labels of the query component will already be shown in Arabic. Please see sample code snippet below:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view locale="ar">
    ....Please see the following blog-post for details: http://soadev.blogspot.com/2010/03/adf-faces-rc-supplement-on-how-to.html
    regards,
    Pino

  • Dynamic action to change item label

    Hi All,
    How can I use dynamic action to change item label?
    thanks.

    Hi,
    fac586 wrote:
    Why and when do you want to dynamically change a label? This would have a detrimental effect on usability and accessibility.
    Consider a visually impaired user of your app using a screen reader. The screen reader identifies a checkbox labelled "Free Cake". They like the sound of that, so navigate to the checkbox to tick it. Your dynamic action fires when it gets focus and changes the label to "Give all my money to Fadi".I think this would confuse even a sighted user! I don't know the OP full requirements or constraints but I can bet the OP does not want to change the item label when the user navigates to it.
    I have to say that I don't like forms that change as the user enters data. I think that enabling and disabling fields is OK, but not hiding or showing or changing labels or field types.
    In any case, if you have to do it, an alternative to changing an item label is to have 2 separate items: one hidden and one shown. Then, using some triggering event, you can hide one and show the other.
    Because there are built-in dynamic actions to hide and show items but not to change item labels, one might thing that one approach is more acceptable than the other. However, if those 2 separate items occupy the same spot in the page, from a user point of view (or screen reader for that matter) I don't see any difference between those two approaches (in my view, both bad practices.)
    And because of its lots of nested tables, lack of headings etc, apex pages are not screen-reader friendly anyway... This is an interesting plugin for firefox that shows how your page would be read by a screen reader:
    http://www.standards-schmandards.com/projects/fangs/
    fac586 wrote:
    You can use an "execute javascript" dynamic action type to do it.Yes, you can. But should you?I don't know. As I mentioned above, I don't like the idea. However, as I also mentioned above, I don't know anything about the OP constraints or requirements.

  • How to Make the label of the active tab-page BOLD?

    Hi All
    I am working on forms 10g(version 10.1.2.0.2 ) with Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on windows 2000 platform.
    My requirement is to make the label of the active tab-page either in italics or with a different color or make it BOLD than the other pages of the canvas.
    Any suggestions ?
    Regards
    Mohan

    there are no properties for those requirements on tab-pages. You can't do it.
    Setting italic for all Tabpage-Labels is possible, when you change it in the canvas-properties. But you can't change only one tabpage.
    One Solution is, what Jeneesh said: Active-Style. But only "Bold" and for the active tab.
    Gerd

  • TFS Customization - Can we just rename the label of the control rather than renaming fields?

    I wanted to reuse some existing fields with different values. I can customize XML to add different values for the existing field since we import the changes to specific project. And I will just rename the Label of the control rather than renaming the field
    which will create some potential problems on importing the previous TFS data. I just wanted to ensure that this is the proper way to do it. I did the changes in test server and it works fine. But I need a consultation from experienced guys to know whether
    they faced any issues in this thatswhy I am here.

    Changing the label is perfectly fine. This will not affect any migration attempts.  The form label for a field is separate from the field name and refname.

  • Need Help to update the labels in the GUI syncronously - Swing application

    Hello everyone,
    I need some help regarding a swing application. I am not able to syncronously update the counters and labels that display on my Swing GUI as the application runs in the background. But when the running of application is completed, then the labels on the GUI are getting updated, But I want update the labels and counters on the GUI syncronously as the code executes... below I am giving the format of the code I have written..............
    public class SwingApp extends JFrame{
            // here i have declared the label and component varibles like...
                      private JTextField startTextField;
           private JComboBox maxComboBox;
           private JTextField logTextField;
           private JTextField searchTextField;
           private JLabel imagesDownloaded1;
           private JLabel imagesDownloaded2;
           private JLabel imagesDidnotDownload1;
           private JLabel imagesDidnotDownload2;
                      private JButton startButton;
    //now in the constructer.............
    public Swing(){
    //I used gridbaglayout and wrote the code for the GUI to appear....
    startButton = new JButton("Start Downloading");
        startButton.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            try{
                 actionSearch();   //actionSearch will contain all the code and the function calls of my application...........
            }catch(Exception e1){
                 System.out.println(e1);
        constraints = new GridBagConstraints();
        constraints.gridwidth = GridBagConstraints.REMAINDER;
        constraints.insets = new Insets(5, 5, 5, 5);
        layout.setConstraints(startButton, constraints);
        searchPanel.add(startButton);
    //update is a function which initiates a thread which updates the GUI. this function will be called to pass the required variables in the application
    public void update(final int count_hits, final int counter_image_download1, final int didnot_download1) throws Exception{
         Thread thread = new Thread(new Runnable() {
             public void run() {
                  System.out.println("entered into thread");
                  System.out.println("the variable that has to be set is " + count_hits);
                  server_hits_count.repaint(count_hits);
                  server_hits_count.setText( " "+ Integer.toString(count_hits));
                  imagesDownloaded2.setText(" " + Integer.toString(counter_image_download1));
                  imagesDidnotDownload2.setText(" " + Integer.toString(didnot_download1));
                  repaint();
         //this.update(count_hits);
         thread.start();
    //Now in main............................
    public static void main(String[] args){
    Swing s = new Swing();
    s.setVisible(true);
    }//end of main
    }//end of class SwingAbove I have given the skeleton code of my application........ Please tell me how to update the GUI syncronously...
    Please its a bit urgent...............
    Thank you very much in advance
    chaitanya

    First off, note that this question should have been posted in the Swing section.
    GUI events run in a separate thread (the AWT / Event Dispatch Thread) than your program.
    You should be invoking AWT/Swing events via SwingUtilities.invokeLater().
    If for whatever reason you want to have the program thread wait for the event to process
    you can use invokeAndWait().
    http://java.sun.com/javase/6/docs/api/javax/swing/SwingUtilities.html

  • I received a $25 iTunes gift card when cashing in my Air Miles points and when removing the label on the back or the card (which had tape over top of it) there is a number missing from the 16 digit number.  What do I do?

    I received a $ 25 iTunes gift card - when I cashed in some air miles points.  Unfortunately the label on the back was covered in tape and when I tried to remove the tape and the label I found that there were only 15 numbers out of the sixteen.  How can I find out what the number/letter is that is missing?  If I provide you with the GCA # will that help?
    Please get back to me,

    Consult this handy guide: iTunes Store: Invalid, inactive, or illegible codes

  • Pie chart doesn't show the label of the last slice

    Post Author: saschaherrle
    CA Forum: Charts and Graphs
    Hi there...
    I have this problem with displaying the label of the last pie slice of my report. It is working perfectly fine in my testing environment, but it just doesn't want to show in the client environmet... I don't know what to try anymore. I've tried all the other label location options, but they also dont help. There are five slices on the pie chart with the following values:
    1.9%
    43.6%
    51.1%
    2.3%
    1.1%
    All the labels and feeler lines are showing except for value number 5.
    Any help or advice would be greatly appreciated. Thanks
    P.S. I'm using Crystal Reports XI Version 11.0.0.1994 and the client is just running the Crystal Runtime (Maybe this helps... I hope)

    ewilly wrote:Sorry to say that but i'm not unhappy to see i'm not alone to encounter this issue
    I aggree with you : it's only a partial issue as those partitions are mounted under /media with their label name.
    As krusader is able to retrieve the label name i don't think it's an udisks issue so it's more related to a kde functionnality. I looked for missing (optionnal or not) dependencies but without success.
    Any idea is welcome... perhaps opening a bug could help ??
    I have run out of ideas.
    If you tried krusader, yes, it is quite safe to assume it is not a udisks problem, since I tried nautilus which uses udisks2. I also would rule out udev/systemd. Leaves solid, kdelibs, and the kdebase sources.
    As said, on gentoo, kdelibs are compiled with udev dependency which I have not seen in the pkgbuild for kdelibs.
    I think a bug report is a good idea.
    Last edited by artoo (2012-09-06 18:01:49)

  • [svn:fx-4.x] 14772: The check mark in the CheckBox components should never be mirrored, even if the label in the CheckBox is mirrored.

    Revision: 14772
    Revision: 14772
    Author:   [email protected]
    Date:     2010-03-16 07:14:46 -0700 (Tue, 16 Mar 2010)
    Log Message:
    The check mark in the CheckBox components should never be mirrored, even if the label in the CheckBox is mirrored.
    QE notes:
    Doc notes: None
    Bugs: SDK-25817
    Reviewed By: Kevin, Jason
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-25817
    Modified Paths:
        flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/skins/spark/CheckBoxSkin.mxml
        flex/sdk/branches/4.x/frameworks/projects/sparkskins/src/mx/skins/spark/CheckBoxSkin.mxml

    What are you supposed to cast it to? I might have tried to cast it to something wrong.
    I tried
    TableCellRenderer tcr = table.getDefaultRenderer(Boolean.class);
    ((DefaultTableCellRenderer)tcr).setHorizontalAlignment(SwingConstants.LEFT);and that gave me a ClassCastException. But I might have been trying to cast it to the wrong thing.

  • Chart:: preventing the label of the Y axis from being overlapped

    Hi,
    I am trying to figure out how to prevent the label of the Y axis from being overlapped by the axis tick labels.
    My best guess would be to add some padding on its right to give some more room to the tick labels (as well as decreasing their font size).
    But having looked at the "Styling chart with CSS" guide and at caspian.css, it seems there is no selector or particular styleclass defined for this label (same for the label of the X axis).
    Any clue before I end up writing another Jira bug fix request?
    Thanks
    Edited by: bouye on Feb 22, 2012 2:46 PM

    Hi Shwu,
    Please have a look at this discussion:
    Crystal Report Bar Chart Y Access Setting
    -Abhilash

  • How to wrap the label in the tr:panelLabelAndMessage ?

    Hi All,
    JDev 11.1.1.5
    I am creatig one mobile application, so I am using trinidad components.
    I want to wrap the label in the <tr:panelLabelAndMessage />
    *<tr:panelLabelAndMessage label="Send me a successfull transfer notification"*
    showRequired="true"  id="plam8" >
    *<tr:selectBooleanRadio text="None" simple="true"*
    label="Label 1" id="sbr1"/>
    *</tr:panelGroupLayout>*
    how to solve this ?

    Hi Chris,
    thanks for the reply,
    I given the for attribute , its pointing to the selected field. But Still the label is coming in singe line. It should wrap
    <tr:panelLabelAndMessage label="Send me a successfull transfer notification"
    showRequired="true" id="plam8" for="*sbr4*">
    <tr:spacer height="4" id="s16"/>
    <tr:panelGroupLayout id="pgl11" layout="vertical">
    <tr:selectBooleanRadio text="None" simple="true"
    label="Label 1" id="*sbr4*"/>
    <tr:selectBooleanRadio text="SMS" simple="true"
    label="Label 2" id="sbr5"/>
    </tr:panelGroupLayout>
    </tr:panelLabelAndMessage>
    Gopinath

  • Problem of putting the label in the middle.

    I am having a problem of putting the label in the middle.
    below are my codes.
    import java.awt.*;
    import java.applet.Applet;
    public class glay1 extends Applet{
    public void init(){
    Button button1;
    TextField textfield1;
    button1 = new Button("Set fuel Price(p)");
    textfield1 = new TextField(" ");
    Label label1, label2, label3, label4;
    label1 = new Label("pump1", Label.CENTER);
    label1.setBackground(Color.white);
    label2 = new Label("pump2", Label.CENTER);
    label2.setBackground(Color.white);
    label3 = new Label("pump3", Label.CENTER);
    label3.setBackground(Color.lightGray);
    label4 = new Label("pump4", Label.CENTER);
    label4.setBackground(Color.lightGray);
    Panel pc = new Panel();
    Panel ps = new Panel();
    setLayout(new BorderLayout());
    setBackground(Color.black);
    pc.setLayout(new GridLayout(2,2,220,50));
    pc.add(label1);
    pc.add(label2);
    pc.add(label3);
    pc.add(label4);
    ps.add(button1);
    ps.add(textfield1);
    add("South", ps);
    add("Center", pc);
    My problem is the label all are put on each corner.
    How to put the label to the middle?
    but I don't want the label to join one another,
    just put them more to the middle only.

    btw, I haven't actually used GridLayout myself but wouldn't it work for you to use the methods setHgap(int hgap) and setVgap(int vgap)?
    With GridBagLayout you can add components of varying sizes and you can easily position them on the grid. Look at this example, adding components to a JPanel called resultsPanel:
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,0,0,1,1,5,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,0,1,1,1,1,1);
              FrameTools.addComponent(resultsPanel,resultFileLabel,c,gridbag,1,1,1,1,1,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,2,1,1,1,1,1);
              FrameTools.addComponent(resultsPanel,loadResultFileButton,c,gridbag,3,1,0,0,1,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,4,1,1,1,1,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,0,2,1,1,5,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,0,3,1,1,1,1);
              FrameTools.addComponent(resultsPanel,linkerFileLabel,c,gridbag,1,3,1,1,1,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,2,3,1,1,1,1);
              FrameTools.addComponent(resultsPanel,linkerButton,c,gridbag,3,3,0,0,1,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,4,3,1,1,1,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,0,4,1,1,5,1);
                   The addComponent(...) method looks like this:
         public static void addComponent(Container target, JComponent comp, GridBagConstraints c, GridBagLayout g, int x, int y, int wx, int wy, int w, int h)
                  c.fill = GridBagConstraints.BOTH;
                  c.gridx = x;
                  c.gridy = y;
                  c.weightx = wx;
                  c.weighty = wy;
                  c.gridwidth = w;
                  c.gridheight = h;
                  g.setConstraints(comp, c);
                  target.add(comp);
           }     x and y specifies the position of the component and w and h the size of it. But really, read the tutorials!
    /P

  • Help: How add mouse features to let it show the label of the item?

    Hi,
    I'd like to add mouse features so that whem mouse moves over an item, it will show the label of the item. Especially, on the tab of a tab page to show the full label.
    Thank you in advance.
    Jimmy

    Oracle Forms calls this feature "Tooltip", you will find it as property of many items.
    For Tab-Pages Tooltips don't exist because Forms displays Tab-Labels always in full length.
    Peter

  • Return the label of the check box if check box is selected....

    hi frns...can u please tell me their is a way we can have the label of the check box only if it is selected...the method getLabel() return the label whether its selected or not....

    yaa i agree and i won repeat it as i mentioned but i wish u had written ur first message the same way as u have written this message...that one was more like u lashin out on me for a very simple and unintentional mistake...anywasy truce for now...can u tell me how to delete the topic once u have recieved ur reply...n keep in touch u ll be hearing a lot from me ( i m a new comer to java )...

Maybe you are looking for

  • HttpClusterServlet Proxy Plugin problem - Weblogic Express 10

    Hi, I am using Weblogic Express 10 version. I am trying to configure HttpClusterServelet in one of my test machine. I have a Admin server and 3 Managed servers which are part of clusters. I have a test war file which is deployed on to the cluster. I

  • PAGINATION ERROR

    Hi, I'm trying to get this pagination code functioning but I keep getting an error on my query. The error says: Microsoft Access Driver] Syntax error (missing operator) in query expression 'titles LIMIT 0' and I'm completely stumped, I pasted my code

  • When export mode is full and userid is system, data loss happens.

    Hi! I'm running Oracle 7.3.4 On HP-UX. I have problem when I try to export full my DB. I make a php program(a kind of ticket management program) and it use WEBDB's data in Oracle. Now, I export my WEBDB's data through userid="WEBDB" and the result of

  • Xmonad and dmenu options

    I've been using xmonad for a while now, and just started playing with Xmonad.Actions.WindowBringer. It uses dmenu for the menu, and I can't for the life of me figure out where to put the options that I want to use for dmenu.   Things like different,

  • [SOLVED] Systemd-fstab-generator: Out of memory...

    Hello using multilib lib32-systemd 208-1 and systemd208-1...  I have a problem where I will boot and it hangs at mounting drives: systemd-fstab-generator[135]: Out of Memory. systemd[1]:  /usr/lib/systemd/system-generators/systemd-fstab-generator exi