Icons in Finder folders often are in random positions.. Why?
It often happens in OS X Mountain Lion Finder: Icons into folders (as you can see in the picture below) are placed at random, despite is selected "arrange by>name". To return to the default position I have to select another option and then again "by name", every time it happens, even for the same folder. Is there a solution? Or is it a bug of the new OS?
Rather then "arrange by" has you tried View > Clean up by > name.
or Opt Command 1
Similar Messages
-
what is the name of the folders which are the backup of Itunes library? I am recovering from a virus, have no workable desktop in Win XP, but can search and find files and folders. I would like to move these backup files to a new computer, authorize it and sync with Iphone 3Gs and Ipod 5th gen.
II second the whole iTunes folder approach.
If for some reason you have split the media folder from the library files then the media folder needs to restored to the same path it used to have while the library files can be copied into the music folder of your new profile.
If in dobut, backup up the entire Documents and Settings folder before wiping the infected drive, but be selective about what you restore as many viruses drop active components capable of reinfecting the compuer in the temp folders and internet caches. It is much easier to backup more than you need than to discover after the fact that you no longer have access to some vital project you'd been storing in a folder on the desktop.
tt2 -
Corrupted icons in Finder and Mail
My icons for files and folders often get corrupted as shown here:
http://www.math.uni-hamburg.de/spag/dm/corrupted_icons.pdf
The problem is cured (temporarily) by a reboot, but not by relaunching the Finder. Strangely, the problem "spreads" like an infection: at first, only the icons in one folder viewed in the Finder are corrupted, then quickly more and more get corrupted. The bad icons even infiltrate some applications, like Mail - see the bottom two icons in the rightmost screen shot of the link. When a single file has a bad icon, I can "delete" that icon in the info window for that file, and it reverts to normal. This does not seem to work when the corrupted icon is that of a folder.
I have a suspicion that the problem tends to spread from "old" files (never folders) that pre-date OSX. But that's not much more than speculation, since many of my files are of that type. Also, the problem has spread to other macs that I "migrated" to from the one originally affected.
Any help at all - such as suggestions of how to cleanse my Mac so that this does not reoccur - would be greatly appreciated...
SandyThe problem is still not understood, but it seems I've been able to get rid of it. Many years ago (quite possibly still under OS9) I had given some folders special icons to make them stand out visually. I then put those folders in the toolbar of the Finder window (even now under Leopard, where dragging folders to the toolbar no longer seems to be officially encouraged but still works). In search of "anything unusual" to do with icons I now removed those pictures from the folders in their info field (so now they look normal again, like any other folders), and haven't had any more corrupted icons since. This has now been stable for about a fortnight, while before this measure I had newly corrupted icons about twice a week at least.
Caveat: I didn't remove those custom-made icons from all my folders: I simply forgot two of them (which, however, were changed later I think). So even if restoring generic icons to some folders solved the problem, the problem will most certainly be difficult to reproduce. -
How do I show what folders files are in in list view? MacGenius NO help.
I recently went to the Natick Mall Mac Store to see a MacGenuis. I had two issues. The first was whether it is possible to view what files my documents and photos are in in list view, as I used to be able to view on my PC. The MacGenius tried to sell me a one-on-one lesson. When I asked how a lesson would help if it was not a possiblity, he told me to right click each document or photo to get that information. That is exactly the cumbersome, time consuming an inefficient process I was trying to avoid. I asked if he was aware of any third party software that could provide that function, and he said no.
A little more research on my own shows that if you put your cursor on the item, the information shows up in the bar at the bottom of the finder screen. Not exactly what I was hoping for, but certainly more efficient and quicker than right clicking on each individual item, and I can at least toggle back and forth to compare documents and photos in multiple locations so I can delete those no longer needed without having to worry about doing an extra step and moving docs in and out of individual folders to re-consolidate them and delete uneccessary copies. (I have extras because I do legal work and have to keep copies of all items submitted in a single court filing together, but may need the same photos or docs in other court filings, which also have their own folders so I have a complete set of what was filed in each filing).
Shouldn't the MacGenius have known about this function as an option for finding folders? He also told me I could not back up my computer on a disk I had previously used for a back up because the new back up would wipe out everything previously backed up.
I also asked him about the whirling colored circle which I seem to be getting a lot of lately. He "checked" my computer and determined that I need a new battery (mine had slightly over 450 cycles, according to him) and my hard drive is failing. All could be repaired for a little over $300. I was told I could not do the repair myself, it had to be done by a Mac technician, and that the parts could only be purchased at the Mac store and they don't sell the parts except to Mac technicians.
I was dubious, only because the MacGenius was consistently unhelpful and consistently tried to sell me items. I did stop and look at some PCs, figuring if my Mac was on its way out I would back up my docs and photos to a new PC and save a ton of time and money because I could consolidate on the PC which would show what folders my docs and photos were in - and use the PC for a backup drive until the Mac dies.
I got Tech Tool Pro 6 and ran the diagnostics. All of which contradicted what the MacGenius told me, and gives me multiple options for backups without having to buy multiple backup drives for fear of having prior backups overwritten. So I don't need a new computer, I have an acceptable, altho less than desirable, way of telling what folders my items are in, and Tech Tool's optimization fixed the whirling "wait" cirle.
The only thing left is to ask if anyone has a hint or knows of software available that will in list (or other) view what folders my docs are in.
Except to ask, has anyone else experienced such disappointing help and annoying upsell from a MacGenius? In all fairness, the few times in the past that I have been helped by a MacGenius, they were extremely helpful and didn't try to sell me anything (altho my computer was new and still under warranty).Customize the Finder window toolbar, adding the Path icon to it. Select an item and click on the Path icon or, as you already know, add path to the window. There's also copypath.app available via the App Store.
-
Icon Creation Question -- What format are custom shaped icons saved as?
I have Adobe Photoshop CS and Adobe Illustrator CS. I am assuming that one of those are able to create custom shaped icon format images for using on Mac folders.
I am able to save usable icons for folders as .psd format.
However, they are always square or rectangular, with a blank background around a non-square/non-rectangular image.
I'm not able (don't know how) to save icons as custom shapes that only appear as the custom shape when in use on a folder.
Examples
The .psd file in Photoshop is only the blue disc shape, but when it's saved, the white background is added by default.
.psd format image being used as icon on a Mac folder
http://aycu04.webshots.com/image/11643/2005780580547335471_rs.jpg
Info box of the .psd image, when copying the small top-left icon image to paste over the top-left default folder icon image in the default folder's Info box
http://aycu16.webshots.com/image/10335/2005722217103974447_rs.jpg
A randomly selected custom iPod icon that was downloaded from an Icon website, already on a folder
http://aycu23.webshots.com/image/11302/2001094680500985005_rs.jpg
Info box of folder
http://aycu11.webshots.com/image/9890/2001025358503314932_rs.jpg
I know how to use the Save for Web feature in Photoshop using the .png-24 selection which produces a transparent background, but that format doesn't work for icons.
What format(s) do I need to save images as to use as custom shaped icons on Mac folders?
A detailed reply would be very appreciated.
17" iMac G4, 1GHz PowerPC, 768mb RAM Mac OS X (10.4.8)The easiest way to get what you want is try Iconographer:
http://www.mscape.com/products/iconographer.html
It is quick, easy and a mere $15. You can do it "by hand" but it can get a bit complicated or iffy.
1. Create the icon you want in Photoshop, format is 128x128 pixels at 72dpi.
2. Make sure you have a transparent background layer, flatten the file
3. Save as a tif file: myicon.tif
4. Launch Terminal and type the command:
tiff2icns /path/to/myicon.tif
You can get Terminal to fill in the path for you, just put a space after the command, then drag the file into the Terminal window and drop it.
Hit the Return key. With luck you will have a new file "myicon.icns" with the transparency preserved.
5. Actually using your icon requires the icns file to actually display the icon so you can copy it from the GetInfo window. The only sensible way to do this is to download the freeware program icns2icon:
http://www.icons.cx/goodies/
6. Launch icns2icon and drop your new icon file on it. Now when you do GetInfo on the file there will be an icon to copy.
Iconographer is easier and better. If you want to make a bunch of custom icons with transparent backgrounds it is well worth the 15 bucks.
Francine
Francine
Schwieder -
Pictures not displaying as icons in picture folders
When I open my picture folder while in Finder, some of the nested folders will show previews of the photos as icons, while other folders only show the generic "jpeg" icon. Does anyone know why? My goal is to have the pictures themselves be displayed. Thanks!
Actually, I think the problem is the View setting for the nested folders. Check it and make sure the sub-folder has the option set to display an icon preview. Also, there are different setting options for each type of "view"--and folders can vary in their individual settings. Frankly, I believe the system for setting the view options is confusing and less useful than it used to be, but Apple likes the way it works now, and no one asked me.....
Francine
Francine
Schwieder -
Document icon in Finder window differs from Get Info icon
I've been noticing unexpected document icons in Finder windows for quite some time.
This is especially true for PDF files. Since the early days of Mac OS X, I've configured my Macs to open PDF files in Adobe Reader, and I'm accustomed to seeing an Adobe PDF document icon on each PDF file. For some time, I've been seeing different PDF icons, e.g., a document with fuzzy text lines and a black ring binding on the left edge.
I thought this might be a custom icon. But when I do a Get Info on the PDF file, the conventional Adobe PDF icon appears in the Get Info window.
Is this different between the Finder icon and the Get Info icon a bug or a feature?
-- WardIt's a feature. Any window that has the View Options set to "Show Icon Preview" will do that. It actually is rather handy in a folder that is set to icon view, with nice BIG icons, you can often see the first page (which is what is displayed) clearly enough to recognize exactly what the file is. In List view it isn't at all helpful, nor is it helpful in those cases where you have icon view set, but the icons are quite small (as is the case on my Desktop, and, I suspect, on most people's Desktops). A pdf that has multiple pages will additionally show the "binder" along the left edge. The Finder is drawing these custom icons on the fly from the contents of the file. The only way to defeat it is to turn of the Show Icon Preview for the folder(s) where you don't want an essentially useless and often counter-productive icon. Do that from the Finder's View menu item, Show View Options. Oh, and every folder has different options for each view. So you can turn it off for List view, but have it turned on for icon view, where it might actually be useful.
Francine
Francine
Schwieder -
When I copy a lot of images into a folder, the icons in Finder aren't always created correctly. Can anyone tell me why or how to update them once they have been created?
Here is a sample:I tried several copies of hundreds of images both to a new folder on my desktop and to a new folder on the RAID. In all instances the icons were created correctly. I removed the com.apple.finder.plist and rebooted. The icons were then all recreated correctly. It looks like I'll have to reorder all the folders as the files are all jumbled up by name and such in the Finder window when viewing in icon mode, but I can deal with that.
I use Bibble to convert my RAW camera images into JPG images. Since Bibble makes use of multiple processors and threads to convert the images, I'm wondering if Finder is trying to create the thumbnails before each of the Bibble threads has completed. Next time I'll try running Bibble WITHOUT the finder window open, so that finder will have complete images to create thumbnails from when I open up the folder.
Anyway, thanks for the tip. -
Network icon in Finder not functional
I have an Intel Mac Mini Core 2 Duo w/OS X 1.4.10.
My Network icon shows up in Finder just fine. BUT, below that it only shows three folders
Applications
Library
Users
I can't see or browse my network at all. I can click on Go --> Connect To Server and manually do it, but I would rather have the option to see all the machines on my network. I have tried removing and re-adding the Network icon in Finder | Preferences. I have done a killall -HUP Finder.
I tried deleting all of those folders. Now my Network is empty, at least according to the OS X point of view.
On the flip side, I know Samba is working because I can browse the Mac from all my PC's.
Does any of you Mac guru's know what's going on? I know *nix and I know Windows. Mac's are fairly new to me...
Thanksusername/password - I inherited this machine so yes, I am pretty sure I might have done that. Would it be easier to create another user and that way the preferences would be "fresh"?
Hey, great idea for a test!
I saw in that other Network folder problem thread about deleting a file called com.apple.systempreferences (or something very similar). Would that help?
The partial list of filesfolders I've seen cause problems are...
/Library/Preferences/com.apple.sharing.firewall.plist
/Users/nnnnLibrary/Preferences/com.apple.internetconnect.plist
/Library/Preferences/SystemConfiguration/preferences.plist
/Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
/Library/Preferences/SystemConfiguration/SystemConfiguration/
I haven't been using it very long so configuring settings over again isn't a big issue.
If User settings aren't the problem... doesn't look like it to me so far, then an Archive and Install from your Install CD/DVD might be the trick.
P.S. Should I have to recreate the Network folder after reboot? applejack didn't recreate it if it was supposed to...
No, Applejack doesn't create anything... the OS should re-create that Network stuff once it reboots and finds none... maybe you have to toggle/do some Network stuff afterwards... not sure... still a bit blown away that what I did to fix the problem in several instances like yours... came up empty on your end! -
Custom Icon Images for Folders in KM
Hello Everyody,
I have to display folders such as Pesonal Documents, Public documents, Recently used, Favourites etc which are there in the entry point repository in KM. Right now all these folders are being displayed with the default icon image specified. I want to replace these default images with custom images but couldnt see any property where i can change the image path for these folders. I checked the details of all these folders and even went through the properties but there it shows only the default image name speciefied for that folder and no active settings where i can change the image path for custom icon. Kindly suggest how to implement custom image for KM folder icons.
Thanking you all in advance,
Regards,
Sarabjeet.Hi,
If I understood, you have a KM navigation iview, where some folders apperar. You want to change the icon for each of them differently.
For this do the following:
First have a look into the KM.navigation iview and get the layout set property. Go to System config->KM->Content management->User interface->Settings->LayoutSet and find the layout set you are using. Go to appropriate resource renderer and check the "<b>Icon setting</b>". Change it to: <b>iconreplace</b>.
Now get the KM details for your folders and change the <b>IconSource</b> property to your image Example:
/etc/public/mimes/images/add.gif
Voila...the icons for these folders are changed!
Hope this is your case.
Romano -
Export Aperture library objects to Finder folders
Inspired by the posted message by user http://discussions.apple.com/profile.jspa?userID=616539 I wrote a script that will do the following:
1. Sync Folders/SubFolders/Albums/Projects..etc hierarchy tree from Aperture to a Finder folders tree
2. At run-time the script will creates/append to a log file under (home directory)\Library\Logs\AppleScriptExportApertureLibrary.log
3. Exports all projects images versions with embedded metadata
4. Create a file system "hard links" for each photo in the respective Albums pointing to the project folder location in order to preserve space.
5. Compare modification date on the image files and modification date within Aperture and export only modified images in order to save time for a full sync/export.
6. In interactive mode you can select Export Folder location, Aperture Library location and Projects List (project list will contain project name and internal aperture project id).
7. In non-interactive (from command line) mode there are two arguments:
7a. "quiet" - exports all projects
7b. "quiet" "Project Information" - export only certain projects. the project information can be found in the log file.
8. Remove any images or folders from Finder export directory that do not exist in Aperture database any more.
Hopefully this would help anyone who is looking to export from Aperture on a regular basis. I am not sure how it will handle large amount of photos. I tested it with 3k+ photos.
Please note that you use this script at your own risk.
Here is the script code:
global theFoldersTree_G
global theLibraryPath_G
global theProcessedProjects_G
global theSelectedProjects_G
global theAllAlbums_G
global theScriptName_G
global Sqlite_G
global ApertureLibrary_G
global numExports_G
on run argv
set Sqlite_G to "/usr/bin/sqlite3"
set ApertureLibraryPath to POSIX path of (path to home folder) & "Pictures/"
set ApertureLibrary_G to ApertureLibraryPath & "Aperture Library.aplibrary/Aperture.aplib/Library.apdb"
set exportFolder to POSIX path of (path to home folder) & "Pictures/Aperture Exports/"
set theScriptName_G to "ExportApertureLibrary"
set theSelectedProjects_G to "ALL PROJECTS"
set theFoldersTree_G to {}
set theProcessedProjects_G to {}
set theAllAlbums_G to {}
set numExports_G to 0
logEvent("Started")
set theArgv1 to {}
set theArgv2 to {}
if (count of argv) ≥ 1 then
set theArgv1 to item 1 of argv
end if
if (count of argv) = 2 then
set theArgv2 to item 2 of argv
end if
logEvent("Passed ARGV 1: " & theArgv1)
logEvent("Passed ARGV 2: " & theArgv2)
if theArgv1 is not equal to "quiet" then
set theFile to (choose file with prompt "Please choose the Aperture Library file" default location POSIX file ApertureLibraryPath) as string
set ApertureLibrary_G to POSIX path of theFile & "Aperture.aplib/Library.apdb"
set exportFolder to POSIX path of (choose folder with prompt "Please choose the export folder" default location POSIX file exportFolder) as string
end if
logEvent("ApertureLibrary_G path is set to: " & ApertureLibrary_G)
logEvent("exportFolder path is set to: " & exportFolder)
try
tell application "Aperture"
logEvent("Getting list of project path information...") of me
set SqlStatement to "
select replace(A.ZLIBRARYRELATIVEPATH,'.approject',''),A.ZUUID
from ZRKFOLDER AS A
WHERE A.ZFOLDERTYPE=2
ORDER BY A.ZNAME"
set SQLProjectUUIDPath to DB_execute(SqlStatement) of me
set theProjectsOptions to SQLProjectUUIDPath as list
set end of theProjectsOptions to "ALL PROJECTS"
logEvent("Projects list: " & theProjectsOptions as string) of me
if theArgv1 is not equal to "quiet" then
set theSelectedProjects_G to choose from list SQLProjectUUIDPath with prompt "Please choose a project(s):"
end if
if theArgv2 is not equal to {} then
set theSelectedProjects_G to theArgv2
end if
logEvent("The selected projects : " & theSelectedProjects_G as string) of me
logEvent("Getting list of libraries...") of me
set theLibraryList to every library
logEvent("Found " & (count of theLibraryList) & " libraries") of me
repeat with theLibrary in theLibraryList
set theLibraryName to name of theLibrary
logEvent("Processing library: " & theLibraryName) of me
set LibraryFolders to {}
set theProcessedProjects_G to {}
tell application "Finder"
if not (exists (POSIX file (exportFolder & theLibraryName) of me)) then
logEvent("creating new folder " & theLibraryName & " at " & exportFolder) of me
make new folder at (POSIX file exportFolder of me) with properties {name:theLibraryName}
end if
end tell
set theLibraryPath_G to exportFolder & theLibraryName & "/"
logEvent("Getting list of folders...") of me
set theFolderList to every folder of library id (id of theLibrary)
logEvent("Found " & (count of theFolderList) & " folders") of me
set theRootFolderList to {}
if theFolderList is not equal to {} then
processFoldersTree(0, theFolderList) of me
repeat with theFolder in theFolderList
if (id of theFolder) is not in theFoldersTree_G as string then
logEvent("Found root folder : " & (name of theFolder) as string) of me
set end of theRootFolderList to theFolder
set end of LibraryFolders to (name of theFolder)
end if
end repeat
end if
if theRootFolderList is not equal to {} then
processFolders(theRootFolderList, theLibraryPath_G, "projects") of me
processFolders(theRootFolderList, theLibraryPath_G, "albums") of me
else
set theProjectList to every project of library id (id of theLibrary)
set end of LibraryFolders to processProjects(theProjectList, theLibraryPath_G, "projects") of me as list
processProjects(theProjectList, theLibraryPath_G, "albums") of me
end if
logEvent("Getting list of projects...") of me
set theProjectList to every project of library id (id of theLibrary)
logEvent("Found " & (count of theProjectList) & " projects") of me
logEvent("Getting list of albums...") of me
set theAlbumList to every album of library id (id of theLibrary)
logEvent("Found " & (count of theAlbumList) & " albums") of me
set theRootProjectList to {}
if theProjectList is not equal to {} then
repeat with theProject in theProjectList
if (id of theProject) is not in theProcessedProjects_G as string then
logEvent("Found root project : " & (name of theProject) as string) of me
set end of theRootProjectList to theProject
set end of LibraryFolders to (name of theProject)
end if
end repeat
end if
set theRootAlbumList to {}
if theAlbumList is not equal to {} then
processAlbumsTree(theProjectList, theFolderList) of me
set theRootAlbumList to {}
repeat with theAlbum in theAlbumList
if (id of theAlbum) is not in theAllAlbums_G as string then
logEvent("Found root album : " & (name of theAlbum) as string) of me
set end of theRootAlbumList to theAlbum
set end of LibraryFolders to (name of theAlbum)
end if
end repeat
end if
if theRootProjectList is equal to {} then
processAlbums(theRootAlbumList, theLibraryPath_G, "albums") of me
else
processProjects(theRootProjectList, theLibraryPath_G, "projects") of me
processProjects(theRootProjectList, theLibraryPath_G, "albums") of me
if theRootAlbumList is not equal to {} then
processAlbums(theRootAlbumList, theLibraryPath_G, "albums") of me
end if
end if
cleanup(LibraryFolders, theLibraryPath_G, "all") of me
end repeat
logEvent("total exports : " & numExports_G) of me
if theArgv1 is not equal to "quiet" then
display dialog "Total image exports : " & numExports_G buttons {"OK"} with title "Aperture Library Export" with icon note
end if
end tell
on error s number i partial result p from f to t
set s to "Error: " & s
logEvent(quoted form of (s))
if theArgv1 is not equal to "quiet" then
display dialog "ERROR : " & s buttons {"OK"} with title "Aperture Library Export" with icon note
end if
end try
end run
on cleanup(theObjects, thePath, theSelection)
logEvent("Cleaning export folders...") of me
logEvent("# Objects: " & (count of theObjects)) of me
logEvent("Export Folder: " & (thePath as string))
tell application "Finder"
logEvent("Getting list of folders...") of me
set theFolderList to every folder in folder (POSIX file thePath of me)
logEvent("Found " & (count of theFolderList) & " folders") of me
logEvent("Getting list of files...") of me
set theFileList to every file in folder (POSIX file thePath of me)
logEvent("Found " & (count of theFileList) & " files") of me
repeat with theFolder in theFolderList
set theFolderName to name of theFolder
if theFolderName is not in theObjects as string then
logEvent("Moving folder " & theFolder & " to trash...") of me
move theFolder to trash
end if
end repeat
if theSelection is not equal to "folder" then
repeat with theFile in theFileList
set theFileName to name of theFile
if theFileName is not in theObjects as string then
logEvent("Moving file " & theFile & " to trash...") of me
move theFile to trash
end if
end repeat
end if
end tell
logEvent("Cleaning completed...") of me
end cleanup
on logEvent(logMessage)
set theLine to quoted form of (((current date) as string) ¬
& " : " & logMessage)
do shell script "echo " & theLine & ¬
" >> ~/Library/Logs/AppleScript" & theScriptName_G & ".log"
end logEvent
on DB_lookupProjectPath(puuid)
set SqlStatement to "
select replace(rtrim(ZLIBRARYRELATIVEPATH,'.approject'),'/',':' )
from ZRKFOLDER
where
ZUUID ='" & puuid & "'"
set SqlRecords to DB_execute(SqlStatement)
return DB_record(SqlRecords, 1, 1)
end DB_lookupProjectPath
on processFolders(theFoldersList, theFolderPath, processOrder)
logEvent("processFolders... : " & theFolderPath) of me
set arrayOfFolders to {}
tell application "Aperture"
set theCount to count of theFoldersList
set theCounter to 1
repeat with theFolder in theFoldersList
set foldersOfFolder to {}
set theFolderName to name of theFolder
logEvent("Processing folder : " & theFolderName & " (" & theCounter & "/" & theCount & ")") of me
set theCounter to theCounter + 1
set end of arrayOfFolders to theFolderName
tell application "Finder"
if not (exists (POSIX file (theFolderPath & theFolderName) of me)) then
logEvent("creating new folder " & theFolderName & " at " & theFolderPath) of me
make new folder at (POSIX file theFolderPath of me) with properties {name:theFolderName}
end if
end tell
logEvent("Getting list of album...") of me
set theAlbumsListOfFolder to every album of folder id (id of theFolder)
logEvent("Found " & (count of theAlbumsListOfFolder) & " albums") of me
logEvent("Getting list of folder...") of me
set theFolderListOfFolder to every folder of folder id (id of theFolder)
logEvent("Found " & (count of theFolderListOfFolder) & " folders") of me
logEvent("Getting list of project...") of me
set theProjectsListOfFolder to every project of folder id (id of theFolder)
logEvent("Found " & (count of theProjectsListOfFolder) & " projects") of me
if theProjectsListOfFolder is not equal to {} then
set end of foldersOfFolder to processProjects(theProjectsListOfFolder, (theFolderPath & theFolderName & "/"), processOrder) of me as list
end if
if theFolderListOfFolder is equal to {} then
set end of foldersOfFolder to processAlbums(theAlbumsListOfFolder, (theFolderPath & theFolderName & "/"), processOrder) of me as list
else
if theAlbumsListOfFolder is not equal to {} then
set end of foldersOfFolder to processAlbums(theAlbumsListOfFolder, (theFolderPath & theFolderName & "/"), processOrder) of me as list
end if
set end of foldersOfFolder to processFolders(theFolderListOfFolder, (theFolderPath & theFolderName & ":"), processOrder) of me as list
end if
cleanup(foldersOfFolder, (theFolderPath & theFolderName & "/"), "all") of me
end repeat
end tell
logEvent("processFolders completed...") of me
return arrayOfFolders
end processFolders
on processFoldersTree(theParent, theFoldersList)
logEvent("processFoldersTree...") of me
tell application "Aperture"
repeat with theFolder in theFoldersList
if theParent is not 0 then
set end of theFoldersTree_G to (id of theFolder)
end if
set theFolderListOfFolder to every folder of folder id (id of theFolder)
if theFolderListOfFolder is not equal to {} then
processFoldersTree((id of theFolder), theFolderListOfFolder) of me
end if
end repeat
end tell
logEvent("processFoldersTree completed...") of me
end processFoldersTree
on processAlbumsTree(theProjectsList, theFoldersList)
logEvent("processAlbumsTree...") of me
set theAllAlbums_G to {}
tell application "Aperture"
repeat with theProject in theProjectsList
repeat with theAlbum in (every album of project id (id of theProject))
set end of theAllAlbums_G to (id of theAlbum)
end repeat
end repeat
repeat with theProject in theProjectsList
repeat with theAlbum in (every album of every subfolder of project id (id of theProject))
set end of theAllAlbums_G to (id of theAlbum)
end repeat
end repeat
repeat with theFolder in theFoldersList
repeat with theAlbum in (every album of folder id (id of theFolder))
set end of theAllAlbums_G to (id of theAlbum)
end repeat
end repeat
end tell
logEvent("processAlbumsTree completed...") of me
end processAlbumsTree
on DB_lookupImageInfo(puuid)
set SqlStatement to "
SELECT replace(A.ZLIBRARYRELATIVEPATH,'.approject',''),strftime('%m/%d/%Y %H:%M:%S',datetime(B.ZDATELASTSAVEDINDATABASE, 'unixepoch', '+31 years','localtime'))
from ZRKFOLDER AS A,ZRKVERSION AS B
where
B.ZPROJECTUUID = A.ZUUID AND
B.ZUUID ='" & puuid & "'"
set SqlRecords to DB_execute(SqlStatement)
return {theImagePath:DB_record(SqlRecords, 1, 1), theImageDate:DB_record(SqlRecords, 1, 2)}
end DB_lookupImageInfo
on processProjects(theProjectsList, theProjectPath, processOrder)
logEvent("processProjects... : " & theProjectPath) of me
logEvent("processOrder: " & processOrder) of me
set arrayOfProjects to {}
tell application "Aperture"
set theCount to count of theProjectsList
set theCounter to 1
repeat with theProject in theProjectsList
set ProjectFolders to {}
set theProjectName to name of theProject
set end of arrayOfProjects to theProjectName
set theContinue to 0
if "ALL PROJECTS" is not in theSelectedProjects_G as string then
if (id of theProject) is not in theSelectedProjects_G as string then
logEvent("Skipping project: " & theProjectName) of me
set theContinue to 1
end if
end if
if theContinue = 0 then
-- set theProjectPath to theProjectPath & DB_lookupProjectPath(id of theProject) of me
logEvent("Processing project : " & theProjectName & " (" & theCounter & "/" & theCount & ")") of me
tell application "Finder"
if not (exists (POSIX file (theProjectPath & theProjectName) of me)) then
logEvent("creating new folder " & theProjectName & " at " & theProjectPath) of me
make new folder at (POSIX file theProjectPath of me) with properties {name:theProjectName}
end if
end tell
if processOrder is equal to "projects" then
set end of theProcessedProjects_G to (id of theProject)
logEvent("Getting list of images...") of me
set theImageList to every image version of project id (id of theProject) as list
logEvent("Found " & (count of theImageList) & " images") of me
set end of ProjectFolders to processImages(theImageList, (theProjectPath & theProjectName & "/"), "project", "JPEG - Original Size") of me as list
end if
logEvent("Getting list of subfolders...") of me
set theSubfolderList to every subfolder of project id (id of theProject)
logEvent("Found " & (count of theSubfolderList) & " subfolders") of me
logEvent("Getting list of album...") of me
set theAlbumList to every album of project id (id of theProject)
logEvent("Found " & (count of theAlbumList) & " albums") of me
if theSubfolderList is equal to {} then
set end of ProjectFolders to processAlbums(theAlbumList, (theProjectPath & theProjectName & "/"), processOrder) of me as list
else
if theAlbumList is not equal to {} then
set end of ProjectFolders to processAlbums(theAlbumList, (theProjectPath & theProjectName & "/"), processOrder) of me as list
end if
set end of ProjectFolders to processSubfolders(theSubfolderList, (theProjectPath & theProjectName & "/"), processOrder) of me as list
end if
if processOrder is equal to "projects" then
cleanup(ProjectFolders, (theProjectPath & theProjectName & "/"), "all") of me
else
cleanup(ProjectFolders, (theProjectPath & theProjectName & "/"), "folder") of me
end if
end if
set theCounter to theCounter + 1
end repeat
end tell
logEvent("processProjects completed...") of me
return arrayOfProjects
end processProjects
on exportImage(imageUUID, imageName, exportFolder, imageType, isAlbum, exportSettings, imageExt)
set imageInfo to DB_lookupImageInfo(imageUUID) of me
set imageTime to theImageDate of imageInfo as Unicode text
set imageDate to date imageTime
set isExported to 0
set imageName to imageName & imageExt
set theFile to POSIX file (exportFolder & imageName)
tell application "Finder"
set isUpdate to 0
if not (exists theFile) then
logEvent("Image does not exist in folder : " & exportFolder) of me
set isUpdate to 1
else
logEvent("Get image modification date") of me
do shell script "ls -l " & quoted form of (exportFolder & imageName)
set imageFileDate to modification date of (info for theFile)
if imageDate ≥ imageFileDate then
logEvent("Image file date: " & imageFileDate as string) of me
set isUpdate to 1
end if
end if
if isUpdate = 1 then
if exists theFile then
move theFile to the trash
end if
if isAlbum is equal to "album" then
logEvent("Creating a link for image: " & imageName) of me
set theProjectFolder to theImagePath of imageInfo
do shell script "ln " & quoted form of (theLibraryPath_G & theProjectFolder & "/" & imageName) & " " & quoted form of exportFolder
else
set isExported to 1
logEvent("Exporting image: " & imageName) of me
tell application "Aperture"
if imageType is "master" then
set settings to exportSettings
export {image version id imageUUID} using settings to POSIX path of file exportFolder metadata embedded
else
set settings to exportSettings
export {image version id imageUUID} using settings to POSIX path of file exportFolder metadata embedded
end if
end tell
end if
end if
end tell
return isExported
end exportImage
on DB_execute(SqlStatement)
try
set SqlScript to Sqlite_G & space & "-separator '|'" & space & (quoted form of ApertureLibrary_G) & space & (quoted form of SqlStatement) & " 2>&1"
set SqlResult to do shell script SqlScript
set theARray to {}
set tid to AppleScript's text item delimiters
set AppleScript's text item delimiters to ASCII character 13
set SqlRecords to text items of SqlResult
set AppleScript's text item delimiters to tid
return SqlRecords
on error s number i partial result p from f to t
set s to "SQL Error: " & s
logEvent(quoted form of (s)) of me
end try
end DB_execute
on DB_record(SqlRecords, row, col)
try
set tid to AppleScript's text item delimiters
set AppleScript's text item delimiters to "|"
set SqlCols to text items of (item row of SqlRecords)
set AppleScript's text item delimiters to tid
return item col of SqlCols
on error
return {}
end try
end DB_record
on DB_lookupRecord(SqlRecords, theReturnCol, theText, theCol)
set theResult to ""
repeat with theRow in items of SqlRecords
set tid to AppleScript's text item delimiters
set AppleScript's text item delimiters to "|"
set theFields to text items of theRow
set AppleScript's text item delimiters to tid
if item theCol of theFields is equal to theText then
set theResult to item theReturnCol of theFields
exit repeat
end if
end repeat
return theResult
end DB_lookupRecord
on processImages(theImageList, exportFolder, isAlbum, exportSettings)
logEvent("processImages... : " & exportFolder) of me
if exportSettings contains "JPEG" then
set imageExt to ".jpg"
else
set imageExt to ".ANY"
end if
set arrayOfImages to {}
with timeout of 6000 seconds
set theCount to count of theImageList
set theCounter to 1
repeat with theImage in theImageList
set imageUUID to id of theImage
set imageName to name of theImage
set end of arrayOfImages to imageName & imageExt
logEvent("Processing image : " & imageName & " (" & theCounter & "/" & theCount & ")") of me
set numExports_G to numExports_G + (exportImage(imageUUID, imageName, exportFolder, "version", isAlbum, exportSettings, imageExt) of me)
set theCounter to theCounter + 1
end repeat
end timeout
return arrayOfImages
end processImages
on processAlbums(theAlbumsList, theAlbumPath, processOrder)
logEvent("processAlbums... : " & theAlbumPath) of me
set arrayOfAlbums to {}
tell application "Aperture"
set theCount to count of theAlbumsList
set theCounter to 1
repeat with theAlbum in theAlbumsList
set theAlbumName to name of theAlbum
logEvent("Processing album : " & theAlbumName & " (" & theCounter & "/" & theCount & ")") of me
set theCounter to theCounter + 1
set AlbumObjects to {}
set end of arrayOfAlbums to theAlbumName
tell application "Finder"
if not (exists (POSIX file (theAlbumPath & theAlbumName) of me)) then
logEvent("creating new folder " & theAlbumName & " at " & theAlbumPath) of me
make new folder at (POSIX file theAlbumPath of me) with properties {name:theAlbumName}
end if
end tell
logEvent("Getting list of images...") of me
set theImagesList to every image version of album id (id of theAlbum)
logEvent("Found " & (count of theImagesList) & " images") of me
if processOrder is equal to "albums" then
set end of AlbumObjects to processImages(theImagesList, (theAlbumPath & theAlbumName & "/"), "album", "JPEG - Original Size") of me as list
cleanup(AlbumObjects, (theAlbumPath & theAlbumName & "/"), "all") of me
end if
end repeat
end tell
logEvent("processAlbums completed...") of me
return arrayOfAlbums
end processAlbums
on processSubfolders(theSubfoldersList, theSubfolderPath, processOrder)
logEvent("processSubfolders... : " & theSubfolderPath) of me
set arrayOfSubfolders to {}
tell application "Aperture"
set theCount to count of theSubfoldersList
set theCounter to 1
repeat with theSubfolder in theSubfoldersList
set theSubfolderName to name of theSubfolder
logEvent("Processing subfolder : " & theSubfolderName & " (" & theCounter & "/" & theCount & ")") of me
set theCounter to theCounter + 1
set end of arrayOfSubfolders to theSubfolderName
tell application "Finder"
if not (exists (POSIX file (theSubfolderPath & theSubfolderName) of me)) then
logEvent("creating new folder " & theSubfolderName & " at " & theSubfolderPath) of me
make new folder at (POSIX file theSubfolderPath of me) with properties {name:theSubfolderName}
end if
end tell
set SubfoldersFolders to {}
logEvent("Getting list of albums ...") of me
set theAlbumsListOfSubfolder to every album of subfolder id (id of theSubfolder)
logEvent("Found " & (count of theAlbumsListOfSubfolder) & " albums") of me
logEvent("Getting list of subfolders...") of me
set theSubfoldersListOfSubfolder to every subfolder of subfolder id (id of theSubfolder)
logEvent("Found " & (count of theSubfoldersListOfSubfolder) & " subfolders") of me
if theSubfoldersListOfSubfolder is equal to {} then
set end of SubfoldersFolders to processAlbums(theAlbumsListOfSubfolder, (theSubfolderPath & theSubfolderName & "/"), processOrder) of me as list
else
if theAlbumsListOfSubfolder is not equal to {} then
set end of SubfoldersFolders to processAlbums(theAlbumsListOfSubfolder, (theSubfolderPath & theSubfolderName & "/"), processOrder) of me as list
end if
set end of SubfoldersFolders to processSubfolders(theSubfoldersListOfSubfolder, (theSubfolderPath & theSubfolderName & "/"), processOrder) of me as list
end if
cleanup(SubfoldersFolders, (theSubfolderPath & theSubfolderName & "/"), "all") of me
end repeat
end tell
logEvent("processSubfolders completed...") of me
return arrayOfSubfolders
end processSubfoldersIf you do externalize your Masters to folders anywhere (same drive, internal/external drive, multiple drives, whatever), never be tempted to use Finder to mess with them.
As Frank said, use Relocate Masters. Otherwise you'll confuse Aperture when it wakes up expecting Masters to be in certain places when they have moved elsewhere.
It's possible to fix up the mess, but it's no fun! -
File icons in exported folders
On a Mac You are used to have small thumbnailpictures ( file icons ) in the folders. When you work on a picture in photoshop and save it it has the small pictures. In Capture One You can choose to make the icons when exporting (developing). In Aperture You also get the file icons, but with LR all you get is a jpeg-symbol. I know this perhaps is a minor thing because you can se se and browse the pictures in the library. I also know it is something windows users never had. But I like to look at a folder without to open a program and get an overview. Is there somewhere in the preferences I have overlooked, or is is something that belongs to the past ?
Jan HerrstedtThe preview icons are there, but it is not SMALL PICTURES Alike those embedded in the thumbnail
You have to set the finder "View options" accordingly ...
To be clear, I don't mean the icon of the Preview.app but actual small previews of the images. And theses are not embedded thumbnails, but created by the Finder on the fly. So to answer your original question: Lightroom does not embed thumbnails in exported jpegs (I guess to keep the file size down), but the Finder does not need them to show a preview of the image as its icon. -
Switch to Icon layout in folders
Hi Everyone, I was just wondering how do I make it so the folders in the Home menu on my iMac stay to the new layout? The Icons I'm talking about are the ones that you find in the Go menu of Finder, Those Icons to the side of each word (such as downloads) appear in the home folder but then they change back to the default folder icon again, is there any option or something I could do so it won't change and it will keep these images as the defaults?
Under the Go menu you cannot change the layout from what is shown in your picture. You can only change the Finder window's layout as you probably already know.
-
The window that opens when I click on the Time Machine icon is Finder (devices) and when I close this Time Machine also closes.
You will need to be much more specific about what you problem is. That is how TM works. That is how you find things to restore from TM, by using a Finder window so that you can browse through the Mac's hierarchy of folders and files.
Why are you double posting this? -
Hi all - I have found the Organiser folder structure quite confusing and it does not seem to replicate the Finder folder structure other than randomly, unlike Bridge in PS for PC which I also use.
I would love to be able to create folders in elements or simply do so in Finder and find them show up in elements Organiser. It seems to me that only once I have saved an image to a folder in the Finder does it show up in the Organiser folder view. Is this correct?
Any suggestions around a sensible workflow or approach here would be most welcome, thanks. SeanMany thanks Andaleeb - yes I have tried that and it seems only to add to the confusion - folders which in the Finder clearly show all my images are blank in PSE Organiser with the statement that they still have to be imported into PS Organiser. I guess that may be my fault because, due to the problems in locating files in Organiser I right clicked on them in the Finder and said 'open with PSE'. So in effect I bypassed PSE Organiser. But one would still have hoped that the folder hierarchy would be the same in Organiser and the Finder. Very confusing! I have never seen a program deal with folders etc in the way PSE does.
all the best
Sean
Maybe you are looking for
-
Time Machine And Repair Permissions Error
Hi. I have a new Intel Mac running Leopard. "Set up Assistant" worked like a charm and brought over all my preferences, iTunes, iPhoto etc. with out a hitch. Verified permissions and the disk and came up clean. I bought a USB LaCie 500GB external har
-
Trouble with General Ledger Accounts
Hello All: I am hoping I am posting this in the right forum So I am posting in a few places....I am in desperate need of help...we are at our year end and have an issue that I need to clear up badly. We are using ECC 6.0 Scenerio When we perform an
-
Urgent help with Material classification
Thsi is regarding data into BW for Material classification. I am tryign to create the extractors as suggested in BW expert & in the forums posted by others. I did create 1CL_0MAT001 .but i did nto understand where to add the charerceristics & further
-
It's not letting me update my apps how can I sort it
Am having problems updating my apps and it keeps on coming up about me billing information and keeps saying it declined all of the time what can I do ? To sort the problem out ?
-
WM Material Status in Production
Hi everyone, I'm new to the forum and am implementing WM wit SU mgmt. There is a question I would like to place and would thank your help: ¿Is there any proper way to cancel Production supply movements generated in LP10 transaction so that cancellati