Creating 'Recent Whatever' stack

So I'm reading my new MacLife (stupid name, shoulda stuck with MacAddict) and there's a terminal trick they published that is supposed to add a Recent Applications (Items, Documents etc) stack to the dock. I followed the instructions to the letter but no joy. Here is the terminal command as printed in the mag:
defaults write com.apple.dock persistent-others-array-add '{ "tile-data" = { "list-type" = 1; }; 'tile-type' = "recents-tile"; }'
then you use the killall Dock command to refresh the dock. Can anyone debug this for me?

Looks like you have it a little wrong:
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
May be cut and paste it from here to be safe: http://www.macosxhints.com/article.php?story=20071101055329470

Similar Messages

  • "Recent Items" stack in Dock

    I typed the required commands into Terminal to create a Recent Items stack in the Dock, which I then limited to recent documents.
    One morning when I booted, the Recent Documents stack was missing. I dragged the "empty space" where it had been out of the Dock and tried retyped the Terminal commands to regain the recent items stack:
    first, <defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }’>
    and then, when that was not successful, <defaults write com.apple.dock persistent-others -array-ad>.
    I followed each one with "killall Dock".
    All that happened, both times, was the disappearance of ALL my stacks from the Dock.
    Am I typing these commands wrong, or what? I also notice that sometimes after typing one into Terminal, my original prompt doesn't reappear but only a < sign.
    What should I do to get my recent items stack back?

    Hi,
    1) go to terminal
    2) type in pico
    3) type in the following script (or copy it!)
    !#/bin/bash
    *defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'*
    *killAll Dock*
    4) save file as recents.sh
    5) give it executable rights *chmod u+x recents.sh*
    6) execute it ./recents.sh
    7) keep the file for later use (if you want)

  • How to create objects in stack

    I am working on Weblogic 10 and JDK 1.5. In Java the objects are always created in heap. Can anybody tell me how to create objects in stack?

    SKMoharana wrote:
    i need objects to be allocated in stack as my application should respond in real time (time predictable).I heard this is possible in Mustang.If I am understanding you correctly, allocating objects on the stack will not help you, and creating objects on the heap will not hurt you.
    It is provably impossible to create a truly time predictable application (in any language), so what you're really looking to do is create a program that responds acceptably quickly for an acceptable percentage of the time. For this you can create benchmarks like "responds in 250 milliseconds or less 99.5% of the time".
    To this end, you could create a prototype program that creates the objects you wish on the heap, and see if there actually is a problem. Don't fall into the trap of premature optimization.
    Even if you do discover that your object creation IS the problem, heap allocation is not the problem. Take a look at this article. It takes ten machine instructions, less than 1 millisecond, to allocate an object.
    Your performance problems are most likely in the object initialization (look for long loops or deep recursions), the display (if this is a GUI application), or your network connection (if this is a web application).

  • How to creat a grouped stacked bar chart

    Hi,
    I am trying to create a grouped stacked bar chart.
    For 'on change of ' i have -> 1) update_month                                                                               
    2) update_source ( i have 2 values for this field -> website and ivr)
    And for 'show value' field i am trying to use 1) sum of valid_count
                                                                          2) sum of invalid_count
    -> I need two stacked bars for each month, each stacked bar belongs to either website or ivr and is made of valid and invalid counts for that particular update source.
    when i tried to use the fields as i mentioned above, i got an error saying
    'The data you have selected doesnt fit the chart type' and explanation is as follows 'This chart type requires 2 on change of fields and i show value field OR 1 on change of field and many show value fields'.
    I have selected a stacked bar chart.
    Does any one know how to do this?
    i am trying to create a chart similar to the one in the following link http://www.java2s.com/Code/Java/Chart/JFreeChartStackedBarChartDemo4.htm
    Thanks

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Is there a way to create a clustered stacked chart in Numbers?

    I was trying to create a clustered stacked chart in Numbers.  Looks like there are way to do it for excel (multiple steps), but these steps aren't working/available in Numbers.  Trying to make a chart that compares different years (clustered) sources of income (stacked) for each month of each year.  Similar in apearence to this (http://peltiertech.com/WordPress/clustered-stacked-column-bar-charts/) where the comodities would be a month, Q1-Q2 Budget representing year 2010, Q1-Q2 Actual representing year 2011.

    Hi Brent,
    I believe that you have two options.
    1. Interlace your categories and then leave a blank row to separate clusters
    2. Make separate charts and overlay them with an offset.
    Jerry

  • "Recent Documents" stack appeared today... from where?

    On my MacBook Pro, a new stack called "Recent Documents" appeared this morning. I like it, but where did it come from? Right-clicking on it gives me options to make it Recent Apps or Recent Servers, or Favorite Volumes or Favorite Items.
    There is no folder on my Mac with that name. How did it get there? And if I accidentally poof it, how will I ever get it back?
    Daru

    There is no folder. It is an undocumented feature of the Dock that can be activated by the Teminal command, or by a third party utility that runs that command, or simply does what the command does, to wit, adds a certain bit to the Dock's plist file. I suppose it is related to Smart Folders, which also don't exist as actual entities, but only as snippets of code. No actual folders are involved, just a tiny bit of code that in effect tells part of the system to do certain things. The misnamed Smart Folders tell the Finder to open a window and display a list of items matching the criteria in the code snippet. The same is true for the Recent Items stack, except in this case the Dock has an entry in its plist file that tells it to use its stacks ability to display recent items.
    Francine
    Francine
    Schwieder

  • Is it possible to create a computer stack in doc?

    Is it possible to create a stack for my computer, "Christopher's MacBook Pro", in the dock? I'd like to see the 3 items below in a stack.
    Thanks.

    Since attached drives (HD's, USB drives, network shares, etc.) no longer appear on the desktop by default, I would like to have a stack instead. Also, this would enable me to access any attached drives with just a couple of clicks, even when using apps in full screen mode.

  • How can I fix an image created by Focus Stacking in PS6

    The below image was created using 8 photos using the Focus Stacking process in PS6 (I have carried it our correctly) but it doesn't like up properly when blended together. I have tried it about 8 times and get the same result every time.
    Is there anyway I can fix this photograph so that it is all in alignment?
    See around the 3 and 9 positions it is out of alignment.
    Expert help would be greatly appreciated.

    Thank you for your assistance in this matter.
    This has been frustrating the crap out of me for the last week (not that the photo is important, it is just that I like to conquer and solve this types of issues)
    I was shooting with an aperture of 7.1. 
    I changed the exposure on the photos as you had done previously but this only blew out the watch and I couldn't recover it afterwards and the alignment was no better any way.  So then I started experimenting as you suggested, and I don't know if what I am about to write is acceptable in an Adobe forum, but here goes.
    I tried Helicon Focus and it was terrible, but I must admit I didn't know how to really use it, it doesn't seem to have any alignment function and is very difficult to try to use and understand.
    then I tried Hugin and I am not even sure if this is image stacking software or just an alignment software, anyway that didn't work either and kept saying the output was a very bad match.
    THEN I downloaded and tried zerestacker (free 30 day trial)  (after reading about it in a google search) and WOW, it worked amazing, see below photo, it was so easy to use and the interface is easy as well and it does the alignment and stacking in the same process and you can see the image output show up on the left of the screen.  Sorry PS but I will be using ZS for photostacking from now on. Adobe need to buy this company and incorporate it in to PS CC6.
    This is just so much better than anything I got out of PS, there is no ghosting or blurring and the alignment is perfect and it is so simple to use.

  • How to create a generic stack (whose elements can be of any data types) ???

    How do you define a "Stack" class that takes the Data type as its constructor argument ,and creates a new instance of that stack type ??? e.g. Stack("double") should create a stack of doubles ,and so on...
         Putting it in another way, how do you go about defining a Stack ,if you are not sure what data types will be pushed into it at runtime ??? Making a Stack of Objects doesn't seem the appropriate choice since, in that case also, you won't be sure of which of the "parseInt(),paresDouble(),Integer(),Double() etc." functions to retrieve the value.

    Write your own stack class which delegates push and pop calls to an internal instance of the java.util.Stack. In addition the class has an attribute of type Class. When the push method is invoked the object in the argument will be tested whether it is an instance of the class stored in the type attribute. If not an IllegalArgumentException should be thrown.
    Here is the minimal code for such a type-save stack (the main method shows its usage):
    import java.util.Stack;
    public class TypeSaveStack {
        private Stack _stack = new Stack();
        private Class _type;
        public TypeSaveStack(Class type) {
            _type = type;
        public void push(Object element) {
            if (_type.isInstance(element)) {
                _stack.push(element);
            } else {
                throw new IllegalArgumentException(element
                                  + " is not an instance of " + _type);
        public Object pop() {
            return _stack.pop();
        public static void main(String[] args) {
            TypeSaveStack doubleStack = new TypeSaveStack(Double.class);
            doubleStack.push(new Double(Math.PI));
            System.out.println(doubleStack.pop());
            try {
                doubleStack.push("foo");
            } catch (Exception e) {
                System.out.println(e);
    }

  • CRM Users Created on ABAP Stack not visible in Portal...........

    Hello All,
            I have WAS with ABAP + JAVA  [EP7], Hence using <b> dataSourceConfiguration_abap.xml</b>. as a datasource file in UME.
    As per my knowledge i cant create users from Portal hence I have created users in ABAP Stack but I am not able to view these users from Portal ?
    I have chaecked the entry in Configtool this file is maintained as Datasource.
    Please Guide me what may be the reson for this ??
    Is it possible to add Users from portal if Datasource is ABAP Stack ??
    Waiting for reply!
    Thanks,
    Smita.

    Hi Smita,
    Please go through these links:
    UME configured to use SAP ABAP
    For the configuration using config tool : http://help.sap.com/saphelp_nw04/helpdata/en/49/9dd53f779c4e21e10000000a1550b0/frameset.htm for general remarks using this config and see http://help.sap.com/saphelp_nw04/helpdata/en/0f/bdd93f130f9115e10000000a155106/frameset.htm for changing the config.
    Check out the section "Read-Only and Read-Write Access to the ABAP User Management.
    This link would also be useful. This link talks about <b>User Management of Application Server ABAP as Data Source</b> :  http://help.sap.com/saphelp_nw2004s/helpdata/en/49/9dd53f779c4e21e10000000a1550b0/frameset.htm
    Hope this helps.
    Regards,
    Sunil

  • Create recent call as contact in a group?

    I know we can use the number of a recent call to create a new contact or add to an existing contact. I also know that we can navigate to a group and add a contact to that group. How can we combine 'create contact from recent' and 'add to group' without requiring a sync with iTunes? It would be good if Contact edit could also add/change the associated group(s).
    Tim

    Thanks for the reply. Since I was in the recent calls list, the group added to was the default instead of the desired. Hopefully, someone will see this thread who can update the iOS software to allow editing the group of a contact. It would certainly improve usability.
    Tim
    Edit: I guess this won't actually be solved until iOS is updated.

  • How do I create Recently Added WITHOUT videos, movies etc?

    Hi
    I have a Recently Added Smart Playlist but it includes all my audiobooks, podcasts, films, TV programs etc.
    I want one that JUST shows my recently added music.
    I cannot figure out how to do this, any help out there please?
    Cheers.
    Robin

    Hi,
    you need to tell the playlist to include content only in Music folder (at the top of the Library). Highlight the playlist and press command + i or create new smart playlist. Your playlist should look something like this. Create two rules.
    All rules need to match.
    1) Playlist is Music (at the top of the Library)
    2) Date added is e.g in the last week
    You can easily add new rules to define your. If you add e.g audiobooks to your library in mp3/aac/etc. format you need to manually set a genre for them and then add another rule to to exclude that genre in the playlist. Same goes to podcast you manually add to library.

  • How to create a Tiff stack?

    Yesterday I somehow managed to create a wonderful, "time saving" for sure, folder full of AE frames rendered as tifs.  Now I can only get one frame of a file that has close to 700 frames.  "Composition/Save Frame As/ File/Render Queue/Output Module Settings/Tiff Sequence/Render" continually creates a single frame.  What am I doing wrong?

    The Save Frame As commands are only for creating single frames. To create an image sequence, add a composition to the render queue and choose one of the image sequence choices from the format menu in the output module settings.
    Start here to learn After Effects:
    http://adobe.ly/AE_basics

  • Create Release IPA Stack Overflow

    Hello i have a little problem... we built an app wich has a video section.
    We took the videos (MP4) into the app over app publishing settings (checkmarking the files)...
    when i have about 6 videos it works well... when i inlclude more videos i get an error while generating the ipa... "map failed" ... i think an Stack Overflow? the main problem is that filesize of each video is not the only problem... i can convert the videos a little bit but when i have many videos i get the same problem because the WHOLE filesize is then too much...could this be really the reason for my error?? or do i have another problem?
    Any ideas how i can solve this problem??? I use flash builder 4.6

    Hey I get this suddenly in an app that's been running and working fine.  We just updated with a release build for some other updates and I get this error.  Here's the context:
    I am using Flex 4.6, have a component that extends the Flex 3 AdvancedDataGrid for some lightweight customization of how column resising work.  The component is used in several of our apps.  But, for some reason, and with no code updates to this particular component in a while, when I click on a row in the grid, I get this stack overflow exception too.  The exact same stack trace as the one mentioned by the original poster.
    Anyone have a clue why I would be seeing "spark.components.gridClasses::..." in my stack trace to begin with when the component that is being clicked on is a Flex 3 AdvDataGrid component?  I've seen some mention of the compiler error that somehow bashes the stack under the perfect circumstances.  But, in our case, we've eliminated all of our own event handlers (click/etc) from the grid and we still get this error and only in the release build.  So, there's no way to change any of our code to fix it b/c none of our code is executing when the error occurs.
    This is very very odd stuff.  Any ideas???

  • Creating array w/Stacks

    I have the following source which loads 10 elements and then unloads the array. I want it to modify the class which loads one element with 10 animal names and another array with 10 insect names.
    The class should then display the contents of each element of the array as it is 'popped' off the stack. Can someone please help me on modifying the following code:
    // This class defines an integer stack that can hold 10 values.
    class Stack {
    int stck[] = new int[10];
    int tos;
    // Initialize top-of-stack
    Stack() {
    tos = -1;
    // Push an item onto the stack
    void push(int item) {
    if(tos==9)
    System.out.println("Stack is full.");
    else
    stck[++tos] = item;
    // Pop an item from the stack
    int pop() {
    if(tos < 0) {
    System.out.println("Stack underflow.");
    return 0;
    else
    return stck[tos--];
    class TestStack {
    public static void main(String args[]) {
    Stack carNames = new Stack();
    Stack stateNames = new Stack();
    // push some numbers onto the stack
    for(int i=0; i<10; i++) carNames.push(i);
    for(int i=0; i<10; i++) stateNames.push(i);
    // pop those numbers off the stack
    System.out.println("Stack in carNames:");
    for(int i=0; i<10; i++)
    System.out.println(carNames.pop());
    System.out.println("Stack in stateNames:");
    for(int i=0; i<10; i++)
    System.out.println(stateNames.pop());
    TIA,
    Mark
    null

    I have the following source which loads 10 elements and then unloads the array. I want it to modify the class which loads one element with 10 animal names and another array with 10 insect names.
    The class should then display the contents of each element of the array as it is 'popped' off the stack. Can someone please help me on modifying the following code:
    // This class defines an integer stack that can hold 10 values.
    class Stack {
    int stck[] = new int[10];
    int tos;
    // Initialize top-of-stack
    Stack() {
    tos = -1;
    // Push an item onto the stack
    void push(int item) {
    if(tos==9)
    System.out.println("Stack is full.");
    else
    stck[++tos] = item;
    // Pop an item from the stack
    int pop() {
    if(tos < 0) {
    System.out.println("Stack underflow.");
    return 0;
    else
    return stck[tos--];
    class TestStack {
    public static void main(String args[]) {
    Stack carNames = new Stack();
    Stack stateNames = new Stack();
    // push some numbers onto the stack
    for(int i=0; i<10; i++) carNames.push(i);
    for(int i=0; i<10; i++) stateNames.push(i);
    // pop those numbers off the stack
    System.out.println("Stack in carNames:");
    for(int i=0; i<10; i++)
    System.out.println(carNames.pop());
    System.out.println("Stack in stateNames:");
    for(int i=0; i<10; i++)
    System.out.println(stateNames.pop());
    TIA,
    Mark
    null

Maybe you are looking for