Automatic imports for javafx files?

I've been using the Netbeans JavaFX plugin for the past few days. I can't figure out how to get Netbeans to add necessary import statements to JavaFX files like it does with normal Java classes. For example, I in the following simple fx file, I need an import statement for javafx.ui.* or javafx.ui.Frame. In a regular Java file, I just press Ctrl+Shift+I and the import statements are added for me. Is this feature not available for JavaFX files?
package timetracker;
//import javafx.ui.*;
import javafx.scene.geometry.*;
* @author allanbond
Frame {
    title: "Howdy Doody"
    height: 400
    width: 600
    background: Color.BLUE
    visible: true
    content: Panel {
}

This feature is not implemented yet. See [125014|http://www.netbeans.org/issues/show_bug.cgi?id=125014] Fix imports feature.
You can use the [JavaFX API|http://openjfx.java.sun.com/current-build/doc/api/index.html] and palette in NetBeans now.

Similar Messages

  • Automatic Import of TDMS file into Excel

    I was looking at the NI TDMS import plugin for Excel and it seems that the newest version of the plugin uses the COM API which could allow the import function to be used automatcially. There is a short info page about this here http://zone.ni.com/devzone/cda/tut/p/id/10207 but I'm new to Excel Macros and VBA so I'm not sure how to go from this tutorial to what I am wanting to do.
    Specifically, I am wondering if anyone knows (and could post an example of) how to do the following:
    From within a labview VI, the user would select a path to a tdms file. Once this path is selected, the VI would call the TDMS import excel plugin and run it on the file.
    Solved!
    Go to Solution.

    After playing with things, I have worked out the solution to this and I am posting it for everyone in case it can be of some use. In order to use this solution to work out of the box, you will need the report generation toolkit. If you don't have that, you would need some other way of launching Excel from labview and running a macro. Hopefully someone who has the knowledge on how to do that will post that portion in this thread for those who don't have the toolkit
    To start out, open excel and in the menubar select Tools -> Macros -> Visual Basic Editor. The source for the macro you will create is:
    Sub TDMImport(fileName)
    'Get TDM Excel Add-In
    Dim obj As COMAddIn
    Set obj = Application.COMAddIns.Item("ExcelTDM.TDMAddin")
    obj.Connect = True
    'Confirm only importing "Description" properties for Root
    Call obj.Object.Config.RootProperties.SelectAll
    'Show the group count as property
    Call obj.Object.Config.RootProperties.Select("Groups")
    'Select all the available properties for Group
    Call obj.Object.Config.GroupProperties.SelectAll
    'Import custom properties
    obj.Object.Config.RootProperties.SelectCustomProperties = True
    obj.Object.Config.GroupProperties.SelectCustomProperties = True
    obj.Object.Config.ChannelProperties.SelectCustomProperties = True
    'Import the selected file
    Call obj.Object.ImportFile(fileName, False)
    'Record down the current workbook
    Dim Workbook As Object
    Set Workbook = ActiveWorkbook
    End Sub
    Once you have copied/pasted this into the editor go to the menubar and hit File -> Export File and save the macro as a .BAS file
    You will also need to go to Tools -> Macros-> Security and select the Trust Visual Basic Project option in order for the macro to be called from LV.
    Once all this is done, you can use the attached VI (Saved in LV 8.6) Simply supply the path to the BAS file and the TDMS file via the front panel controls and click run and the TDMS import will happen automatically.
    Attachments:
    Automatic TDMS Excel Import.vi ‏14 KB

  • When downloading iTunes onto a new computer, is there any way to automatically import old music files? Last time I got a new computer I didn't have to use an external drive to update my music library.

    When downloading iTunes onto a new computer, is there any way to automatically important songs from your previous computer? I recently cracked the screen on my computer and cannot access any files. Last time I got a new computer my iTunes media files automatically appeared in my iTunes when I downloaded it, and I did not have to use my external drive. Is this still possible?

    If your backup copy of the old computer was not stolen, then use it to put everything back.

  • Organizer. not able to turn off "automatic search for missing files"

    Organizer starts searching for missing files. files that i have deleted, and the programme just keep on forever searching for those already deleted files. When i try to turn off that function, the organizer just stops. Running the program on Imac 2010.

    That's the thing with the Elements Organizer - once you start managing your media in it you must also use it for all subsequent maintenance so that it retains integrity.
    To try and resolve the Find> all Missing Files crash problem go to File> Manage Catalogs and Repair your current catalog. Follow that with an Optimize. See if you can now find them without the crash.
    If Find> All Missing Files is still causing a crash, you could try File> Reconnect> All Missing Files. As that searches your entire hard disk for one image at a time, and will take a very long time if you did a lot of deletions with your EasyDuplicateFinder program, wait for it to finish examining your catalog then cancel the attempt to find each image. Now in your organizer each of the missing files thumbnails will have a question mark at top left - you can then delete these from the catalog. After you've done quite a few retry Find> All Missing Files again to see if it will run without crashing.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • HT1473 Stop automatic import of mp3 files

    Any time I add a new .mp3 file to my music folder, iTunes automatically adds it to my library and creates a new playlist for new songs downloaded that day.  This happens as soon as the file is added to the folder, before I even play it.  Is there a way I can stop this and only import songs into the library when I actually drag them in? 
    The music folder is not my "iTunes Media folder" location, and I've unchecked the copy files to iTunes option anyway. 

    That isn't a built-in feature of iTunes. Do you by chance have iTunes Folder Watch installed?
    tt2

  • Automatically importing a csv file to a SharePoint list

    I get a csv file from a program every day. Instead of copying and pasting the data into a SP list, is it possible to have the file copied to a location and SP import it on a regular basis? I would avoid the manual copy paste as well as I wouldn't have
    to be present to do the conversion.

    Hi
    Here is the powershell script which you can use
    function Add-CsvDataToList([Microsoft.SharePoint.SPWeb]$web, [string] $listName, [string] $csvPath) {
    $list = $web.Lists.get_Item($listName)
    Import-Csv $csvPath | ForEach-Object {
    $csvRow = $_
    $newItem = $list.Items.Add()
    Get-Member -InputObject $csvRow -MemberType NoteProperty | ForEach-Object {
    $property = $_.Name
    $newItem.set_Item($property, $csvRow.$property) } $newItem.Update()
    Following are the links for reference
    http://blog.brianfarnhill.com/2012/07/populate-a-sharepoint-list-with-items-in-a-csv-file-using-powershell
    http://blogs.technet.com/b/stuffstevesays/archive/2013/06/07/populating-a-sharepoint-list-using-powershell.aspx
    https://ravendra.wordpress.com/uploading-csv-excel-data-into-sharepoint-list/
    Please 'propose as answer'
    if it helped you, also 'vote helpful' if you like this
    reply.
    Amit Kotha

  • How to make automatic download for mp3 files [80 gb of mp3 files stored in GoDaddy]

    I'm building this site --> Matthew
    I want my visitors to download the mp3 simply by clicking the "down" blue icon. But here's the challenge, I can't do "Link to File" cause I have a lot mp3 files [80 gb total]. I believe Muse can't carry those in one file. I already stored those in my GoDaddy account.
    Right click "Save Links as.." is not an option.
    Hopefully there's another way to do it.
    Thanks!
    Debs

    Hello,
    Please look at the link below:
    Force a File to Download Instead of Showing Up in the Browser « Tips and Tricks HQ Forum
    There is a section with heading that has 3 advises under heading "How to force a file download for all my files". you can use option 1 or 3.
    Regards
    Vivek

  • ITunes automatically importing songs once they hit my computer

    Wonder if you can help. iTunes is automatically importing any music file that hits my computer into iTunes when i dont want it to.
    I try to keep my iTunes collection "clean" with just the things i really want to keep but i have lots of other music files around my computer (demo files i am listening to, mp3's sent by friends). I store them in my Sony/Users/Music directory. my iTunes media folder is set below that at Sony/Users/Music/Itunes/iIunes Music so it should be quite simple to keep them separate.
    however, since i downloaded the latest version of iTunes last year, now for some reason it seems to look into the higher level "Music" directory (that includes all my other music files) and anytime anything appears in that directory, it automatically imports it and moves it into the iTunes permanent collection, which is making it a mightmare to try to keep my various files organised.
    Has anyone else had this problem and/or can suggest remedies?
    Much appreciated
    Ian

    Could you possibly have installed "itunes folder watch" or a similar program and forgotten about it?
    http://download.cnet.com/iTunes-Folder-Watch/3000-2141_4-10524730.html
    Because itunes doesn't do that (watch folders), hasn't done it since it was first released, and that's been one of the most asked-for feature over the years.

  • I have 100 groups in planning for those 100 groups i want to build roles like interactive,view user,planner etc.for those how to change in export -import folder .xml file  in that edit  how  to change user roles in that xml it will generate automatic id.h

    I have 100 groups in planning for those 100 groups i want to build roles like interactive,view user,planner etc.for those how to change in export -import folder .xml file  in that edit  how  to change user roles in that xml it will generate automatic id.how to do that in xml file ?

    Thanks john for you are reply.
    I had tried what you sad.I open shared service in that foundation project i had export shared service.after that in import-export file.In that role.csv,user.csv,group.csv.Like this file have.When i open user file added some users after i trying save in excel it shown messgse
    I click yes and save the .csv file and import from share servie. i got error like this
    am i doing right way john.or explain clearly

  • Automatic import of material data (csv file) from FTP directory

    Hello Experts,
    We created a Scheduled Task -> Data Import Monitor -> from a FTP directory.
    We loaded the .csv file with material data in the FTP folder but it is not getting imported.We have created the .csv file with the format of fields defined in Company quick start Work book -> Material tab. We also tried with a .csv file having first Field as CLASS_NAME with a value of masterdata.Material and rest of the fields same as defined in the Company quick start-Materials Tab still it did not work.
    When we load the .xls work book in FTP directory (xl having the Configuration tab and Material tab) the data import is working fine and the data is getting loaded automatically from the data import monitor job.
    Is there any specific format of .csv file in which the material data needs to be loaded to the FTP server for automatic import of data using Scheduled task?
    Regards
    Aditya

    Are there any errors appearing in the FPA logs?
    Have you checked the permissions on the folder/file that you are uploading from?
    What type of scheduled task have you created?

  • ITunes automatically imports music after re-boots (damaged .itl file)

    Every time I start ITunes after my computer has been re-booted, ITunes starts importing my music library and says I have a damaged Music Library file (itl). If I allow ITunes to import my music files then it works fine (all playlists and ratings intact) even if I exit & re-enter the Itunes Application. However, as soon as I reboot the system I get the same damaged file dialog box. Also, I've tried waiting after I have booted the system for a long time to make sure it isn't conflicting with startup processes.
    I have a lot of songs and it takes ITunes a long time to import each time, and it is really frustrating. A temporary work-around is that I make a backup copy of the "itl" and "xml" files each time after I exit Itunes when I have made changes. Then after a reboot when I start Itunes, I stop it from importing the library, finding artwork, gapless scan, etc... I copy the previously saved "itl" & "xml" files into the ITunes folder and the ITunes program will then start up correctly with all my music files, ratings & playlists.
    _*A. COMMENTS*_
    1. Since the "itl" file I copy into itunes folder (as per my work-around)is an exact copy of the "itl" file that was originally in the ITunes folder after a reboot, I don't think the ITunes file is actually damaged, since ITunes will boot from this file after Itunes is started a 2nd time. This also shows me that it is not a path issue.
    _*B. SETUP*_
    1. Dell 3.4Ghz Pentium 4
    2. MS Windows XP Home Edition (service pack 3)
    3. Recently upgraded to ITunes 9.0.3.15 (did not resolve problem)
    4. McAfee Security Center virus/firewall software
    5. Ad-Aware spyware checker(resident)
    6. Spy-bot Search and Destroy spyware checker(resident)
    5. My Music files are located in C:\Documents and Settings\My Name\My Documents\My Music\ (itunes folder is also in same folder)
    6. My Itunes Library .itl file is 2,842 KB
    7. My Itunes Music Library .xml file is 16,580 KB
    _*C. WHAT I HAVE TRIED SO FAR*_
    1. I have re-installed ITunes
    2. I ran scan disk (fixed errors & checked physical disk). It did say it repaired something with an "XML" extension, but I didn't write it down because I thought it fixed the issue, but I don't think it was the itunes xml file
    3. I cleaned a bunch of junk files (internet cache, etc) and defragged
    4. I completely un-installed ITunes and ran a registry cleaner to remove all references to Itunes, Then I installed ITunes. ITunes imported my library and lost all my ratings & playlists however it found all of my artwork (not just automatically created from internet) I re-used an old .itl file for ratings/playlists. However I did try with the newly imported "itl" file and the same problem was persistent
    5. I tried restoring my computer to month ago when everything was working correctly
    6. I tried for hours looking through multiple forums and the ones that I found that have the same problem (only after reboots) were never resolved. Most of the others just tell people how to get their library back
    7. I tried to call Apple Itunes tech support on the phone and was told that Apple does not provide Itunes phone support for PC's. I did pay good money for 30Gb & 16Gb Iphones, so I am giving Apple Money. I would own a Mac however my profession uses software not supported by Apple.
    _*D. QUESTIONS*_
    1. Does anyone have any idea why this is happening? I'm going to try to figure out how to start in some sort of safe mode and log the processes to see if there are any conflicts, but I'm running out of options.
    2. I did copy rather large 1200x12000 artwork from the internet into some of the CD's because I was printing them, however I later removed the artwork and replaced it with 300x300. I noticed the Album artwork Cache & Download folders seems rather large and convoluted. I was thinking about possibly deleting all artwork from my library and deleting these folders to see if there is something in there.
    Please Help, I've spent far too many hours trying to resolve this issue. I just don't understand that after uninstalling, and cleaning registry that re-installing didn't fix this issue.

    Followup:
    The link you posted wasn't really any help, but I believe I have finally resolved the issue (after 2 consecutive reboots without problems -- knocks on wood). I wish I could single out exactly what resolved the issue, but I went crazy and did a lot of things last night/this morning (and didn't have the patience to reboot after each single change).
    Here's a list of a few things I remember doing
    1. Installed updated hardware drivers using Uniblue driver update software (a couple were bundles that affected quite a few things). I booted up this morning only to get a repeated "REFMONINITIALIZATIONFAILED" dialog with the blue screen of death. I wasn't worried as I did a complete backup of all my personal files last night, anticipating a full rebuild today. So the next time I rebooted I used the "last known good configuration".
    2. I don't have any indexing programs (that I'm aware of), but I clicked the library file, xml files and all other files in the itunes library root directory and unchecked the "For fast searching, allow Indexing Service to index this file" box after right clicking and selecting "properties" and then "advanced"
    3. I rolled back ALL Uniblue SpeedUPMYPC2009 system tweaks (except internet) that were automatically done when I ran the program on 1/10/10.
    I have a strong inclination that one (or more) of the Uniblue system tweaks did something that prevented my library file from being accessed the first time after after a boot that I started ITunes. I apparently hadn't accessed ITunes for a couple weeks after I ran the Uniblue program, so it didn't register that it could have caused the issue. At some point in the future I'll try to pin down which tweak caused the problem, but for now I've wasted far too much dealing with this and don't care if my computer runs a few milliseconds slower.
    Thank you for responding

  • File Chooser Component for JavaFX not available?

    Is there a way to have a “File Chooser Component” for JavaFX Applications?
    Netbeans IDE offers a “Palette Swing Windows” Components, displays such item, but I am unable to put it into my FX Script.
    Any workaround? or miss I a anything?
    I want to pickup any sourcefile: "{__DIR__}sound/{soundName}" from local disc and run it on a Mediaplayer

    import javax.swing.filechooser.FileFilter;
    * @author Pawel
    public class OpenFileFilter extends FileFilter {
        override public function getDescription() : String {
            return "all movies";
        override public function accept(f: java.io.File) : Boolean {
            return f.isDirectory()
                or f.getName().endsWith(".avi")
                or f.getName().endsWith(".mov")
                or f.getName().endsWith(".flv");
    import java.awt.SystemTray;
    import java.awt.TrayIcon;
    import java.awt.Toolkit;
    import java.awt.PopupMenu;
    import java.awt.MenuItem;
    import java.awt.AWTException;
    import java.lang.System;
    var stage : Stage = Stage {
        title: "JavaWars"
        width: 800
        height: 600
        scene: scene,
        style: StageStyle.TRANSPARENT,
        extensions: [
            AppletStageExtension {
                shouldDragStart: function(e): Boolean {
                    return inBrowser and e.primaryButtonDown and header.hover;
                onDragStarted: function() {
                    inBrowser = false;
                    addTray();
                onAppletRestored: function() {
                    inBrowser = true;
                    removeTray();
                useDefaultClose: true
    var trayIcon : TrayIcon;
    function addTray() : Void{
        if(SystemTray.isSupported()) {
            var tray : SystemTray  = SystemTray.getSystemTray();
            var image : java.awt.Image = Toolkit.getDefaultToolkit().getImage("{__DIR__}resources/images/trayicon.png");
            var popup : PopupMenu = new PopupMenu();
            var item : MenuItem = new MenuItem("Zakończ");
            item.addActionListener(ActionListener{
                override public function actionPerformed(e : ActionEvent): Void {
                    var tray : SystemTray  = SystemTray.getSystemTray();
                    tray.remove(trayIcon);
                    stage.close();
            popup.add(item);
            trayIcon = new TrayIcon(image, "kliknij prawym, aby zamknać aplikację", popup);
            try {
                tray.add(trayIcon);
            } catch (e : AWTException) {
                System.err.println("Can't add to tray");
        } else {
            System.err.println("Tray unavailable");
    function removeTray() : Void{
        if(SystemTray.isSupported()) {
            var tray : SystemTray  = SystemTray.getSystemTray();
            try {
                tray.remove(trayIcon);
            } catch (e : AWTException) {
                System.err.println("Can't remove tryicon");
    }

  • I am having issues today with my Adobe Lightroom 5.6 today that was working fine yesterday except for te files from one of my cameras showed up on import but wouldn't download, today I'm getting the message "Lightroom cannot start because it cannot create

    I am having issues today with my Adobe Lightroom 5.6 today that was working fine yesterday except for te files from one of my cameras showed up on import but wouldn't download, today I'm getting the message "Lightroom cannot start because it cannot create files in the temporary file location  /var/folders/jv/2bct456j0yg4ys681fxk9zq00000gn/T " don't know what has happended in 24 hrs except I did check my permissions on my main directory to ensure that I had extended permissions to all the folders contained within my main drive on my IMac running OSX 10.10

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • Automate script for import data

    automate script for importing data to the cube from txt files.
    Ex: - I have below 2 files for import
    aaaa.txt
    bbbb.txt
    For the above simply i can write esscmd or Maxl script for importing files .
    Esscmd :
    IMPORT 3 "\aaaa.txt" 4 "N";
    IMPORT 3 "\bbbb.txt" 4 "N"
    my question , suppose if some more files added to the existing files, for example cccc.txt got added ,how can i write a code for this?

    Well I guess this will do
    dataDir=" " # Give the data directory path here
    maxlFile="maxl1.msh"
    cd $dataDir
    for file in `ls *` ;
    do
    maxlStmt="import database sample.basic data from data_file '$file' using rules_file 'xxx.rul'
    on error write to 'xxx.log';";
    printf $maxlStmt >> $maxlFile
    done
    ls * is lists all the files in the directory. If you want to be more specific and if you yhink tat your data folder may contain more files then you can use "ls *.txt" if your file extension to load is txt.
    Well I haven't tested this as I am on vacation...So you can just follow the similar way.
    This is only for the 3rd point which you said

  • "Date Modified" for all files being changed if "Automatically write to XMP" is on

    Recently upgraded from LR3 (v3.4.1) from LR2 on OSX 10.6.8 and have always had Catalog Settings > Automatically write changes into XMP turned on.
    When browsing existing JPG files in my Library (no Develop changes, no keywording, no Presets, no Import), LR3 is writing to disk — i.e., when I look at files in Finder, almost every viewed file’s “Date Modified” is being set to today’s date and time. (It actually creates a .swp file, then changes it's name back to .jpg)
    This is really bad, as it's making it impossible for me to use Finder to figure out when I last worked with a file, it is triggering needless Time Machine and Backblaze backups, and unnecessarily churning my disk.
    If I turn off "Automatically write..." this behavior stops. Per David Marx at thelightroomlab.com, I tried turning off this preference, manually doing a "Save Metadata to File" for all files, letting that complete, then turning the preference back on. This does not solve the problem.
    Per a suggestion at photoshop.com, I used ExifTool to see what changes LR was writing to a sample file; from the diff below, you can see that LR is adding a bunch of new fields as well as moving other fields around. But my point is that LR3 should never overwrite a file on disk if all I am doing is browsing thru them.
    Is anyone else seeing this? Any ideas would be greatly appreciated!
    -- David
    diff Exif5609_original Exif5609_update
    2c2
    < FileName: DSC_5609_original.JPG
    > FileName: DSC_5609_update.JPG
    5,6c5,6
    < FileModifyDate: 2009:11:27 21:32:54-08:00
    < FilePermissions: rwxr-xr-x
    > FileModifyDate: 2011:08:07 22:06:47-07:00
    > FilePermissions: rw-r--r--
    27a28,29
    > ShutterSpeedValue: 1/200
    > ApertureValue: 7.1
    55d56
    < SerialNumber: 3209521
    75d75
    < Lens: 18-200mm f/3.5-5.6
    185,188d184
    < UserComment:
    < SubSecTime: 00
    < SubSecTimeOriginal: 00
    < SubSecTimeDigitized: 00
    211a208,299
    > XMPToolkit: Adobe XMP Core 5.2-c004 1.136881, 2010/06/10-18:11:35
    > CreatorTool: Ver.1.00
    > MetadataDate: 2011:08:07 22:06:47-07:00
    > SerialNumber: 3209521
    > LensInfo: 18-200mm f/3.5-5.6
    > Lens: 18.0-200.0 mm f/3.5-5.6
    > ImageNumber: 26634
    > RawFileName: DSC_5609.JPG
    > SavedSettingsName: Import
    > SavedSettingsType: Snapshot
    > SavedSettingsParametersVersion: 6.4.1
    > SavedSettingsParametersProcessVersion: 5.0
    > SavedSettingsParametersWhiteBalance: As Shot
    > SavedSettingsParametersIncrementalTemperature: 0
    > SavedSettingsParametersIncrementalTint: 0
    > SavedSettingsParametersExposure: 0.00
    > SavedSettingsParametersShadows: 0
    > SavedSettingsParametersBrightness: 0
    > SavedSettingsParametersContrast: 0
    > SavedSettingsParametersSaturation: 0
    > SavedSettingsParametersSharpness: 0
    > SavedSettingsParametersLuminanceSmoothing: 0
    > SavedSettingsParametersColorNoiseReduction: 0
    > SavedSettingsParametersChromaticAberrationR: 0
    > SavedSettingsParametersChromaticAberrationB: 0
    > SavedSettingsParametersVignetteAmount: 0
    > SavedSettingsParametersShadowTint: 0
    > SavedSettingsParametersRedHue: 0
    > SavedSettingsParametersRedSaturation: 0
    > SavedSettingsParametersGreenHue: 0
    > SavedSettingsParametersGreenSaturation: 0
    > SavedSettingsParametersBlueHue: 0
    > SavedSettingsParametersBlueSaturation: 0
    > SavedSettingsParametersFillLight: 0
    > SavedSettingsParametersVibrance: 0
    > SavedSettingsParametersHighlightRecovery: 0
    > SavedSettingsParametersClarity: 0
    > SavedSettingsParametersDefringe: 0
    > SavedSettingsParametersHueAdjustmentRed: 0
    > SavedSettingsParametersHueAdjustmentOrange: 0
    > SavedSettingsParametersHueAdjustmentYellow: 0
    > SavedSettingsParametersHueAdjustmentGreen: 0
    > SavedSettingsParametersHueAdjustmentAqua: 0
    > SavedSettingsParametersHueAdjustmentBlue: 0
    > SavedSettingsParametersHueAdjustmentPurple: 0
    > SavedSettingsParametersHueAdjustmentMagenta: 0
    > SavedSettingsParametersSaturationAdjustmentRed: 0
    > SavedSettingsParametersSaturationAdjustmentOrange: 0
    > SavedSettingsParametersSaturationAdjustmentYellow: 0
    > SavedSettingsParametersSaturationAdjustmentGreen: 0
    > SavedSettingsParametersSaturationAdjustmentAqua: 0
    > SavedSettingsParametersSaturationAdjustmentBlue: 0
    > SavedSettingsParametersSaturationAdjustmentPurple: 0
    > SavedSettingsParametersSaturationAdjustmentMagenta: 0
    > SavedSettingsParametersLuminanceAdjustmentRed: 0
    > SavedSettingsParametersLuminanceAdjustmentOrange: 0
    > SavedSettingsParametersLuminanceAdjustmentYellow: 0
    > SavedSettingsParametersLuminanceAdjustmentGreen: 0
    > SavedSettingsParametersLuminanceAdjustmentAqua: 0
    > SavedSettingsParametersLuminanceAdjustmentBlue: 0
    > SavedSettingsParametersLuminanceAdjustmentPurple: 0
    > SavedSettingsParametersLuminanceAdjustmentMagenta: 0
    > SavedSettingsParametersSplitToningShadowHue: 0
    > SavedSettingsParametersSplitToningShadowSaturation: 0
    > SavedSettingsParametersSplitToningHighlightHue: 0
    > SavedSettingsParametersSplitToningHighlightSaturation: 0
    > SavedSettingsParametersSplitToningBalance: 0
    > SavedSettingsParametersParametricShadows: 0
    > SavedSettingsParametersParametricDarks: 0
    > SavedSettingsParametersParametricLights: 0
    > SavedSettingsParametersParametricHighlights: 0
    > SavedSettingsParametersParametricShadowSplit: 25
    > SavedSettingsParametersParametricMidtoneSplit: 50
    > SavedSettingsParametersParametricHighlightSplit: 75
    > SavedSettingsParametersSharpenRadius: +1.0
    > SavedSettingsParametersSharpenDetail: 25
    > SavedSettingsParametersSharpenEdgeMasking: 0
    > SavedSettingsParametersPostCropVignetteAmount: 0
    > SavedSettingsParametersGrainAmount: 0
    > SavedSettingsParametersLensProfileEnable: 0
    > SavedSettingsParametersLensManualDistortionAmount: 0
    > SavedSettingsParametersPerspectiveVertical: 0
    > SavedSettingsParametersPerspectiveHorizontal: 0
    > SavedSettingsParametersPerspectiveRotate: 0.0
    > SavedSettingsParametersPerspectiveScale: 100
    > SavedSettingsParametersConvertToGrayscale: False
    > SavedSettingsParametersToneCurveName: Linear
    > SavedSettingsParametersCameraProfile: Embedded
    > SavedSettingsParametersCameraProfileDigest: D6AF5AEA62557FCE88BC099788BBD3CC
    > SavedSettingsParametersLensProfileSetup: LensDefaults
    > SavedSettingsParametersToneCurve: 0, 0, 255, 255
    > IPTCDigest: d41d8cd98f00b204e9800998ecf8427e
    228,230d315
    < SubSecCreateDate: 2009:11:27 21:32:54.00
    < SubSecDateTimeOriginal: 2009:11:27 21:32:54.00
    < SubSecModifyDate: 2009:11:27 21:32:54.00
    http://feedback.photoshop.com/photoshop_family/topics/lr3_date_modified_for_all_files_bein g_updated_when_browsing_photos_if_catalog_settings_automatically_write_changes_into_xmp_is /replies/6313647

    clvrmnky wrote:
    davidpope007 wrote:
    Then when LR3 loaded my old LR2 images into memory, it "dirtied" the in-memory copy of the file by adding in these new LR3 XMP fields. Then, because I had "Automatically write XMP" on, it said "I better write these changes to disk".
    Yuck. As a former software engineer, this is very bad software engineering.
    It should wait until the user dirties the file (via Develop, keywords, etc.) before presuming to add a bunch of metadata fields that are unique to the new version of LR3.
    Well, I'm a current software developer, and this is, really, a perfectly reasonable thing to do. It is a reasonable trade-off for a convenient feature required by a small subset of users.
    Yes, in most cases the in-memory copy should "never" be dirtied unless the user makes a gesture of some sort, but like I said earlier, this option (once set by the user) sets up the situation where this gesture becomes implicit. This is a clear trade-off for the sake of convenience. And if the XMP is out of date and needs to be updated en masse, so be it.
    The fact is, there is no easy way around this. Do we save up /every/ dirty buffer somehow until you make a gesture that /might/ require the XMP to be up-to-date before acting on that gesture? Now we have to worry about unflushed buffers if something goes wrong and the app exits. Do we save the buffers to the DB? Now we have to block some calls to make another blocking call to flush some or all of those to DB, and then write some or all of it out to one or more files. In what order? What if there is a gesture to have X files with up-to-date XMP and some or all of those are in unflushed buffers, unflushed DB writes or we have to wait for the DB.
    As you can see, this is a transactionality nightmare, and the easiest and safest thing to get what the user wants (i.e., up-to-date XMP for the purpose of talking to a third-party XMP aware app) is to simply update the sidecar or XMP block in an atomic manner using the correct file IO. The file will have to change at some point, so it may as well be now.
    [Thanks to both of you for your detailed replies. I am aware of the need for tradeoffs so when you say the approach taken is quite reasonable, I do believe you. I also apologize in advance for the length of the following and am extremely aware of the time it must have taken you to compose the above replies, but I'm going to add a bit more, if only for my own piece of mind and in hopes of coming up with a solution for my workflow.]
    From my naive point of view, I was expecting the answer to be simply "don't raise the XMPDirtyFlag upon reading in a file". Obviously if your architecture requires you to "upgrade to latest XMP format" upon read, and another part of the system auto-detects "out of date XMP", then it's going to write those changes to disk.
    But it didn't need to be designed that way. LR obviously has mechanisms to know when a user has made a change to XMP so it is able to write XMP changes to disk only when necessary.
    The promise (to me) of "Automatically Write XMP changes to disk" was to auto-save my changes, and not those made for any internal (i.e., XMP versioning related) changes.
    Perhaps the premise is that it is LR3's job to update an individual file's XMP to the latest version so that other XMP-aware apps can make use of it? I would argue that those third-party XMP-aware apps already have to know how to deal with all prior versions of XMP, so LR3 should just leave well enough alone.
    You asked if my problem with your approach was that it was "inelegant"; not at all, it is based on my own perception of what I need from my workflow, so let me describe that so maybe we can find a better way:
    * Part of the appeal of LR to me is that it preserves my original file as it came off the memory card, allowing me to move to a different workflow/toolset in 2025 if I choose to do so
    * However, with all of changes contained in a single database file, I'm concerned about rare (but possible) corruption, so to mitigate this risk, I let LR backup my database weekly and it's also backed up continuously in the cloud via Backblaze
    * Even with backups of the database, there is still a chance that I could lose changes made to individual files (e.g., LR corrupts the DB and I have to go back to last week's DB)
    * Thus the appeal of the "auto-write to XMP" flag -- that way critical changes (develop, crop, keywords) are saved on a per-file basis; I liked the "automatic" part of this (as opposed to a manual save) because then I don't have to teach others in my family how to manually save XMP changes
    * A nice side-effect of this setting is now when I use Finder to find a file and double-click on it to edit it in Photoshop, all my develop changes are right there; (in other words, I like the flexibility of not having to fire up LR in order to just invoke PS from within it); also when I use Bridge I see all the keywords there
    * So with LR2, I had gotten used to what I thought was the best of all worlds -- autosave of changes at the file level via XMP + raw negatives untouched (i.e., Date Modified == the date I took the picture); this allows me to use operating-system-level tools -- Finder -- to locate/search for files
    * Now I upgrade to LR3 and I'm finally now understanding that a concept "XMP versioning" is going to result in changes to many, but not all my files. (That's something else that's annoying about this issue -- I open up the Grid and browse a folder of files, and only seemingly random ones I've cursored over seem to get written to disk -- if it's so urgent that LR3 update the XMP, then it should do it for all the files in the catalog or at least in that directory)
    Here's a screenshot from Finder of what I see everytime I look at this folder:
    * So now I have to assume that each new version of XMP and/or LR is going to touch my files on disk. Sigh.
    * What I don't like about this is that it is ruining the promise of "untouched raw negative". Yes, the image data is untouched -- which I agree is most of the benefit; but the file has been touched.
    * Perhaps you might empathize a bit more if you imagined that someone went thru all your source code or Word files and randomly changed the date to "today" because you upgraded compilers or moved to Word 2011.
    I agree all of this would be solved by having an XMP sidecar file for JPGs, but you indicate that's not going to happen.
    You've also alluded to the solution of "resetting the Date Modifed" to it's original value -- which I believe is what Finder does when you move or copy a file -- but that that is fraught with issues as well. I believe you when you say there are issues, but again the naive part of me wonders why that soultion would be so bad...
    I just thought of another potential solution -- turning on Date Created in Finder -- but it turns out that's changed, too.
    I am really at a loss as to what to do and would welcome your suggestions.
    Thanks again and kind regards,
    -- David

Maybe you are looking for