Recent Items:- Sort by date?

Hi everyone,
has anybody figured out a way to sort recent items by date order rather than alphabetically. I'm totally frustrated at being unable to do this. i look forward to your replies

Hello
I already passed this script.
Using it, you will be able to select a «Recent Item» from a chronologically sorted list.
-- [SCRIPT Choisir1récent3]
Supprime les alias récents "orphelins"
Trie les éléments restants par ordre chronologique.
Permet alors de choisir celui que l'on veut ouvrir.
• Remove orphans recent items aliases
sort them by modification date
Allows us to choose one to open it.
Yvan KOENIG
23 mars 2004
modifié le 15 avril 2004
modifié le 26 avril 2004
property frenchAW : false (* true if french AppleWorks
• false assumes it is an english AppleWorks *)
if frenchAW is true then
set partialPath2recent to ¬
"Données utilisateur AppleWorks:Points de départ:Éléments récents"
else
set partialPath2recent to ¬
"AppleWorks User Data:Starting Points:Recent Items"
end if
set dossierDocuments to (path to "docs") as text
set dossierElementsRecents to dossierDocuments & partialPath2recent
tell application "Finder"
set listeLongue to ¬
(every item of folder dossierElementsRecents)
set nbRecents to count of listeLongue
if nbRecents > 0 then
set listeVivants to {}
repeat with i from 1 to nbRecents
set originalEnText to ""
set maybe to (item i of listeLongue)
try
set original to original item of maybe
(* essaie de trouver le fichier original
• try to find the "parent" file *)
set originalEnText to original as text
(* conversion impossible si l'original est à la poubelle
• can't convert if "parent" file is in the trash *)
end try
if (originalEnText) > "" then
set end of listeVivants to maybe
-- liste des chemins d'alias "vivants"
else
(* on n'a pas trouvé le document original
• don't find "parent" file *)
try
delete maybe
(* supprime l'alias orphelin (s'il n'est pas verrouillé)
• remove orphan alias (if not locked) *)
end try
end if
end repeat
set nbVivants to count of listeVivants
if nbVivants > 0 then
if ("10." is not in ("" & version)) then
set listeOk to (sort listPaths by modification date)
-- pas testé sous Mac OS 8/9
else
set listeDates to {}
repeat with i from 1 to nbVivants
set end of listeDates to ¬
modification date of (item i of listeVivants)
end repeat
set listeOk to my TriLineaire(listeDates, listeVivants)
end if
(* liste triée des chemins d'alias "vivants"
• sorted list of path to "living" aliases *)
set listeNoms to {}
repeat with i from 1 to nbVivants
set end of listeNoms to ¬
(name of (item i of listeOk)) as text
end repeat
(* liste triée des noms d'alias "vivants"
• sorted list of names of "living" aliases *)
(* Choisi un élément récent
• Choose a recent item *)
set monChoix to (choose from list listeNoms ¬
with prompt "Choisir un élément récent …") as text
if monChoix > "" then
set ii to 0
repeat with i from 1 to nbVivants
if monChoix is item i of listeNoms then
set ii to i
exit repeat
end if
end repeat
if ii > 0 then open (item ii of listeOk)
(* ouvre le fichier pointé par l'alias choisi
• Opens the file pointed to by the choosed alias *)
end if -- monchoix > 0
end if -- nbVivants > 0
end if -- nbRecents > 0
end tell -- to Finder
-- to be continued

Similar Messages

  • How to "list folder" sorted by date

    I can get the list of items in a folder but it always is organized alphabetically by name even if the folder is in list form and sorted by date. Is there any easy way to get the list of items sorted by date (or some other property)?
    Of course, I can go back and write a sorting algorithm based on these other properties, but I don't want to have to write more...
    Thanks
    Kraig

    Yes, the looping would be necessary in this case. As an alternative you could use a shell command:
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Finder"
    set x to POSIX path of (desktop as alias) -- in my case "/Users/michaelhenley/Desktop/"
    set y to paragraphs of (do shell script "ls -t " & quoted form of x) -- "-t" sorts by modification date. type "man ls" in Terminal.app for more info
    end tell</pre>

  • Is there a way of displaying  the various item in my Downloads folder as icons arranged in order of Date Created, such that the most recent items appear at the bottom, rather than the top?

    Is there a way of displaying  the various item in my Downloads folder as icons arranged in order of Date Created, such that the most recent items appear at the bottom, rather than the top? I know this can be done when they are displayed as a list, but I want icons!

    Hi geezer,
    when you open your 'Downloads' folder choose 'View'  in the Menu bar and choose:
    'as List'
    'Show View Options'
    In 'View options' window you tick:
    'Always open in list view'
    'Date Modified', or
    'Date created'
    Now inside the 'Downloads' folder click on 'Date Created' (or 'Date Modified')
    column to get items alined from oldest to newest date (or reverse)…

  • Ical..... Sort items by due date

    I always like to see my tasks deadlines. so I always like to sort the items by due date in the list the "To Do Items". My point is when I updated something I always need to click the option and sort items by due date again. Can I do that action with an special command instead to used the click option?
    Thank you

    More information about my problem:
    I have setted my field under environment  > sort fields > dunning notice items
    New sort variant 50 u2013 for a test have tried the
    Sequence 1 u2013 budat
    Sequence 2 u2013 bldatu2026 (not necessary for test only )
    Also under environment I have changed the company code datau2026
    As:
    Comp code     Sort MHNK          sort MHND
    K1 (unchanged)     50 (new u2013 changed)     
    But still the dunning print will not react to the settingsu2026

  • HowTo?  find most recent checkins, by userID, sorted by date??

    I can't find any reporting capabilities within RON.
    Is there another tool?
    Has anyone written these sql scripts and can share?
    Thanks, curt

    Thanks David,
    I just gave repcmd a try. How can I print the doc for all cmds and
    arguments? BTW, I didn't see any arguments for sorting by various
    criteria like last checkin date?
    The help in RON didn't give doc on the repcmds?
    From RON, I opened a private work area, launched repcmd, which gives
    the DOS look that it's rooted in my PWA. I typed lsci and it hangs.
    Opps, while I'm typing this it returned. About 3 minutes for only
    50 files??????
    Problem: This has been a very foreign experience so far trying to
    setup Jdev using OSCM: Everyone is working on the same project. We
    check in files all day long. We need to precisely control what new
    files we add to our desktop dev environment.
    Under all other SCM's this is easy (even with clearclase). All other
    tools make the easy, normal use case of picking and choosing what files
    you download to your dev directory easy. Usually with a GUI tool that shows
    you latest checkins that you pick from.
    So: we need to be able to see a sorted list of latest checkins, sorted by date.
    How?
    Then we need to be able to pick and choose which files and which versions are down loaded?
    How?
    I'm leading the way on this, in advance of a team of newbies to OSCM and Jdev
    so this will be a trying experience getting all the steps well doc'ed so it's
    clear and easy.
    I sure could use some help on this. Thanks, well in advance. :)
    Take care, curt

  • Recently lost lots of data and purchases due to Iphone crashing and I had not backed up since Oct. Surely there is a way to recover "lost" PURCHASED music, apps, audiobooks from ITunes, afterall I did pay for these items!  Appreciate any suggestions!

    I've recently lost lots of data and purchases due to Iphone 4 crashing... Surely there is a way to recover "lost" music, apps, and audiobooks which I PURCHASED from ITunes in the last 1.5 months...? Greatly appreciate any suggestions or direction in this matter!

    Note: Previously purchased music is only available through iTunes in the Cloud in Australia, Canada, Cypress, France, Ireland, Luxembourg, Malta, Mexico, New Zealand, Spain, the United Kingdom, and the United States."
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Why is the file browser unable to sort by date added (Safari, Mail, etc)?

    When I use the file browser (e.g. when I browse for a file to attach to an email or browse for a file to upload through a form) and try to sort by date added, it doesn't work.
    I can see the column for "date added" and it displays the correct date. I can sort by other properties and it works. But when I sort by "date added" it lists files that were added a while ago under "today" and the files recently added are under "no date" (even though they all have a correct date). The list doesn't seem to change day-to-day (e.g. files under "today" remain the same).
    Does anyone know what could be wrong? Am I the only one with this issue?

    Performance tip: Keep the Desktop clutter-free (empty, if possible)
    Mac OS X's Desktop is the de facto location for downloaded files, and for many users, in-progress works that will either be organized later or deleted altogether. The desktop can also be gluttonous, however, becoming a catch-all for files that linger indefinitely.
    Unfortunately - aside from the effect of disarray it creates - keeping dozens or hundreds of files on the Desktop can significantly degrade performance. Not necessarily because the system is sluggish with regard to rendering the icons on the desktop and storing them in memory persistently (which may be true in some cases), but more likely because keeping an excessive number of items on the Desktop can cause the windowserver process to generate reams of logfiles, which obviously draws resources away from other system tasks. Each of your icons on your desktop is stored as a window in the window server, not as an alias. The more you have stored, the more strain it puts on the window server. Check your desktop for unnecessary icons and clear them out.
    Keeping as few items as possible on the Desktop can prove a surprisingly effective performance boon. Even creating a single folder on your Desktop and placing all current and future clutter inside, then logging out and back in can provide an immediately noticeable speed boost, particularly for the Finder.
    And it is why Apple invented 'Stacks' for Leopard.

  • List of recent items chronologically, not alphabetically

    I would like the list of 'recent items' to be in time order, not by alphabet order. How do I do this? bryngary

    What I did was create myself a couple of SmartFolders, which you can customize in all sorts of ways. Thus I have one that finds all Documents in my home folder that were modified in the last week (and there are 42 of them at moment--one advantage of the SmartFolders is there is no limit to the number of items), and they are listed chronologically. I also have a SmartFolder for Applications opened this week, arranged alphabetically. And so on. I save these custom SmartFolders to the default SavedSearches folder in my home Library, and keep the folder in the Dock for instant access. You can even have Recent Items that don't exist in the Finder's Recent Items--thus I have one that lists by date modified all folders that were opened this week.
    Francine
    Schwieder

  • Is this normal to find Servers in "Recent Items"?

    While I have been trying to save data on a crashed computer – the Desktop has disappeared and the Finder can't be found – I found something I have never noticed before.
    On the menu at the top of the screen, when I click on "Recent Items" I find "Servers". Under "Servers", I find two blue colored drives called "Scan" and "SharedDocs".
    I am doing file sharing at the moment but I don't use the names "Scan" or "SharedDocs".
    Before my Desktop disappeared and the hard drive got corrupted, I wasn't doing any file sharing. All I was doing was backing up my computer. The backup failed though because the external drive got disconnected from the computer when the lid of the Macbook Air suddenly opened to 180 degrees (the hinge is broken).
    I restarted the computer and attempted to backup the computer again but that failed and then the hard drive filled up all of a sudden. I did Disk Repair using the installation disc but that was when the Desktop and Finder disappeared. This is to give some background to what happened. I don't think anyone is spying on me but I don't remember seeing the Servers before under "Recent Items". Maybe they have been there all along but I haven't noticed them.

    If I can help set your mind at rest, this is normal. If you look in the Finder preferences (if you can find them -- see below) they are fourth in the list of items to show on the desktop, and I would guess that this may be related.
    The names you are seeing my be partitions on the disks you have been connecting to.
    It sounds as if you have major disk corruption and the fact that it filled up suddenly suggests the Finder was unable to report the data correctly. If you have the data off (backed up) then you will lose nothing by trying to erase and then reinstalling the OS. If there are any problems during that process, it would indicate a defective hard disk and replacement is the best option.

  • Modify Recent Items list

    I open a lot of torrent files that I really don't ever need to open again.
    I was wondering if there was a way to prevent these items from cluttering up the Recent Items menu.
    I've looked at the com.apple.recentitems.plst but it just seems to be a list.
    Is there a way to exclude certain document types from showing up in the Recent Items menu - sort of like you might with spotlight or a smart folder?
    thanks.

    AFAIK, it's the norm. Recent documents only displays ones previously opened, not their current status or whether they still exist.

  • Why recent items are not shown in notification center (only unchecked appear)?

    Hi guys,
    in notification center (ios 5 iphone 4s) I am able to view only uncheck notification, as unread mail or tweet, events programmed for the next day and so on. It seems strange becouse in setting-->notification center--> you can choose:
    1,5,10 unread message for mail and
    1,5,10 recent items for other apps.
    does anybody know how to make appear recent item in notification center? or should I suppouse that recent items mean unchecked items?
    ps: and there's also no notification in notification center for facebook. did anybody fix it?

    No, it does not add that reference.
    Any way,I am  trying to use Sample Powershell Monitor using Powershell Script.
    I am using sql.client connection to get answers from sql server.
    There is only 1 row in the results and the results of the query is either 0 or 1.
    But when creating a monitor I get an error with two statements
    "Incorrect expression specified: New-Object System.Data.DataSet
    Here is the output of script
    1    -------- Indicates 1 row in Results of the query
    <Property Name="State" VariantType="8">1</Property></DataItem>
    Here is connection details
    $SqlConnection = New-Object System.Data.SqlClient.SqlConnection
     $SqlConnection.ConnectionString = “Server=$SQLServer;Database=$SQLDBName;Integrated Security=True”
     $SqlCmd = New-Object System.Data.SqlClient.SqlCommand
     $SqlCmd.CommandText = $SqlQuery
     $SqlCmd.Connection = $SqlConnection
    $SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
     $SqlAdapter.SelectCommand = $SqlCmd
    $DataSet = New-Object System.Data.DataSet
     #$DataSet.Tables.Count4:51 PM 3/13/2015
    $SqlAdapter.Fill($DataSet) 
    $retval = $dataSet.Tables[0].Rows[0][0].ToString(); 
    $SqlConnection.Close()
    $oBag.AddValue(‘State’,$retval)
    #$oBag
    $oAPI.Return($oBag)
    Not sure what needs to be changed to run this script for creating the monitor

  • Customer statement line item sorting

    Hello SAP Gurus,
    We use a customer statement which has SAP delivered program and 'z'type form, but our requirement is to sort the line items inside the statement.
    I tried using o7s6 - Line item Corresponding sort variant (SPRO>F/A>F/A Global Settings-->Correspondence)in that how would I create a sorting variant that will sort line items based on due date.
    And also I believe some configuration need to be done in variant for program i.e., SE38--> give the program name and execute (F8) --> in side this there are options to sorting by due date but I was not able to achieve what I want.
    Can anyone please help me with this.
    Thanks
    Kishore
    Message was edited by:
            kishore

    Hello
    follow the link and you could get more info
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/01/a9c1cb455711d182b40000e829fbfe/frameset.htm
    Editing Line Items
    You can edit line items for a payment or an exception list at a second list level. You can use the following functions to help you edit line items:
    Sort
    Search
    Change line layout
    To edit line items of a payment, double-click the desired payment line.
    The system then displays the open items of this payment on another screen.
    Sorting Line Items
    To sort open items, choose Edit ® Sort. This brings up an additional window where you can sort the line items according to four criteria and define a sequence (see "Sorting Payments" in Editing Payments).
    Searching for Line Items
    To search for particular open items, choose Edit ® Find. Select a search criterion and enter the desired values or value ranges (see "Searching for Payments" in Editing Payments).
    Changing the Line Layout
    To change the line layout, choose Settings ® Line Layout, and select the required line layout variant. There are four variants delivered with the standard system.
    The standard setting for the sort, find, change line layout, and display totals functions depends on your system configuration. You can change it in Customizing.

  • Preview doesn't show 'open recent' items

    When Preview is open, File-->Open Recent shows only 'clear recent'. Checking all different values for 'recent items' in System Preferences makes no difference in Preview. Some other apps work with 'Open Recent' (eg Pages) but not all (eg TextEdit behaves as Preview). Anybody see something similar, or know a fix? Thanks!

    Triple-click the line below to select it:
    ~/Library/Preferences/com.apple.Preview.LSSharedFileList.plist
    Right-click or control-click the highlighted line and select
    Services ▹ Show Info
    from the contextual menu.* An Info dialog should open.
    Does the dialog show "You can read and write" in the Sharing & Permissions section?
    In the General section, is the box labeled Locked checked?
    What is the Modified date?
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.

  • How do I sort by date added while maintaining track order?

    Hello,
    I'm trying to do what I think is a simple function in ITunes. I'd like to sort by "date added" and have the tracks line up sequentially by track number. In other words, when in Itunes, I'd like to have (from top of the library to bottom) my most recent album with tracks 1-10, listed, and then the next recent album and so forth. Almost like a most recent album. You can of course sort by date added, and scroll all the way down to the bottom of the page, but then when Ituns plays, you start on the most recent album, it runs through that album, and then is done.
    Any thoughts?

    If you ever find the answer, I'd love to know as well. How odd is it that you can do this. I tried several searches for this in software hacks, and applications that let you alter icon views and the like. Can't believe the limited interest in correcting it either.
    I was looking for a way to display screen shots of various jpeg elements with files names that double as instructions in a tutorial. Icon view allowed me to see pictures in a large enough size to use as instructions with the corresponding file names. All I would have had to do was screen shots assembled into a PDF and I would have been done. Having to retype every instruction along with copy, and pasting into a new document and so forth is more than double the work for any set of pictorial instructions.
    Maybe Garage Band or some other application is the workaround until then. I'll let you know if I ever find a better workaround, or the solution.

  • Sort Column Date - DataGrid - Flex 4.5.1

    Hi
    I made download the function (below)  to sort column date in DateGrid, but is not working
    private function date_sortCompareFunc(itemA:
    Object, itemB:Object):int
       var dateA:Date=new Date(Date.parse(itemA.dob));
        var dateB:Date=new Date(Date.parse(itemB.dob));
       return ObjectUtil.dateCompare(dateA, dateB);
    <s:GridColumn dataField="DATA_VENCIMENTO_ID"
        width="115"
        headerText="Data Vencimento"
         dataTipFunction="date_sortCompareFunc">
    someone can help me?
    Marcos

    Hi Marcos,
    This forum here is for questions related to the LiveCycle Collaboration Service product.
    You might want to post your question to the Flex forum:
    http://forums.adobe.com/community/flex/flex_general_discussion
    Hope this helps.
    Good luck,
    Julien
    LCCS Quality Engineering

Maybe you are looking for