Is there a dialog to choose a folder?

If I use the standard Export dialog, the Export Location section has a button labeled 'Choose...' for custom folder locations. If I choose that, I get (at least on Windows) the standard directory-chooser dialog (i.e. not meant for choosing files, just directories). I'd like to invoke this in my own export plug-in but I don't see it in the LrDialogs namespace. Is there some other way I've missed? How do people handle the case where they don't want the user to choose a file, just a directory?

Wouldnt this do it? -
LrDialogs.runOpenPanel( args ) Invokes the platform Open File dialog.
First supported in version 1.3 of the Lightroom SDK.
Parameters
1. args
(table) A table with these fields:
title: (string) The title of the dialog.
prompt: (string) The label of the default button. Replaces "Open".
canChooseFiles: (Boolean) True to allow files to be selected.
canChooseDirectories: (Boolean) True to allow directories to be selected.
canCreateDirectories: (Boolean) True to include a button to create directories.
allowsMultipleSelection: (Boolean) True to allow multiple files to be selected.
fileTypes: (string or table) The file types that can be selected.
accessoryView: (LrView) A custom view to be included in the dialog.
initialDirectory: (string, optional) Path to directory that should be initially opened.
Set canChooseFiles to false, and canChooseDirectories to true...(?)

Similar Messages

  • I'm on a windows laptop using iTunes sharing through the family to connect with Apple TV. After choosing the folder of photos to be shared and displayed on the appletv and when I choose to show on screen, they are not shown in the order they are in the or

    I'm on a windows laptop using iTunes sharing through the family to connect with Apple TV.
    After choosing the folder of photos to be shared and displayed on the appletv and when I choose to show on screen, they are not shown in the order they are in the original folder.
    How to pair show in a certain order, for example, sorted by name.
    grateful
    Julio Cesar

    Not that I'm aware of. You just export JPEG copies to a folder that you can point iTunes to. For instance, I have created a folder in my Pictures folder called Apple TV. And within that folder I have other folders of pictures that I can choose from in iTunes to share with Apple TV. But there doesn't seem to be any way to share a Lightroom slideshow. If you have laid to create a video file that would probably work. Apple TV is a little clunky in my opinion. Some things are a little more difficult to do now than they were a while back. I probably haven't provided you with much help, but just keep experimenting and I think you will figure it out.

  • "00004.MTS" contains unsupported media or has an invalid directory structure. Please choose a folder whose directory structure matches supported media. is message I'm getting i have a sony nex-vg10 my buddy use my cam came over log an transfer with no pro

    "00004.MTS" contains unsupported media or has an invalid directory structure. Please choose a folder whose directory structure matches supported media.
    when i try log transfer from a sony nex-vg10 but my buddy can do it with no problem on my cam an mac

    If you copy the recordings from AVCHD cameras, you must copy the entire storage device with its directory structure intact.
    I have even tried copying BACK files onto the camera and they do not show up in the transfer window under the last clip.
    There is no information for those clips in the AVCHD storage device's directory index files. That means there is no way for the computer to find them.
    Your last resort is most likely [ClipWrap|http://www.divergentmedia.com/clipwrap] now, unless you can get the storage device exactly back into the state it is supposed to be according to the index file.

  • RH10 - WebHelp, SSL, Navigation Toolbar Options.  Is there a way to choose no default?

    I have one group that's requesting their output to have a collapsed left hand navigation pane (i.e., no TOC/Index/Gloss/Search identified as default).
    While I've shown the requestors HOW to collapse (click the "X"), they want it gone by default.  I know we could always go Traditional - No Skin.. but we could also write content in Latin, too. 
    So, is there a method to choose "None" as the default toolbar for a defined Single Source Layout (even outside the WebHelp Options GUI)?

    Yes there is but you'd have to ensure your content has the necessary navigational links to enable users to get around the content without a TOC, index or search. In the WebHelp SSL click on the Navigation dialog and deselect all the toolbar butons.

  • Dialog to choose directory problem

    Am I right that there is a file chooser dialog in the normal swing, but
    no directory chooser dialog? Is there a way to use the file dialog so
    that I can have my users pick a directory? If not, is this planned to be included in future releases or is
    there a free third-party dialog?
    Thanks for help!

    I believe you could change this using the setFileSelectionMode(...) method.

  • Choosing which folder to save downloaded files to as soon as file is downloaded?

    I'm completely new to this so if there's a simple solution to this, do forgive me and thanks in advance for your patience!
    So I've just started messing about with Automator today and read about Applescript.
    I'm basically trying to find a way of having a prompt for me to select which folder I'd like to save downloaded files to, as soon as the files are downloaded into that folder.
    I've tried a couple of things:
    Setting up a Folder Action in Automator for my Downloads folder.
    'Revealing items in Finder'
    'Get selected items in Finder' (thinking that this somehow grabs the items that were revealed and selected in the previous step)
    Then running an Applescript (as an 'action' in Automator) to do something like this:    
    on adding folder items to this_folder after receiving these_items
      tell application "Finder"
      set the destination_folder to [choose folder with prompt choose folder]
      end tell
    end adding folder items to
    Or something like this:
    on run {input, parameters}
      tell application "Finder"
      select files
      move files to [choose folder with prompt choose folder]
      end tell
      return input
    end run
    As you can probably tell, I really haven't a clue (although this is addictive and I can't deny I'm enjoying myself)... I've tried a few more variations based on scripts I've seen dotted around the web doing similar things but I didn't hold on to them so I can't show you them. The script  actually runs really smoothly, and runs through with no errors - I copy a file into my downloads folder (to test) from another folder. The Downloads folder opens up automatically, selects and shows me the file I've just added then pops up with the window prompting me to choose a folder. It's just that when I do end up choosing the folder, the file doesn't move at all. The window disappears then pops back up again, then disappears after I press 'Choose' for the second time, as though something has happened. I suppose the files that the Finder revealed, selected and 'got' had no connection to the following action/script?
    What do I need to change? As I said, completely new to all of this so please do treat me like I'm a bit stupid!
    Thanks!

    Others have already given alternative pointers to solve your specific problem, but I can understand the desire to roll your own
    From your script samples, you're on the right track, but are missing a couple of key concepts. I'll try to clarify.
    Your script:
    on adding folder items to this_folder after receiving these_items
      tell application "Finder"
      set the destination_folder to [choose folder with prompt choose folder]
      end tell
    end adding folder items to
    First up, let's correct that 'choose folder' command. Specifically, the prompt - it should be a string (enclosed in quotes). As it stands, conceptually, you're kind of invoking 'choose folder' again, and the result of that is used as the prompt on the first 'choose folder'. Not going to work so well.
    Instead, your choose folder should look more like:
      set the destination_folder to choose folder with prompt "Select a folder:"
    Note how I've quoted the text and now it's interpreted correctly - the selected folder will now be stored in destination_folder.
    Now that you have the destination folder, what you need is the files to move. Fortunately, Folder Actions provide this for you in the way the command is called:
    on adding folder items to this_folder after receiving these_items
    In this case, these_items is a list of the newly added files., so all you need to do is move these files to the destination_folder:
    on adding folder items to this_folder after receiving these_items
      set the destination_folder to choose folder with prompt "Select a folder:"
      tell application "Finder"
      move these_items to folder destination_folder
      end tell
    end adding folder items to
    Note how I've moved the 'choose folder' line outside of the 'tell application "Finder"' block - there's no need for it to be in there, and this way it will prevent the context switch where the Finder comes active to ask you for the folder.
    Incidentally, this is a 'pure' AppleScript implementation, not an Automator action. The Automator action would be radically different in that the files would be passed into your workflow - you'd need to store these in a variable, then prompt for the destination folder and store that in another variable, then use the move Finder items action to move the files, like:
    Personally, I prefer the AppleScript option

  • Choosing a folder from the hard drive

    Hi
    I need to allow the user to choose a directory to save a logfile to from a Business One form that should get launched when they click on a browse button. I have currently got the below code which is located within the the ItemEvent.
    Dim FolderWindow As New Windows.Forms.FolderBrowserDialog
    FolderWindow.RootFolder = Environment.SpecialFolder.MyComputer
    FolderWindow.ShowDialog()
    The FolderBrowserDialog window does appear however there is nothing shown where the folder directories should be so therefore not allowing for a directory to be chosen. If I however copy the exact same code and place it into the sub Main for example it works OK.
    I've had a look around the forum and theres a couple of people who look as if they've also had this problem but there's no fixes given. Does anyone know why the folders aren't being shown or another way I can allow the user to choose a directory from the Hard Drive?
    Thanks
    Steve

    Hello Steven
    In the last year i have published a solution in c# and vb.net which is working properly.
    you can donwload a simple source from:
    http://www.progi-tech.hu/ShowFileOpenDialog.zip
    before you call the browser window, you can tell the .NET to Acess to the filesystem by the following .NET code
    Dim f As New FileIOPermission(PermissionState.None)
    f.AllLocalFiles = FileIOPermissionAccess.AllAccess
    Regards
    J

  • Unable to choose a folder while publishing to portal from query designer

    Hi,
       I'm trying to publish a report to portal from query designer using 'export to portal' option. I'm having two problems here and may be they are related.
    Problem 1 - When I click on the dialog box to choose a pcd folder name, i get the following warning...
    "The BEx Web application does not correspond to the domain with which the folder selection dialog is called Another cause of the problem may be that BI and portal server are not running in the same domain Notify the system administrator or maintain table RSPORT_T_PORTAL and take note of the server configuration section in SAP note 444247"
    BEx reports created from portal are working fine. The portal and BI are running on same domain and RSPORT_T_PORTAL has FQDN. What am I missing here?
    Problem 2 - When i say ok and continue, it gives me the option to choose the folder. When I pick a folder (gave complete authorization to this folder), and click on Transfer to continue, nothing happens. The button doesn't respond. Technically it should copy the folder path to the previous dialog box from where I should be able to publish.
    Could somebody please help me with this problem?
    Thank You,
    Ashwin

    Hello Ashwin,
    I would start with a very simple thing: add the domains (URLs) to your trusted sites list in the Internet Browser.
    Maybe it solves both problems.
    Kind Regards,
    Marcio

  • How do I choose download folder location?

    How do I choose download folder location? I need to save files into separate folders depending on content.

    You need to use about:config.
    This answer from jscher2000 gives full details [/questions/1028808]
    That however is a semi permanent setting there is no menu to use for quickly choosing locations.

  • There was an error synchronizing your folder hierarchy. Error : 80041004

    I have a brand new install of Windows 7 Ultimate 64-bit. New install of Office 2010 with Hotmail Connector.
    I cannot receive emails to Outlook for my Hotmail account. I tried to delete then re-add the Hotmail account in Outlook. No luck.
    Sync log:
    9:12:12 Synchronizer Version 14.0.5139
    9:12:12 Synchronizing Mailbox
    '[email protected]'
    9:12:12 Synchronizing Hierarchy
    9:12:12
       1 folder(s) updated in online store
    9:12:12 Synchronizing local changes in folder 'Contacts'
    9:12:17
       32 item(s) deleted in online folder
    9:12:17 Synchronizing local changes in folder 'Inbox'
    9:12:17 Error synchronizing folder
    9:12:17
     [80041004-0-0-430]
    9:12:17 Synchronizing local changes in folder 'Deleted Items'
    9:12:17 Error synchronizing folder
    9:12:17
     [80041004-0-0-430]
    9:12:17 Error with Send/Receive.
    9:12:17 There was an error synchronizing your folder hierarchy. Error : 80041004.
    9:12:17 Synchronizing server changes in folder 'Calendar'
    9:12:17 Synchronizing server changes in folder 'Contacts'
    9:12:18 Synchronizing server changes in folder 'Drafts'
    9:12:18 Synchronizing local changes in folder 'Inbox'
    9:12:18 Error synchronizing folder
    9:12:18
     [80041004-0-0-430]
    9:12:18 Synchronizing server changes in folder 'Sent Items'
    9:12:18 Synchronizing local changes in folder 'Deleted Items'
    9:12:18 Error synchronizing folder
    9:12:18
     [80041004-0-0-430]
    9:12:18 Synchronizing server changes in folder 'Junk E-mail'
    9:12:18 Done
    9:12:30 Network operation failed
    9:12:30
    9:12:30
    *Request*      
    9:12:30 09:12:18:0309
    9:12:30 POST
    9:12:30 
    http://
    9:12:30 sn127ds.mail.services.live.com
    9:12:30 /DeltaSync_v2.0.0/Settings.aspx
    9:12:30
    9:12:30 <?xml version="1.0" encoding="utf-8"?><Settings xmlns="HMSETTINGS:"><ServiceSettings><SafetySchemaVersion>1</SafetySchemaVersion><SafetyLevelRules><GetVersion/></SafetyLevelRules><SafetyActions><GetVersion/></SafetyActions><Properties><Get/></Properties></ServiceSettings><AccountSettings><Get><Options/><Properties/></Get></AccountSettings></Settings>
    9:12:30
    *Response* 
    9:12:30 00:00:00:0000
    9:12:30
    9:12:30

    Hi,
    Is there any other older version of Outlook present on the computer?
    Step 1: Try to remove and re-add the account in Outlook and check.
    To remove the account.
    Launch MS Outlook 2010 and click the Office button which is located in the top left corner, now under the Info category you will see the Account Settings option, click
    the drop down button and choose remove account.
    To add the account.
    Launch MS Outlook 2010 and click the Office button which is located in the top left corner, now under the Info category you will see the Account Settings option, click the drop down button and choose Add Account.
    In the next step, select Email Accounts, enter Your Name, Email Address, and Password and click next.
    It will take a couple of minutes to complete the required configuration.
    Click Finish and it will start downloading your emails.
    Step 2: Create new profile and add the account and check.
    To create new profile, follow this link:
    http://support.microsoft.com/KB/829918
    once you create new profile, add the account in Outlook by following the instructions in step1.
    Best Regards,
    Nick Wan
    =============================
    Come back and mark the replies as answers if they help and unmark them if they provide no help.

  • When I try to save a webpage as a bookmark, the options window where I choose the folder where I will save it is disappearing when I try selecting it

    Step 1. I open a web page.
    Step2. I press ctrl+d.
    Step3. I do not see the window where I choose the folder I wish the bookmark to be saved in.
    Step4. I clicked the star button on the right corner of location bar.
    Step5. I see the window now.
    Step 6. When I move the cursor down that window to choose the folder it again disappears.
    Step 7. I randomly click at a spot in the area where the window disappeared.
    Step 8. I realize that it does not go away but stays hidden disappearing.[http://www.youtube.com/watch?v=WV050BObT9I]

    hello bdavis106, please refer to [[Find and manage downloaded files]].

  • HT1660 is there an easy way to delete the whole itunes library and and start again. I notice there is only an add file/folder button but no remove facility

    I recently upgraded to the iphone 5 and managed to sort the transition out with little trouble but noticed when I tried to put my music on that Itunes has messed with album info and either it or me has generated several copies of the same albums over the years and it makes it quite dificult to sort it all out before reloading on the phone. To stop the chaos I had hoped to clear the library and start again but cant find a way to do it. I was hoping to sort all my music out in original files and consolidate them into a proper folder. HOw do I do this. I notice there is an add fole and folder button but no take away??? is there an easy way?

    Use Shift > View > Show Exact Duplicate Items as this is normally a more useful selection. You need to manually select all but one of each group to remove. If you have multiple references to the same files then don't send to the recycle bin. Use my DeDuper script if you don't want to do it by hand. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • I need to transfer the Smart Mailboxes I have set up on one computer to another computer. Both are running 10.8.4 and Mail 6.3. None of the old solutions are viable since there is no longer a 'Mail' folder in the User account.

    I acquired a new iMac, and need to transfer the Smart Mialboxes I have set up on my Mac Pro to the iMac. Mail is already set up to sync thorough iCloud, but the Smart mailboxes are - apparently - set up for individual machines. The only solutions I have been able to locate involve moving Preference files from one machine to the other; the problem is that there is no longer a 'Mail' folder set up for individual Users (actually there is no Mail folder at ALL under 10.8.4), and I am unable to locate any .plist files for Mail at all. Any idea how to make this haoppen?

    Create a new smart mailbox. Does it sync? If not, do as below.
    Back up all data.
    1. Triple-click the line below on this page to select it:  
    ~/Library/Mail/Bundles
    Right-click or control-click the highlighted line and select 
    Services ▹ Open
    from the contextual menu. A folder may open, or you may get an error message that the item can't be found. Either result is normal. If the folder does open and has contents, move the contents to the Desktop. Relaunch Mail and test. If there's no change, put the contents of the folder back and quit Mail again.
    2. Repeat with this line:
    /Library/Mail/Bundles
    This time you may be prompted for your login password when you remove the items. Make sure they're removed from the folder and not just copied to the Desktop. If necessary, copy them first and then move the originals to the Trash.

  • Is there a way to download a folder or all the contents of a folder?

    Is there a way to download a folder or all the contents in a folder? I uploaded all the photos into my Creative Cloud but now I am out of the office and working on another computer so I need all those images so I can create a DVD Slide show for A&M. I need all the images, over 100 of them. Is there a way I can download this entire folder or at least all the images in the folder at one time? All I can find for download is to download each image separately one at a time. I can't even select them all and say download every image selected. I don't want to sit here for hours downloading one image at a time, that's just ridiculous.
    Help Please!

    Ken,
    Just wanted let you know the answer was not helpful but it was correct. Thank you for your time in answering me.

  • Is there a way to choose multiple "send to" addresses at the same time?

    I would like to send mass e-mails to different people from my contact list for different topics, picking the addresses each time rather than using a group.  I have found the " + " sign for accessing the contact list, but I can't figure out how to select more than one address at a time (and then having to go back to the " + " sign to select the next contact, etc.  Is there a way to choose the contacts you want to include in a send field in ONE step like we used to be able to do in the last version of this app?

    Is there a way to choose the contacts you want to include in a send field in ONE step like we used to be able to do in the last version of this app?
    No. You can kind of do it by dragging from the Contacts app, but the default address (first in list, I think) will be used. I you have contacts with multiple email addresses, you’d have to go to each in the address field and select the correct one.

Maybe you are looking for