• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: folder order
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: folder order


  • Subject: Re: folder order
  • From: Emile Schwarz <email@hidden>
  • Date: Sat, 02 Apr 2005 11:27:48 +0200

Hi,

in the old times (Mac OS 6, 7, 8, 9 ?), you could sort the order using this trick:

Place the parent folder with the folder to 'sort' visible beside the folder to 'sort',

Place the folder to 'sort' in the 'List' mode (Was it 'View per Name, Size,...' ?), per Name, Size, Creation or Modification dates, etc.,

Select all,
Drag and drop all the files in its own folder icon, but in the Parent folder (that is why you have to have it visible)


This 're-place' (understand 'position' or 'order') the files using the selected order.


Now, the order under Mac OS X is modified each time you save a file (the file contents change).


To check that, copy a file from a folder, decode the 'ufs ' entry of the Clipboard and watch what happens after each successive save of the original file. A 2 bytes value change (random ?).
The files are 'stored' using that 2 bytes value (0 to n order) but the index used to display them show them in the reverse order: n to 0... (how can I understand ?)
Of course, only if my memory is working fine.


If someone came with the definitive answer (and a way to verify it *), I will take it.

Cheers,

Emile


* I do not like Urban Legends, and God knows that there are many in this industry / about Macintosh; so I check each important information I get before using it in a project (information that I have to rely on).
Even informations that came from Apple can - exceptionally - be false or inacurate (even can have changed from the moment they wrote it until now).


For example, do not rely on the Window Item Position Grid between OS releases...

If you set the 'Lock to the grid' (translated from French) for the front window, make a 'Align' (translated from French) to get the window contents aligned to the Grid and run:

tell application "Finder"
	return position of item 1 of front window
end tell

you get a position. Changing nothing to that folder contents, reboot with an older OS, do the same can gives you a different value.
[I think that simply re-install the same OS on your hard disk can change that too, but I never take time to make many re-install to check that]


email@hidden wrote:
Subject: Re: folder order
To: Hunter Clarkson <email@hidden>,
	<email@hidden>
Message-ID: <BE72C068.35BE6%email@hidden>
Content-Type: text/plain; charset="US-ASCII"

On 4/1/05 7:39 AM, "Hunter Clarkson" <email@hidden> wrote:


What determines which folder in a folder is "folder 1"  and can it be
changed by sorting on size or date?


For all intents and purposes, consider it random. Typical options you'll
encounter (based on the underlying filesystem) are alphabetical and
creation-date. I've never seen size as a consideration.

If you want it a particular way you need to roll your own.

Rumor (including the Finder's own dictionary) implies that some day the
Finder will be able to sort directory listings for us, but don't hold your
breath.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Okay, I really do have a URL Access Scripting question now...
  • Next by Date: Re: 'File permission error' - partially solved
  • Previous by thread: Re: folder order
  • Next by thread: Re: Mac vs unix Carriage returns on a text file format
  • Index(es):
    • Date
    • Thread