Choose the file or folder dialog box?

Is it possible to get an open/choice dialog (via the button) which will allow the user to select a folder or selections several files?

I tried to use File.openDlg (), File.openDialog (), Folder.selectDlg () and Folder.selectDlg (), but these methods only appear to allow the user to select the type of object associated with the method (i.e. File.openDlg () only allows the opening of a file, and Folder.selectDialog () only allows the selection of a folder)

The documentation states that the Folder.selectDialog ():

Opens the dialog of exploration of a built-in platform-specific files and creates a new file or folder object
for the selected file or folder. Differs from the selectDlg() method object because it is not
pre-select a file.
If the user clicks OK, returns an object file or folder for the selected file or folder. If the user cancels,
Returns a null value.

However by using the following code, I get the dialog box, but the individual files are dimmed:

Choose_btn.onClick = function(){

var fileOrFolders = File.openDialog (undefined, undefined, true)

The user who will select several files or folders and return an array of file or folder objects. Your code would have to check each item to see if it's a folder or in the case of a file, it is an image file is valid.

Tags: Photoshop

Similar Questions

  • I upgraded Lightroom to LR 4.1 on Windows 7. It seems complete and works well with one exception - in the library, the file management module, dialog box (top right) went

    There is probably an easy fix. I reinstalled the upgrade - no change. Council would be ppreciated

    There is a menu bar at the top right of the Lightroom screen which should say 'developing the library' and other things. If you are the menus that you do mean by "File management dialog box" then click on develop and place a check next to the library. If 'File handling dialog' means something else, I guess you need to describe more in detail.

    You can still get at the library from anywhere else in Lightroom by pressing G

  • How to change the highlight color for windows 7 (select the file or folder)?

    How to change the highlight color for windows 7 in the aero theme (select the file or folder)?

    You can change the font size because it is not a widget.   To do this:

    1 type dpi in your Start menu search box, and then choose make text and other more or less important.
    2 - Choose a size you prefer
    3 - Click on apply.
  • Any way to make it easier for the user to find dialog boxes?

    I tried searching this question for half an hour, but for LabVIEW, "dialog" is practically a stopword (too common).  Is it possible to change the border or background of a dialog box for a button or two buttons three buttons, so that we find on a wall crowded, which can cover two or three screens?

    The short answer is that you have no control over the dialogues of button 1 or 2 native. I think the key 3 is a VI vi.lib who you might Save as and then customize.

    The best way is to use a custom VI which plays the role of a dialog box. If he opens up endless possibilities for the color, size, positioning, guests, inputs and outputs...

    Also, I like your use of the word "vacuum" - it's a concept I meet all the time, but I didn't know there was a word for it.

  • Unable to delete the file or folder, XP falsely claims it is used

    Quite often when you try to delete a file or folder, I get the response "cannot delete [file or folder name]: it is used by another person or program."  Close all programs that might be using the file and try again. »

    "No one else" uses the file and have already put an end to all operations on the file or folder, nothing is to use it.  Something not publishes the file at the end of any activity with her.

    The only solution is to reboot the computer, which is a huge waste of time. Are there any fixes for this problem?

    Will start looking for unlocker

    You don't have to search, simply click on it.  Unlocker.

  • Are there any newspaper to remove the file or folder in windows xp?

    Is there any newspaper to remove the file or folder to replace in laptopwith windows want to see when it is removed or replaced.or as I want to go where it is removed? And which user delete it.for e.g. If some a delete directly from network so where I can see my PC or help network me p.c.Please I want to find which delete some important files?

    Hi Julie Theiler,.
    Unfortunately there is no such feature which keeps track of the information of deleted files. However, you can check the trash on the network to see if the deleted file's still in there.
    For more information about restoring files in the Recycle Bin, see:
  • the file or folder is not left

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!


    • You have problems with programs
    • rror messages
    • Recent changes to your computer
    • What you have already tried to solve the problem
    1. when exactly you get this error message?
    2. don't you make changes before the show?
    Please provide us with more information on the issue, so that we can better help you.
    How to ask a question:
    We checked for the message error "the file or folder does not exist" and concluded the following articles.
    Previous post: details.
    Kind regards
    Answers from Microsoft supports the engineer.
  • cannot find the file or folder

    the message said: "the file or folder 'muuumar.scr' that this shortcut refers is not found."


    A .scr file is a screen saver, something that uses the not dissimilar from .exe files executable code. When you encounter this error message? Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP Windows help -

  • Shared folder error "you do not have permission to access the file or folder you are trying to access to.

    Original title: shared folder

    try to share files and folders between my laptop and my pc... When I try to access partitions shared between them = I got this msg: "you don't have permission to access the file or folder you are trying to access. Contact your network administrator to request access"can u help?


    Follow these steps:

    Step 1: Make this file and printer sharing is enabled, computers.

    Follow the steps listed in the link below to check the parameters and the essential elements to share files over the network:

    Also check if network discovery is enabled, the computer. Steps to follow:

    i. click on Start, click on Control Panel.

    II. Select network and sharing Center

    III. Select change advanced sharing settings

    (IV) in respect of network discovery, select Enable network discovery

    Step 2: check the sharing permission on the shared folder.

    Step 3: you can also try to disable your firewall program and security and then try to access to the shared folder. Make sure that you activate it if this step does not help.

    Antivirus/Firewall software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    In addition, see these articles:

  • How to disable the "Insert smart card" dialog box keeps appearing after the connection?

    Running Windows 7 64 bit on a laptop Dell which includes and integrated smart card reader. My configuration does not require a smart card to log on. I was wondering if the smart card reader has worked, I plugged a card chip used on another system. The driver is installed automatically, so it appears the drive works.

    Now, whenever I log in, the "Insert smart card" dialog box is displayed. If I cancel or close the box, he continues to reappear every few seconds. How to disable this behavior?

    Update: this is somehow connected to Outlook 2003. I have 4 different e-mail accounts. The "Insert smart card" box appears only when checking for my att account (yahoo), which is configured by using POP3.

    Go to the Services.msc and check the settings for the smartcard (manual test) service.


    PS 29 December 2011

    The position of the OP, have been reported since a lot of this problem on the some notebooks Dell and HP. There are a few reports that a replacement of the motherboard fixed the problem and the other that the relocation of a certain connector (no mention of exaclly one that) solves the problem. Direct contact with the manufacturer of the laptop computer, Dell or HP wether, might be useful. Try a follow-up if you have already made contact.


  • How to disable the Advanced tab on the properties of PDF dialog box

    I have created a simple form on Adobe FormsCentral and noticed that the Advanced tab in the PDF Properties dialog box is disabled (user cannot change things like Page Scaling, etc.). While the viewer preferences dictionary is described in the PDF specification, I've found anything in the PDF specifications for the deactivation of the Advanced tab of the properties of PDF dialog box to prevent users to change these values. But given that the form that I created on the web site of Adobe FormsCentral for that, I guess that there may be something in the PDF specifications for it. Anyone has any idea what this could be?

    The reason why the 'Advanced' tab does not change anything is because the exported document of the FormsCentral is registered with extended Reader rights. When you examine the security settings, you will notice that 'Change the Document' is not allowed. Changing the settings of the document should be 'change the document '. The only changes allowed fill in the form fields that have been added by FormsCentral.

  • "cannot complete the operation because the file or folder already exists.

    Hi all

    Just spent in ghettovcbg2 and I must say it is indeed very nice.

    Just a small question though.

    It's not like it is possible to do multiple backups per day?

    I get the error "cannot complete the operation because the file or folder already exists.

    (1) is it only possible to make 1 backup per VM a day?

    (2) can I save to NFS I don't store files in the ESX Server data store?

    It should work automatically, this is more than a warning. You should be able to run more than one backup per day? If that is not the case, please read the FAQ here - and then to provide me with the details requested.

  • Various elements in the fluid network settings dialog box are irrelevant

    The desktop icons and tablet so that the percentage of screen arrows are irrelevant in the fluid grid settings dialog box in Dreamweaver.  Is this a problem with my installation or special to PC users?  I'm new and can't find anything about this, but I can't be looking in the correct areas here at Adobe.  Any help would be appreciated.

    I am running:

    Dell Studio 1558 with 8 GB i7 Q720 @1. 6 GHz.

    Windows 7 Pro SP1 operating system

    Dreamweaver 12.1 Build 5949.FG_Dialog.jpg



    This has to do with the evolution of the size of the font of default to something more general. Here's what mine looks like if I text size in the Middle:

    On Windows 7, here's where those setting are:

  • File copy/delete dialog box is off the screen in a staggered multiple follow Setup

    I'm on Windows 8 on a ThinkPad W520 with a 1920 x 1080 screen and a secondary antibody NEC LCD2070NX 1600 x 1200 display connected via DisplayPort. The NEC is positioned to the left of the ThinkPad and raised higher than the ThinkPad display; the bottom of the NEC is near the center of the left edge of the ThinkPad.
    I put to the top of the poster in the Panel to take account of this arrangement:
    If I have a window of the Explorer of files open in the secondary monitor on the left and use this window to copy or remove some large files or folders, the progress dialog box is not visible. It is currently displayed in the "man no of land" above the main monitor and the secondary screen.
    The problem occurs when the secondary monitor is on the right, or above or below the primary. (I have tested some of these cases, but not completely). Also, this does not happen when the Explorer window is on the primary monitor. The problem does occur at all on Windows 7.
    Here's a film that illustrates the problem. For each image, I copied a large directory on the network and took a screenshot to display side by side and move the secondary display up to about 120 pixels in the control panel every time. You can see how the copy dialog box follows the secondary monitor vertically, but her left side is pinned to the left edge of the main screen, so he ends up disappearing from the screen.
    It is easy to see what is happening here: Explorer normally centers the dialog box of progression on the same screen as the Explorer window that opened the dialog box. This does not work as expected in the direction, but on the axis X to the left edge of the dialog box's get pinned to the left edge of the main screen.
    As the corner at the top left of the primary monitor is always (0,0), it acts as if the dialog box was positioned like this pseudo-code:
    monitor = getWindowMonitor (feed)
    dialog.centerOnMonitor (monitor)
    If dialog.left< 0:="">
    Dialog.Left = 0
    When the dialog box is off the screen, it's a bit disturbing, because it makes the impression that the Explorer window is locked. The only way I know to make visible the dialog box is with this exercise of the superpowers of keyboard shortcut:
    1. use Alt + space to open the system menu of the dialog box. The menu will open on the screen no matter where is the dialog box.
    2. Press m to move (or click on move).
    3. you will see a four-headed mouse cursor, just to fool you into thinking the mouse could do something now. It will not!
    4 instead of this, you have to hit any key of the arrow, which begins the displacement of the dialog box.
    5. now you can use the mouse (or the puree on the arrow keys) to move the dialog on the screen.

    A bit of good news...

    I just tested this on the latest version of Windows preview 10 technical, and it seems to be fixed.

  • Metro Apps fail when you open the file to select/Save Chooser a file or folder - 1026, event ID 1000

    For all Windows 8 Metro Apps that have the ability to open a file or save a file (via the file picker), File Picker screen flashes and then disappears and the application crashes or or the user is not present an interface to select or save a file.

    The file selector used to work, but has not worked for about 2 months now.

    Check the Windows Application logs in case the viewer the following two errors always appear together when the file picker does not work (the example below error occurred while using an application called Sticky Notes):

    Source: .NET Runtime
    Event ID: 1026
    Application: Sticky Notes 8. exe
    Version of the Framework: v4.0.30319
    Description: The process was completed due to an unhandled exception.
    Exception details: System.ArgumentException
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw)
    System.Threading.WinRTSynchronizationContext + Invoker. b__0 (System.Object)
    at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object)
    at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem)
    at System.Threading.ThreadPoolWorkQueue.Dispatch)
    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback)

    Source: Application error
    Event ID: 1000
    Name of the failing application: 8.exe Sticky Notes, version:, time stamp: 0x51ceae1a
    Name of the failed module: KERNELBASE.dll, version: 6.2.9200.16451, time stamp: 0 x 50988950
    Exception code: 0xe0434352
    Offset: 0x00014b32
    ID of the process failed: 0x1d0
    Start time of application vulnerabilities: 0x01ce87269da8f915
    The failing application path: C:\Program Files\WindowsApps\8251MarcoRinaldi.NoteTiles_3.4.0.0_neutral__9rvmmrcs6zgr6\Sticky Notes 8. exe
    Path of the failing module: C:\windows\SYSTEM32\KERNELBASE.dll
    Report ID: 7a632960-f92a-11e2-bea0-68942348047e
    Failed package name: 8251MarcoRinaldi.NoteTiles_3.4.0.0_neutral__9rvmmrcs6zgr6
    On a package of faults application ID: App

    Any idea on what could have caused this and how to fix it?

    System Restore creates a restore point "Undo" which allows you to cancel any act performed by the system restore.  In other words you can duck in time and if you don't like it you can return to the present.

    System Restore is a tool of recovery in the short term.  Dating two months in time isn't what it is so that a lot of work such as updates and settings not replaced and should be repeated.  She will play with happiness this task however.

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista (7 or 8).

    See, control Panel\All Control Panel Items\Recovery\ Open System Restore

    Is another software that you are running, in particular security at the origin of the problem software?

    How to perform a clean boot for a problem in Windows Vista, Windows 7 or Windows 8

    You can even try your Safe Mode network management applications (the results can be a little Flaky).

    How to start Windows 8 in Mode safe

    This example can be worth a try, he runs the built-in administrator to check your Apps.

    This EXAMPLE (ONLY) may or may not work for you with your program, it uses the built-in Administrator account to perform the update?

    "It seems that the"Run as Administrator"command gives you administrative privileges only, and they are not enough to install Java (and OpenOffice, by association). To work around this problem, you must actually connect to the built-in administrator.   Open a command prompt (Admin) with admin rights by using the Windows key + X then select this option.   At the prompt, type:

    NET user administrator / Active: Yes

    Then disconnect from your regular account and folder administrator integrated, where you might be able to install the update.  When you are finished, open a session to your regular account and, for security reasons, disable the built-in using administrator account:

    «net user administrator / active: No.»

    Account administrator integrated - turn on or off in Windows 8

    When a system gets so mucked up it's often best to restart once again from the beginning.

Maybe you are looking for

  • HP CUE scanning flow component ceased to operate...

    I have a HP Photosmart C4280 all-in-One.  For several months now, I was able to do everything except scan.  Whenever I try to scan, I get the error "HP CUE scanning flow component has stopped working... ».  I tried to work with the HP Technical Suppo

  • Locked out of old iPhone5. You want to sell. How?

    want to sell my old iphone5. It is always associated with my iTunes and can be seen on find my iPhone. Although its brand off line (even if it is connected to my wifi at home when I've used it). I hope to clear it (got a 6s last Septmember ish time s

  • Satellite L500D - screen off sometimes

    I bought this Satellite L500D several months and sometimes the screen goes black. It tends to occur when the charger is not plugged, but the battery is charged to 100%. "Indicators of the system" (the lights that are on when the laptop is turned on)

  • Xincrement is not agree with sampling frequency

    I use two PXI-5114 scanners that are being synchronized. I am taking 5 seconds worth of data.  I have = 1e3 sample rate and record length = 5e3. I get only about 1.3 seconds worth of data.  I looked at the actual length of the record and the actual s

  • Windows diognostics policy service does not.

    no solution to restore the diognostics policy?