Step through folder heirarchy to make all thumbnails

New to Bridge but not [Apple]scripting. I see Bridge CS3 has almost no Applescript commands but all Javascript.
My question is: Is it possible to tell Bridge to step through a big folder heirarchy and create thumbnails for all images?
Any quick examples or reference appreciated.

You can use two approaches -- you can use the ExtendScript Folder and File classes or the Bridge API's Thumbnail class.
Download the Bridge SDK from www.adobe.com/devnet/bridge
You'll find API documentation for the Folder and File objects in the JavaScript tools guild and of the Thumnail object in the Bridge CS3 JavaScript Reference (both in the SDK's docs folder).
Please not that if you iterate over the files in a folder using the Thumbail object be sure to use this approach:
var parent = new Thumbnail( new Folder("~/SomeImages") );
var children = parent.children;
for( var c = 0; c < children.length; ++c )
//etc...
And not...
for( var c = 0; c < parent.children.length; ++c )
// etc..
The latter approach will be very slow and unreliable--each access to the Thumbnail.children property returns a new array of Thumbnails.
-David Franzen
Adobe Bridge Quality Engineer
Adobe Systems, Inc.

Similar Messages

  • I have blurry artwork in Album View thumbnails.  Deleting the cache makes all the artwork sharp, but once iTunes is restarted, the artwork goes back to being fuzzy unless i delete cache again.

    I have blurry artwork in Album View thumbnails, but not in Grid View/Cover Flow.  Deleting the cache and forcing it to rebuild makes all the artwork sharp, but once iTunes is restarted, the artwork goes back to being fuzzy unless i delete cache again.

    Responding to your request here.
    I can't say it's a problem I've noticed personally, though now you've made me look it does seem that the large thumbnail is slightly fuzzier than the same image in the artwork panel. I have the artwork panel as small as it goes (small screen) and it is still slightly larger than the image in the browser so that might be all there is to it.
    Here's an example from my screen.
    Perhaps iTunes is storing a thumbnail at say "medium" size which it then blows up to create the large image. Are you seeing a similar effect or is your "fuzzy" art much fuzzier? A screenshot would be helpful.
    tt2

  • I have one folder with several projects all of which Aperure can not find the original.  I do not use referenced files.  I can't make any adjustments like cropping etc. What can I do to print any of these photos?

    I have one folder with several projects all of which Aperure can not find the original.  I do not use referenced files.  I can't make any adjustments like cropping etc. What can I do to adjust or print any of these photos?  IO have no ther projects with this problem.  My Aperture Library is automatically saved to two external drives.
    Dick Koos

    I have one folder with several projects all of which Aperure can not find the original.
    Have you checked inside your Aperture library, if the original files are still there?
    Try to find out, when the images in those projects have been originally imported, then open the Aperture library by ctrl-clicking it and using the command "Show package contents" from the pop-up menu. In the window that will open, select the folder "Masters" and browse the contents. You need to find the subfolder with the year you imported the images, then the folders with the month and the day.
    Are your original files still there?
    If yes, copy them to a folder on your desktop for safe-keeping, and then try, if repairing the permissions and the other Furst Aid tools will help Aperture to connect to these missing files again - see this link:  Repairing and Rebuilding Your Aperture Library: Aperture 3 User Manual
    If the First Aid Tools don't help, then check, if Aperture has moved the missing images to a "recovered folder". If not, reimport the images, you saved to your Desktop and use the Lift&Stamp tool to transfer any adjustment and captions to your reimported images.

  • Once I fix the thumbnail pictures in iPhoto, how do I make them stay fixed.  Everytime I turn the computer back on iPhoto goes directly back to having 1 picture for all thumbnails.

    I have been having problems with the thumbnail pictures in iPhoto.  It will typically show 1 picture for all thumbnails.  I have figured out how to repair the thumbnail pictures, but everytime the computer is shut down, the thumbnail pics revert back to 1 picture for all.

    With the amount of information you've provided it's impossible to offer a potential solution.  We can't see your computer so we need to know the details of your problem and setup, i.e.:
    what version of iPhoto are you using?
    what system version are you running?
    how do you fix the thumbnailsd?
    what other fixes have you tried?
    where is your library located?
    did you apply any updates or upgrades just prior to the problem occurring?
    are you running a "managed" or "referenced" library?
    what type of Mac?
    how much free space on your boot drive?
    OT

  • Applescript no longer steps through iCal events in sequence

    Hi all,
    I have been using an Applescript that someone on this forum helped me write a few years ago to put unique combos of events into iCal and it has worked perfectly for me, although this year it has begun to jump around within iCal when it is adding events. In other words it used to step through the calendar and add events day by day, progressing chronologically. Now it still accomplishes the task but starts (currently) with May 1 of 2011 and moves to May 16th ... The fact that it still works is cool, but it has slowed the applescript down quite a lot.
    Here is a section of the script...thanks, dan
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into a HTML editor">
    repeat with theEvent in (events of calendar "School Calendar 10-11")
    if isitacycleday contains (summary of theEvent) then
    --Gets the current day and the cycle day number
    set cycleday to summary of theEvent
    set cycleDate to (start date of theEvent) + 1 * hours
    set cycleNumber to last character of cycleday as integer
    --There are always 7 periods in every day
    repeat with periodNumber from 1 to 6
    --Gets the subject from periodCycle
    set theSummary2 to item periodNumber of item cycleNumber of periodcycle2
    set theSummary to item periodNumber of item cycleNumber of periodCycle
    --Checks to see if there's a subject for this period, if not skips to next one
    if theSummary2 is not "" then
    set theStart to date (startTime of item periodNumber of periodTimes) of cycleDate
    set theEnd to date (endTime of item periodNumber of periodTimes) of cycleDate
    --Makes the event in the calender whose name is defined at the top of the script
    make new event at end of calendar TargetCalendar with properties {summary:theSummary, start date:theStart, end date:theEnd}
    end if
    end repeat
    end if
    end repeat </pre>

    Hi Bernard,
    right, I believe you were the one that came up with this script! It still does the trick, although it does begin adding new events at different times depending on when the cache was last deleted (i think). I've used the Onyx program to do this and indeed it influences the start date for the creation of new events via your script, so I don't think it has anything to do with the master calendar. Since I repeatedly run this script to make new events and then export the calendar, delete it, make a new untitled calendar and then run the script again... I've found that iCal and the applescript sloooow down over time and it is best to quit both, maybe even restart and then start the process again. Guess I might never figure this one out.
    Thanks for the help,
    dan

  • Hi im having huge problems trying to install flash for my mac 10.5 imac, iv gone through the internet and tried all of the solutions, everytime i try to install flash it says cant read the download file, or it just wont install, anybody plz help!

    hi im having huge problems trying to install flash for my mac 10.5 imac, iv gone through the internet and tried all of the solutions, everytime i try to install flash it says cant read the download file, or it just wont install, anybody plz help!
    iv unistalled flash, iv checked plug ins it just wont work,

    It would have been a great help to know precisely what Mac you have, so some of the following may not apply:
    You can check here:  http://www.adobe.com/products/flash/about/  to see which version you should install for your Mac and OS. Note that version 10,1,102,64 is the last version available to PPC Mac users*. The latest version,10.3.183.23 or later, is for Intel Macs only running Tiger or Leopard, as Adobe no longer support the PPC platform. Version 11.4.402.265 or later is for Snow Leopard onwards.
    (If you are running Mavericks: After years of fighting malware and exploits facilitated through Adobe's Flash Player, the company is taking advantage of Apple's new App Sandbox feature to restrict malicious code from running outside of Safari in OS X Mavericks.)
    * Unhelpfully, if you want the last version for PPC (G4 or G5) Macs, you need to go here:  http://kb2.adobe.com/cps/142/tn_14266.html  and scroll down to 'Archived Versions/Older Archives'. Flash Player 10.1.102.64 is the one you download. More information here:  http://kb2.adobe.com/cps/838/cpsid_83808.html
    You should first uninstall any previous version of Flash Player, using the uninstaller from here (make sure you use the correct one!):
    http://kb2.adobe.com/cps/909/cpsid_90906.html
    and also that you follow the instructions closely, such as closing ALL applications (including Safari) first before installing. You must also carry out a permission repair after installing anything from Adobe.
    After installing, reboot your Mac and relaunch Safari, then in Safari Preferences/Security enable ‘Allow Plugins’. If you are running 10.6.8 or later:
    When you have installed the latest version of Flash, relaunch Safari and test.
    If you're getting a "blocked plug-in" error, then in System Preferences… ▹ Flash Player ▹ Advanced
    click Check Now. Quit and relaunch your browser.
    You can also try these illustrated instructions from C F McBlob to perform a full "clean install", which will resolve the "Blocked Plug-in" message when trying to update via the GUI updater from Adobe.
    Use the FULL installer for 12.0.0.44:  Flash Player 12 (Mac OS X)
    And the instructons are here: Snow Leopard Clean Install.pdf
    (If you are running a PPC Mac with Flash Player 10.1.102.64 and are having problems with watching videos on FaceBook or other sites, try the following solution which fools the site into thinking that you are running the version 11.5.502.55:)
    Download this http://scriptogr.am/nordkril/post/adobe-flash-11.5-for-powerpc to your desktop, unzip it, and replace the current Flash Player plug-in which is in your main/Library/Internet Plug-Ins folder, (not the user Library). Save the old one just in case this one doesn't work.

  • IPhoto 08 rebuild of all thumbnails fails with KERN_PROTECTION_FAILURE (0x0

    I've used the option-cmd iPhoto launch to rebuild the database. This has cleared up a number of problems (Thanks, Terence and others!). Now I've finally got everything organized the way I want it (I think), so I took a backup and started the rebuild of all thumbnails. Estimated duration was 2 hours, but about 45 minutes into the rebuild, it fails with a KERNPROTECTIONFAILURE (0x0002) at 0x00000000. This has happened 3 times (over the past week). I have reported it to Apple twice. It has never run to successful completion.
    My iPhoto database seems no better or worse (actually 1 photo less), but crashing during the rebuild is scary, and I fear something worse will happen in the future. Below is the log from the error message sent to Apple.
    Anyone have suggestions?
    Date/Time: 2007-08-24 14:56:48.271 -0400
    OS Version: 10.4.10 (Build 8R4031)
    Report Version: 4
    Command: iPhoto
    Path: /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Parent: WindowServer [63]
    Version: 7.0.1 (7.0.1)
    Build Version: 3
    Project Name: iPhotoProject
    Source Version: 3340000
    PID: 1094
    Thread: 1
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000000
    Thread 0:
    0 libobjc.A.dylib 0x90a61b09 objcerror + 86
    1 libobjc.A.dylib 0x90a61b40 _objcerror + 45
    2 libobjc.A.dylib 0x90a5aa98 internal_classcreateInstanceFromZone + 120
    3 com.apple.Foundation 0x927d9512 NSAllocateObject + 100
    4 com.apple.Foundation 0x927dcc92 +[NSPathStore2 pathStoreWithCharacters:length:] + 47
    5 com.apple.Foundation 0x927de8df -[NSString(NSPathUtilities) _stringByStandardizingPathUsingCache:] + 193
    6 com.apple.Foundation 0x927de815 -[NSString(NSPathUtilities) stringByStandardizingPath] + 41
    7 com.apple.Foundation 0x927e05a5 -[NSFileManager directoryContentsAtPath:matchingExtension:options:keepExtension:] + 146
    8 com.apple.Foundation 0x927e050b -[NSFileManager directoryContentsAtPath:] + 68
    9 com.apple.AppKit 0x932671d8 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 437
    10 com.apple.AppKit 0x9326701a +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 164
    11 com.apple.AppKit 0x9336ab99 _NXLoadNib + 245
    12 com.apple.AppKit 0x9336a48a -[NSAlert init] + 125
    13 com.apple.AppKit 0x934b7598 _NXDoLocalRunAlertPanel + 193
    14 com.apple.AppKit 0x934b74d4 NSRunAlertPanel + 69
    15 com.apple.iPhoto 0x000a1dbe 0x1000 + 658878
    16 com.apple.iPhoto 0x0009c6e4 0x1000 + 636644
    17 com.apple.iPhoto 0x00092370 0x1000 + 594800
    18 com.apple.iPhoto 0x000937a9 0x1000 + 599977
    19 com.apple.iPhoto 0x00060b6c 0x1000 + 392044
    20 com.apple.Foundation 0x927ed17b nsnotecallback + 230
    21 com.apple.CoreFoundation 0x908563e6 __CFXNotificationPost + 345
    22 com.apple.CoreFoundation 0x9084dbd1 _CFXNotificationPostNotification + 600
    23 com.apple.Foundation 0x927e5724 -[NSNotificationCenter postNotificationName:object:userInfo:] + 121
    24 com.apple.Foundation 0x927ec6c9 -[NSNotificationCenter postNotificationName:object:] + 55
    25 com.apple.AppKit 0x9327be94 -[NSApplication _postDidFinishNotification] + 124
    26 com.apple.AppKit 0x9327bd7e -[NSApplication _sendFinishLaunchingNotification] + 67
    27 com.apple.AppKit 0x9327b87d -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 273
    28 com.apple.AppKit 0x9327b448 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 96
    29 com.apple.Foundation 0x927f2e65 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 447
    30 com.apple.Foundation 0x927f2c8f _NSAppleEventManagerGenericHandler + 91
    31 com.apple.AE 0x915236c5 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 147
    32 com.apple.AE 0x915235f6 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44
    33 com.apple.AE 0x915234c2 aeProcessAppleEvent + 190
    34 com.apple.HIToolbox 0x92df51e4 AEProcessAppleEvent + 37
    35 com.apple.AppKit 0x9327963d _DPSNextEvent + 1044
    36 com.apple.AppKit 0x93279056 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
    37 com.apple.AppKit 0x93272ddb -[NSApplication run] + 512
    38 com.apple.AppKit 0x93266d2f NSApplicationMain + 573
    39 com.apple.iPhoto 0x00002b46 0x1000 + 6982
    40 com.apple.iPhoto 0x00002a6d 0x1000 + 6765
    Thread 1 Crashed:
    0 libRIP.A.dylib 0x948b45d0 ripc_GetClipState + 1174
    1 libRIP.A.dylib 0x948b3e44 ripc_GetRenderingState + 182
    2 libRIP.A.dylib 0x948b29e1 ripc_DrawImage + 144
    3 com.apple.CoreGraphics 0x90336ae1 CGContextDrawImage + 403
    4 com.apple.AppKit 0x932fdf14 -[NSBitmapImageRep _drawFromRect:toRect:operation:alpha:compositing:flipped:ignoreContext:] + 1298
    5 com.apple.AppKit 0x932fca2e -[NSImage drawInRect:fromRect:operation:fraction:] + 1551
    6 com.apple.AppKit 0x932fc39d -[NSImage _compositeFlipped:inRect:fromRect:operation:fraction:] + 263
    7 com.apple.AppKit 0x932fc28b -[NSImage _compositeFlipped:atPoint:fromRect:operation:fraction:] + 227
    8 com.apple.AppKit 0x932fe632 _NSTileImageWithOperation + 1704
    9 com.apple.AppKit 0x933c98e5 _NSTileImage + 99
    10 com.apple.AppKit 0x93411295 -[NSProgressIndicator _drawThemeProgressArea:] + 1096
    11 com.apple.AppKit 0x9344a341 -[NSProgressIndicator heartBeat:] + 1406
    12 com.apple.AppKit 0x93350586 -[NSUIHeartBeat _heartBeatThread:] + 1147
    13 com.apple.Foundation 0x927f52e0 forkThreadForFunction + 123
    14 libSystem.B.dylib 0x90024227 pthreadbody + 84
    Thread 2:
    0 libSystem.B.dylib 0x90047dd7 semaphoretimedwait_signaltrap + 7
    1 ...ple.CoreServices.CarbonCore 0x90ce1f28 TSWaitOnSemaphoreCommon + 163
    2 ...ickTimeComponents.component 0x9845c206 ReadSchedulerThreadEntryPoint + 4723
    3 libSystem.B.dylib 0x90024227 pthreadbody + 84
    Thread 3:
    0 libSystem.B.dylib 0x90047dd7 semaphoretimedwait_signaltrap + 7
    1 ...ple.CoreServices.CarbonCore 0x90ce1f28 TSWaitOnSemaphoreCommon + 163
    2 ...ple.CoreServices.CarbonCore 0x90cebe5c AIOFileThread(void*) + 1068
    3 libSystem.B.dylib 0x90024227 pthreadbody + 84
    Thread 4:
    0 libSystem.B.dylib 0x900248c7 semaphorewait_signaltrap + 7
    1 com.apple.ColorSync 0x915a96cf pthreadSemaphoreWait(t_pthreadSemaphore*) + 35
    2 com.apple.ColorSync 0x915c3de0 CMMConvTask(void*) + 60
    3 libSystem.B.dylib 0x90024227 pthreadbody + 84
    Thread 1 crashed with X86 Thread State (32-bit):
    eax: 0x1dddb6b0 ebx: 0x948b414b ecx: 0xa48b034c edx: 0x00000000
    edi: 0xf3ffb620 esi: 0x00000000 ebp: 0xb009d208 esp: 0xb009d050
    ss: 0x0000001f efl: 0x00010246 eip: 0x948b45d0 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    Binary Images Description:
    0x1000 - 0x686fff com.apple.iPhoto 7.0.1 /Applications/iPhoto.app/Contents/MacOS/iPhoto
    0x763000 - 0x76dfff com.apple.UpgradeChecker 1.0 /Applications/iPhoto.app/Contents/Frameworks/UpgradeChecker.framework/Versions/ A/UpgradeChecker
    0x1008000 - 0x1070fff com.apple.iLifeMediaBrowser 0.9 (151) /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/iLifeM ediaBrowser
    0x1205000 - 0x12a4fff com.apple.DotMacKit 44 (3.0.2L) /Applications/iPhoto.app/Contents/Frameworks/DotMacKit.framework/Versions/A/Dot MacKit
    0x1311000 - 0x138bfff com.apple.imageKit 1.0 /System/Library/PrivateFrameworks/GraphicsAppSupport.framework/Versions/A/Frame works/ImageKit.framework/Versions/A/ImageKit
    0x163d3000 - 0x163defff com.apple.BookService 6.0 /Applications/iPhoto.app/Contents/NetServices/Bundles/BookService.NetService/Co ntents/MacOS/BookService
    0x163e7000 - 0x163eefff com.apple.NetServices.BDControl 1.0.5 /Applications/iPhoto.app/Contents/NetServices/Frameworks/BDControl.framework/Ve rsions/A/BDControl
    0x16f95000 - 0x16ff7fff com.apple.NetServices.NetServices 6.0 /Applications/iPhoto.app/Contents/NetServices/Frameworks/NetServices.framework/ Versions/A/NetServices
    0x17045000 - 0x17048fff com.apple.NetServices.BDRuleEngine 1.0.2 /Applications/iPhoto.app/Contents/NetServices/Frameworks/BDRuleEngine.framework /Versions/A/BDRuleEngine
    0x1704f000 - 0x17059fff com.apple.CalendarsService 6.0 /Applications/iPhoto.app/Contents/NetServices/Bundles/CalendarsService.NetServi ce/Contents/MacOS/CalendarsService
    0x17061000 - 0x1706bfff com.apple.CardsService 6.0 /Applications/iPhoto.app/Contents/NetServices/Bundles/CardsService.NetService/C ontents/MacOS/CardsService
    0x17073000 - 0x17078fff com.apple.NetSlidesService 6.0 /Applications/iPhoto.app/Contents/NetServices/Bundles/NetSlidesService.NetServi ce/Contents/MacOS/NetSlidesService
    0x1707e000 - 0x17089fff com.apple.PrintsService 6.0 /Applications/iPhoto.app/Contents/NetServices/Bundles/PrintsService.NetService/ Contents/MacOS/PrintsService
    0x173b1000 - 0x1744efff com.apple.QuickTimeImporters.component 7.2 /System/Library/QuickTime/QuickTimeImporters.component/Contents/MacOS/QuickTime Importers
    0x1767f000 - 0x176bbfff com.apple.QuickTimeFireWireDV.component 7.2 /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTim eFireWireDV
    0x176c7000 - 0x176ccfff com.apple.AppleMPEG2Codec 1.0 (211) /Library/QuickTime/AppleMPEG2Codec.component/Contents/MacOS/AppleMPEG2Codec
    0x1779c000 - 0x177b6fff com.apple.AppleIntermediateCodec 1.2 (145) /Library/QuickTime/AppleIntermediateCodec.component/Contents/MacOS/AppleInterme diateCodec
    0x177bb000 - 0x177d4fff com.apple.applepixletvideo 1.2.9 (1.2d9) /System/Library/QuickTime/ApplePixletVideo.component/Contents/MacOS/ApplePixlet Video
    0x18092000 - 0x18094fff com.apple.PDFImporter 1.6 (???) /System/Library/Components/PDFImporter.component/Contents/MacOS/PDFImporter
    0x1e808000 - 0x1e9fbfff net.telestream.wmv.import 2.1.0.33 /Library/QuickTime/Flip4Mac WMV Import.component/Contents/MacOS/Flip4Mac WMV Import
    0x8fe00000 - 0x8fe4afff dyld 46.12 /usr/lib/dyld
    0x90000000 - 0x90171fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
    0x901c1000 - 0x901c3fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
    0x901c5000 - 0x90202fff com.apple.CoreText 1.1.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
    0x90229000 - 0x902fffff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
    0x9031f000 - 0x90774fff com.apple.CoreGraphics 1.258.77 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
    0x9080b000 - 0x908d3fff com.apple.CoreFoundation 6.4.7 (368.28) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x90911000 - 0x90911fff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x90913000 - 0x90a07fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
    0x90a57000 - 0x90ad6fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
    0x90aff000 - 0x90b63fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
    0x90bd2000 - 0x90bd9fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
    0x90bde000 - 0x90c51fff com.apple.framework.IOKit 1.4.8 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x90c66000 - 0x90c78fff libauto.dylib /usr/lib/libauto.dylib
    0x90c7e000 - 0x90f24fff com.apple.CoreServices.CarbonCore 682.26 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
    0x90f67000 - 0x90fcffff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
    0x91008000 - 0x91047fff com.apple.CFNetwork 129.21 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
    0x9105a000 - 0x9106afff com.apple.WebServices 1.1.3 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
    0x91075000 - 0x910f4fff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
    0x9112e000 - 0x9114cfff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
    0x91158000 - 0x91166fff libz.1.dylib /usr/lib/libz.1.dylib
    0x91169000 - 0x91308fff com.apple.security 4.5.2 (29774) /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x91406000 - 0x9140efff com.apple.DiskArbitration 2.1.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x91415000 - 0x9141cfff libbsm.dylib /usr/lib/libbsm.dylib
    0x91420000 - 0x91446fff com.apple.SystemConfiguration 1.8.6 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
    0x91458000 - 0x914cefff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x9151f000 - 0x9151ffff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
    0x91521000 - 0x9154dfff com.apple.AE 314 (313) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
    0x91560000 - 0x91634fff com.apple.ColorSync 4.4.9 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
    0x9166f000 - 0x916e2fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
    0x91710000 - 0x917b9fff com.apple.QD 3.10.24 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
    0x917df000 - 0x9182afff com.apple.HIServices 1.5.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
    0x91849000 - 0x9185ffff com.apple.LangAnalysis 1.6.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
    0x9186b000 - 0x91886fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
    0x91891000 - 0x918cefff com.apple.LaunchServices 182 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
    0x918e2000 - 0x918eefff com.apple.speech.synthesis.framework 3.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x918f5000 - 0x91935fff com.apple.ImageIO.framework 1.5.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
    0x91948000 - 0x919fafff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
    0x91a40000 - 0x91a56fff libcups.2.dylib /usr/lib/libcups.2.dylib
    0x91a5b000 - 0x91a79fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x91a7e000 - 0x91addfff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x91aef000 - 0x91af3fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x91af5000 - 0x91b7bfff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
    0x91b7f000 - 0x91bbcfff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x91bc2000 - 0x91bdcfff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x91be1000 - 0x91be3fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x91be5000 - 0x91cc3fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
    0x91ce0000 - 0x91ce0fff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x91ce2000 - 0x91d70fff com.apple.vImage 2.5 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
    0x91d77000 - 0x91d77fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
    0x91d79000 - 0x91dd2fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
    0x91ddb000 - 0x91dfffff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
    0x91e07000 - 0x92210fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
    0x9224a000 - 0x925fefff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
    0x9262b000 - 0x92718fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
    0x9271a000 - 0x92797fff com.apple.DesktopServices 1.3.6 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
    0x927d8000 - 0x92a08fff com.apple.Foundation 6.4.8 (567.29) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x92b22000 - 0x92b3dfff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x92b49000 - 0x92ba1fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x92bb5000 - 0x92bb5fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x92bb7000 - 0x92bc7fff com.apple.ImageCapture 3.0.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
    0x92bd6000 - 0x92bdefff com.apple.speech.recognition.framework 3.6 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
    0x92be4000 - 0x92beafff com.apple.securityhi 2.0.1 (24742) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
    0x92bf0000 - 0x92c81fff com.apple.ink.framework 101.2.1 (71) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
    0x92c95000 - 0x92c99fff com.apple.help 1.0.3 (32.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
    0x92c9c000 - 0x92cbafff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
    0x92ccc000 - 0x92cd2fff com.apple.print.framework.Print 5.2 (192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
    0x92cd8000 - 0x92d3bfff com.apple.htmlrendering 66.1 (1.1.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
    0x92d62000 - 0x92da3fff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
    0x92dca000 - 0x92dd8fff com.apple.audio.SoundManager 3.9.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
    0x92ddf000 - 0x92de4fff com.apple.CommonPanels 1.2.3 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
    0x92de9000 - 0x930defff com.apple.HIToolbox 1.4.9 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
    0x931e4000 - 0x931f0fff com.apple.opengl 1.5.1 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x931f5000 - 0x93210fff com.apple.DirectoryService.Framework 3.3 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
    0x93260000 - 0x93260fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x93262000 - 0x93918fff com.apple.AppKit 6.4.9 (824.44) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x93c99000 - 0x93d14fff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x93d4d000 - 0x93e07fff com.apple.audio.toolbox.AudioToolbox 1.4.5 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x93e4a000 - 0x93e4afff com.apple.audio.units.AudioUnit 1.4.3 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x93e4c000 - 0x9400dfff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x94053000 - 0x94094fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
    0x9409c000 - 0x940dffff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
    0x940e3000 - 0x940f9fff com.apple.CoreVideo 1.4.1 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x94108000 - 0x945c4fff libGLProgrammability.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
    0x946f6000 - 0x9473efff com.apple.bom 8.5 (86.3) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
    0x94843000 - 0x94852fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
    0x94859000 - 0x94864fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x948b0000 - 0x948cafff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x948d0000 - 0x94bd9fff com.apple.QuickTime 7.2.0 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
    0x94d5c000 - 0x94ea2fff com.apple.AddressBook.framework 4.0.5 (487) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
    0x94f2e000 - 0x94f3dfff com.apple.DSObjCWrappers.Framework 1.1 /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
    0x94f44000 - 0x94f6dfff com.apple.LDAPFramework 1.4.2 (69.1.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x94f73000 - 0x94f82fff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib
    0x94f86000 - 0x94fabfff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
    0x94fb7000 - 0x94fd4fff libresolv.9.dylib /usr/lib/libresolv.9.dylib
    0x95079000 - 0x95079fff com.apple.DiscRecording 3.2.0 (???) /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
    0x9507b000 - 0x950f9fff com.apple.DiscRecordingEngine 3.2.0 /System/Library/Frameworks/DiscRecording.framework/Versions/A/Frameworks/DiscRe cordingEngine.framework/Versions/A/DiscRecordingEngine
    0x95129000 - 0x9516bfff com.apple.DiscRecordingContent 3.2.0 /System/Library/Frameworks/DiscRecording.framework/Versions/A/Frameworks/DiscRe cordingContent.framework/Versions/A/DiscRecordingContent
    0x95300000 - 0x95393fff com.apple.WebKit 419.3 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    0x953ed000 - 0x9546dfff com.apple.JavaScriptCore 418.6.1 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCor e.framework/Versions/A/JavaScriptCore
    0x954a6000 - 0x95785fff com.apple.WebCore 418.23 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
    0x95904000 - 0x95927fff libxslt.1.dylib /usr/lib/libxslt.1.dylib
    0x95ac1000 - 0x95b41fff com.apple.QTKit 7.2 /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
    0x95b80000 - 0x95ba2fff com.apple.CoreMediaPrivate 1.0 /System/Library/PrivateFrameworks/CoreMediaPrivate.framework/Versions/A/CoreMed iaPrivate
    0x95baf000 - 0x95bebfff com.apple.CoreMediaIOServicesPrivate 1.0 /System/Library/PrivateFrameworks/CoreMediaIOServicesPrivate.framework/Versions /A/CoreMediaIOServicesPrivate
    0x95c3a000 - 0x95c3cfff com.apple.ExceptionHandling 1.2 (???) /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHand ling
    0x95c3f000 - 0x95c77fff com.apple.PDFKit 1.0.4 /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
    0x96ba0000 - 0x96ba0fff com.apple.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x97087000 - 0x970a9fff com.apple.speech.LatentSemanticMappingFramework 2.5 /System/Library/PrivateFrameworks/LatentSemanticMapping.framework/Versions/A/La tentSemanticMapping
    0x9711a000 - 0x9711ffff com.apple.agl 2.6.2 (AGL-2.6.2) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
    0x97202000 - 0x97235fff com.apple.AppleVAFramework 4.0.3 /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
    0x97286000 - 0x97286fff com.apple.MonitorPanelFramework 1.1.1 /System/Library/PrivateFrameworks/MonitorPanel.framework/Versions/A/MonitorPane l
    0x97b0e000 - 0x97be5fff com.apple.QuartzComposer 1.2.6 (32.25) /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
    0x97c6e000 - 0x97c6efff com.apple.quartzframework 1.0 /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
    0x97c70000 - 0x97c70fff com.apple.AppleAppSupport 1.4 /System/Library/PrivateFrameworks/AppleAppSupport.framework/Versions/A/AppleApp Support
    0x97dae000 - 0x97dcafff com.apple.DiscRecordingUI 3.2.0 /System/Library/Frameworks/DiscRecordingUI.framework/Versions/A/DiscRecordingUI
    0x98216000 - 0x98218fff com.apple.DisplayServicesFW 1.8.2 /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
    0x98445000 - 0x992abfff com.apple.QuickTimeComponents.component 7.2 /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
    0x996a2000 - 0x996a4fff com.apple.QuickTimeH264.component 7.2 /System/Library/QuickTime/QuickTimeH264.component/Contents/MacOS/QuickTimeH264
    0x99aa7000 - 0x99b6dfff com.apple.QuickTimeMPEG4.component 7.2 /System/Library/QuickTime/QuickTimeMPEG4.component/Contents/MacOS/QuickTimeMPEG 4
    0x99b89000 - 0x99b8cfff com.apple.CoreMediaAuthoringPrivate 1.0 /System/Library/PrivateFrameworks/CoreMediaAuthoringPrivate.framework/Versions/ A/CoreMediaAuthoringPrivate
    0x9a012000 - 0x9a17efff com.apple.MessageFramework 2.1.1 (752.3) /System/Library/Frameworks/Message.framework/Versions/B/Message
    Model: iMac7,1, BootROM IM71.007A.B00, 2 processors, Intel Core 2 Duo, 2.4 GHz, 2 GB
    Graphics: ATI Radeon HD 2600 Pro, ATI,RadeonHD2600, PCIe, 256 MB
    Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz
    Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz
    AirPort: spairportwireless_card_type_airportextreme (0x14E4, 0x88), Broadcom BCM43xx 1.0 (4.150.19.0)
    Bluetooth: Version 1.9.1f18, 2 service, 1 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: WDC WD5000AAKS-40TMA0, 465.76 GB
    Parallel ATA Device: MATSHITADVD-R UJ-85J
    USB Device: Built-in iSight, Apple Inc., Up to 480 Mb/sec, 500 mA
    USB Device: Keyboard Hub, Apple, Inc., Up to 480 Mb/sec, 500 mA
    USB Device: Apple Optical USB Mouse, Primax Electronics, Up to 1.5 Mb/sec, 100 mA
    USB Device: Apple Keyboard, Apple, Inc, Up to 1.5 Mb/sec, 100 mA
    USB Device: IR Receiver, Apple Computer, Inc., Up to 1.5 Mb/sec, 500 mA
    USB Device: Bluetooth USB Host Controller, Apple, Inc., Up to 12 Mb/sec, 500 mA
    USB Device: CanoScan, Canon, Up to 12 Mb/sec, 500 mA
    FireWire Device: Up to 400 Mb/sec
    Thanks!
    RL

    Roger:
    First run Disk Utility and verify the disk. If there's repairs reported necessary then boot into the system install disk and run Disk Utility from the Utilities menu. If no repairs are necessary try using iPhoto Library Manager to rebuild the library. It create a new library and copies the necessary information and files from the old one which is left untouched. It often succeeds where the regular rebuild does not. Here's how:
    Using iPhoto Library Manager to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your User/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File->Rebuild Library menu option
    In the next window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: It may take some time to create the new library if you have a lot of photos. One user reported that with a library of about 5,000 images it took about 2-3 hours so plan ahead.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Stepping through a poorly formatted xml file

    Hi, this forum worked a charm earlier so I'm hoping it will go 2 for 2.
    Through a httpservice I'm reading an XML file into a ArrayCollection. Because the XML is so poorly formatted I'm having to write some very sloppy code just to step through 20 results. I have no control over the XML.
    XML Example (can be anywhere from 0 to 20 results):
    <results>
        <game>
            <type>game</type>
            <id>321</id>
            <name>gamename</name>
            <image>i34d.png</image>
        </game>
        <character>
            <type>character</type>
            <id>1123</id>
            <name>john</name>
            <image>sds.png/image>
        </character>
        <game>
            <type>game</type>
            <id>432</id>
            <name>examplename</name>
            <image>g2dss.png</image>
        </game>
    </results>
    Each result can be one of 7 types (I've done only 2, game and character, in my example). The order of them I really want to preserve in my ArrayCollection as it's very relevant.
    Here is the (very) sloppy way I'm currently loading each result into my AC:
    //container array
    var ac2:ArrayCollection = new ArrayCollection;
    //I do a block like this for EVERY results type. Meaning 7 in total...
    if (service2.lastResult.response.results.character) {
         var characterAC:ArrayCollection = new ArrayCollection;
         if (service2.lastResult.response.results.character is ArrayCollection) {
         //there is more than 1 entry
         characterAC = service2.lastResult.response.results.character as ArrayCollection;
         } else {
              //There is only 1 entry. Need to MAKE it an ArrayColleciton
              characterAC = new ArrayCollection([service2.lastResult.response.results.character]);
            //Add all characters to AC
         ac2.addAll(characterAC);
    The two major problems with this code is: 1, it's stupidly bloated and 2, ac2 no longer maintains the order of the XML response. First it puts all <character> into my AC, then it puts all <game> into AC. So on and so forth.
    In my head I'm trying to do something like this:
    ac2 = service2.lastResult.response.results.* as ArrayCollection;
    That would then load all results (regardless of type) into an ArrayCollection. I'm guessing a solution is not that simple...
    In an Ideal world, whoever created the XML api would just call each result <result> instead of the stupid type tags it currently uses.
    I hope all that makes sense.
    Regards,
    Zaph.

    @Zaph31,
    Why not use an XMLListCollection instead of an ArrayCollection?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" initialize="init();">
        <mx:XML id="iWouldntHaveCodedXMLLikeThat" xmlns="">
            <results>
                <game>
                    <type>game</type>
                    <id>321</id>
                    <name>gamename</name>
                    <image>i34d.png</image>
                </game>
                <character>
                    <type>character</type>
                    <id>1123</id>
                    <name>john</name>
                    <image>sds.png</image>
                </character>
                <game>
                    <type>game</type>
                    <id>432</id>
                    <name>examplename</name>
                    <image>g2dss.png</image>
                </game>
            </results>
        </mx:XML>
        <mx:XMLListCollection id="xmlListColl" />
        <mx:Script>
            <![CDATA[
                private function init():void {
                    xmlListColl.source = iWouldntHaveCodedXMLLikeThat.children();
            ]]>
        </mx:Script>
        <mx:DataGrid id="dg" dataProvider="{xmlListColl}">
            <mx:columns>
                <mx:DataGridColumn dataField="type" />
                <mx:DataGridColumn dataField="id" />
                <mx:DataGridColumn dataField="name" />
                <mx:DataGridColumn dataField="image" />
            </mx:columns>
        </mx:DataGrid>
    </mx:Application>
    Peter

  • Make all pages the same width?

    I've seen several answers to this question but they all seem to involve using an external app such as PDF Creator, Distiller, or something like that.
    I have a pdf with three pages with different widths.  From within Acrobat X, what is the easiest way to make all three pages the same width, or is that even possible without using an external app?  If it is possible, please describe how to do this step by step.
    By the way, I know there are steps that can be taken to avoid ending up with pdf's that have pages of varying lengths, but this question is not about that.  It is about existing pdf's.  Thanks a lot
    I am using Adobe Acrobat X version 10.0.0.396 on Windows XP Pro SP3

    Good question - I would say make all the page be the same width as the widest one.  In general, these pdf's will contain 8.5" x 11" pages, sometimes in combination with legal size pages.  The actual size of each page will differ depending on such things as who they came from and how they produced the pdf's, what software was used, which scanner was used, etc.
    Here would be an example pdf:
    The first 3 pages approximately 8.5" x 11" format.  The last 2 pages are legal size.  As you page throgh the document, the widths change.  My usual setting as I page through a pdf is Fit Width.  But in this pdf, the first two pages look right, the third page is too narrow, the fourth page looks right, and the fifth page looks too narrow.  So given that, How would I make all 5 pages the same width so that as I page through the pdf, the widths are all exactly the same, and not just appear the same?  If I have to choose which width they should all be, I'd say go with the widest one.
    If I need to run some javascript to accomplish this, that's ok - I'll strip it out before distributing the pdf.  Thanks

  • How to make all fields mandatory in sales order T- code VA01 initial screen

    Dear all,
    how to make all fields mandatory in sales order T- code VA01 initial screen itself
    The fields are
    Sales Organization
    Distribution Channel
    Division
    Sales Office
    Sales Group
    Regards,
    Amar Reddy

    Hi,
    You can use Transaction Variant to achieve this functionality.Please go through the following link which helps you in creating the same.
    [Link|http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation]
    Regards,
    Phani Prasad

  • How do I make all clips the same brightness?

    I'm editing a four-minute video with ten clips, opening and closing titles, and a graphic. It's essentially a talking head presentation. The sound from a lapel mic is good as is the framing. But we used available lighting coming through a large window. So the top of the frame, the white background, is a little darker than the bottom. Also some clips are somewhat overall darker than others.
    Is there a way that I could make them all the same brightness? In the Adjust panel I can select only one clip at a time to change the lighting. It would be neat if there was an action that would make all the clips equally bright.

    Tommyvincent wrote:
    Is there a way that I could make them all the same brightness? In the Adjust panel I can select only one clip at a time to change the lighting. It would be neat if there was an action that would make all the clips equally bright.
    Yes, there is.  Assuming you have several similar clips, you make all the adjustments you think they all will need to one clip.  Then, select the adjusted clip, right click, "Copy".  Select the rest of the similar clips, right click and "Paste Effects and Adjustments".  All the clips will now have the same adjustments.
    Make this an early part of the work because ALL effects and adjustments are applied.  After this first and primary adjustment is made, more adjustments can be made to individual clips.
    Bill

  • How to make all rules active in Mail

    Every time I sync my MacBook with my IMac through Mobile Me, the rule sync OK but it deactivate my rules. I have to click on every single one again to make them active. Is there a faster way to make all the rules active at once. TIA.

    Make them active then re-sync. You are obviously updating from the old saved information not the new. If that doesn't work, then remove your computer from the authorized sync list and start fresh. You can then copy all your information FROM the computer to MobileMe.

  • Can you set a BREAKPOINT and step through it

    Hello all,
    How do set a breakpoint in the app so that one can step through it and no where it is failing and the value of the variables returned?
    Thanks

    If you are trying to debug server side PL/SQL program units, you could use DBMS_DEBUG.
    http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10802/d_debug.htm#996728

  • I want to make all my caller id pics full screen how do i do that? When i download a picture from my phone it makes it full screen then it goes back to the small photo in the upper right hand corner how do i make them stay full screen help please:-)

    I want to make all my caller id pics full screen how do i do that? When i download a picture from my phone it makes it full screen then it goes back to the small photo in the upper right hand corner how do i make them stay full screen help please:-)

    @Naiks, having suffered through unsuccessful synching attempts for Calendar and Contacts myself, l would suggest you try the following:
    UNINSTALL iCloud control panel from your PC. Seems silly, but do it.
    Go into Outlook, and look at the very top menu. Click FILE, then ACCOUNT SETTINGS, then click the popup box.
    You will see a list of all your email accounts. Make sure that ONE of them has a checkmark against it. If not, select the account your want as your default, and click "set as default.
    Exit out of Outlook and reboot your machine.
    Now reinstall iCloud, check CALENDAR and CONTACTS, and do as instructed when prompted.
    Reboot for good luck and now launch OUTLOOK. All that remains is to locate your iCloud Contacts and Calendar files, and make them your default.
    IMPORTANT: Don't panic if you can't find your contacts -- they're there. Click CONTACTS and you'll see you have several available contact files. Locate the one label "iCloud" in grey type. Right-click on it, select PROPERTIES, then click the Outlook Address Book tab. Check the box that says something like "Make this my default Outlook Address Book." Keep clicking "apply" and "okay" until you've exited out of the dialog box maze.
    You may have to do something similar with your Calendar files. I dd not, but if you need to, do it.
    Everything should now sync pretty seamlessly.
    I didn't have the exact same problem as you, but my dilemma was close enough. Good luck!
    Arthur P. Johnson

  • Make all open finder windows come to the front?

    Things that used to be so simple on the Mac are now so complicated.
    I have a bunch of finder windows open. Most of them are hidden behind other application windows, like my browser.
    I used to be able to click anywhere on the desktop to make all windows come to the front. No longer. Later, I could do it by mousing all the way over to the Dock and clicking on the Finder icon there. Now even that doesn't work!
    How the heck do you simply make all open finder windows come to the front???

    DrBeckenstein:What to use in its place though?The utilities of choice for Mac OS X are Tech Tool Pro and Disk Warrior. Both of these pick up where Disk Utility leave off. When DU reports errors it cannot repair, you turn to one or the other of these two. Many Mac users like Disk Warrior for it excellent work in repairing and rebuilding directories. I use TTP because it not only does excellent work with directories, but it also does hardware checks, disk optimization, files checks, eDrive (emergency boot drive) etc. In the long run, though, it is largely a matter of personal preference.
    Again, I don't know what maintenance procedures you employ, but our Systems get rather sluggish sometimes as caches fill up, preference files become corrupted, the need for Unix maintenance allow CRONs to build up. Here are a few sites that offer good suggestions and links to resources:
    1. Macintosh OS X Routine Maintenance
    2. Maintaining Mac OS X
    3. Mac OS X: How to force background maintenance tasks (logs and temporary items)
    4. http://discussions.apple.com/thread.jspa?messageID=607640&#607640
    I mentioned in my earlier post that if the problem is essentially with one application you can go into Home Folder > Library > Preferences, find the .plis for that application, drag it to the desktop and restart. Check to see if that makes a difference. If it doesn't you can replace the new .plist created with the one on the desktop, or just drag the desktop copy to the Trash.
    In your situation I would run Repair Disk from the install CD, then implement some of the suggestions on maintenance.
    One other thing to note: a too full HDD can cause problems. If it is over 50% full it could need disk optimization. If have near 85% of available capacity used, you are running a risk not only of compromised performance, but also of directory overlapping and, eventually of a crash.
    Good luck.
    cornelius

Maybe you are looking for

  • The new version of itunes has conflited with my cd/dvd drive

    It seems that the new version of Itunes has conflicted with my CD/DVD drive because when I uninstalled and re installed the itunes my drive has stopped working and I now have an error code of 19 - Windows cannot start this hardware device because its

  • Original Mac mini and LaCie firewire drive

    Hi all, I've tried looking through previous posts but can't find anything that seems to relate to my problem. I've bought a LaCie 250Gb external drive and a DVD burner - both firewire and tried hooking them up to my mini but I can't get either to wor

  • Undo with Memento pattern vs swing undo

    I was tempted to add this question to the end of http://forum.java.sun.com/thread.jsp?forum=425&thread=440740&tstart=0&trange=15 but I've had a poor response in the past by adding a question to the end of an existing thread. I am working on a project

  • Hallmarks remiders on bottom of screen

      Nothing drived me nutz more than the dumb ads on my screen on bottom of page....there are times they block parts of show especially Hallmark..I mean c'mon does anyone actually watch these  movies? "Where Goes The Heart.." please. How about some goo

  • Frequent Freezes & lags under Lion

    Hi, I manage a set of 10 macs : Mac book pros (15" early 2011 and 15" mid-2010). iMacs 21.5" mid 2010 and 27" mid 2011. Mac pros (1.1 version) We make the migration to Lion 2 weeks ago and since that we only have problems ! We tried upgrades and had