How do you use the JS to open a file dialog box

If you use this to open a dialog box to select a file:

File.openDialog ("Select your XML file", "*.xml")

How you open a dialog box to select a folder.  I think it would be something like

Folder.openDialog

but alas, it isn't, and I can't find any reference on how to do this anywhere.  We know?

Thank you

I found it after I posted this.  He replied in this thread

But if you don't get there, it's long and short of it...

It is not Open.   It's openDlg (intuitive how)

var myDefault is new folder ("U:/xxx/zzz');.

myFiles = myDefault.openDlg var ( string, string + model, multiple selection filter quick bollean);

Tags: InDesign

Similar Questions

  • How do you get the permision to open my files. All I get is permission denied

    See above

    Hello

     
    1. have you installed new hardware or software before the show?

    2. what happens when you try to open the files?

    3. who is the operating system installed on the computer?

    4 What problem confined to a particular file?

     
    I suggest you to read the article:
    "Access denied" or other errors in the access to or work with files and folders in Windows
    http://support.Microsoft.com/kb/2623670
     

    "Your question contains all the required information necessary for us to help you. Please re - write your question, this time make sure you have all the information necessary and we will try to help. »
    See this link for more information on:
     
    I hope this helps.
  • How do you use the Exp fundtion on the windows calculator

    How do you use the Exp function in the windows for the following calculator

    Exponential of the negative power of 0.5

    e

    I don't have.
    I couldn't find an e = 2.71828183 key on the windows calculator.
    I used Google's built-in calculator function.

    The windows calculator, you will need to enter:
    2.71828183 [x ^ y] (-0.5) =.
    ||

  • How do you use the creative cloud with using the internet.

    How do you use the creative cloud with using the internet.

    You MUST have an internet connection to download and activate the programs

    After this, you MUST have a connection to the programs check your subscription on the calendar below

    Cloud status check 30-or-99 days https://forums.adobe.com/thread/1549838

  • How do you use the FileChooser.ExtensionFilter in JavaFX?

    Hello world

    How do you use the FileChooser.ExtensionFilter in JavaFX to set the file name extensions and filters of the extension?
    I'm sorry but there are no tutorials covering the "FileChooser" element in JavaFX, I know? Any advice or ideas
    will be greatly appreciated to direct me in the right direction.

    Many thanks in advance!
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.stage.Stage;
    import javafx.collections.*;
    import javafx.stage.FileChooser.ExtensionFilter;
    import javafx.stage.*;
    import javafx.scene.*;
    import javafx.scene.layout.Pane;
    import java.io.*;
    
    /**
     *
     * @author Shakir
     */
    public class Filech extends Application {
    
        /**
         * @param args the command line arguments
         */
        public static void main(String[] args) {
            Application.launch(args);
        }
    
        @Override
        public void start(final Stage primaryStage) {
    
            primaryStage.setTitle("Hello World");
            final Group root = new Group();
            Scene scene = new Scene(root, 300, 250);
    
            Button btn = new Button();
            btn.setLayoutX(100);
            btn.setLayoutY(80);
            btn.setText("Get file chooser");
            btn.setOnAction(new EventHandler() {
    
                public void handle(ActionEvent event) {
                    FileChooser choose = new FileChooser();
                    File d = new File(getClass().getResource(".").getFile());
                    choose.setInitialDirectory(d);
                    Stage st2 = new Stage();
    
                    st2.initModality(Modality.APPLICATION_MODAL);
                    javafx.stage.FileChooser.ExtensionFilter filter = new FileChooser.ExtensionFilter("executable", "*.class");
                    st2.initOwner(primaryStage);
                    choose.getExtensionFilters().add(filter);
                    choose.showOpenDialog(st2);
    
                }
            });
            root.getChildren().add(btn);
            primaryStage.setScene(scene);
            primaryStage.show();
    
        }
    }
    
  • HOW do you use the INS/PRT SC button to insert the copied data? It does not work! Help!

    I just got a pavilion DV6-7010us... I have always used the INSERT key when I copy data and insert into a message, chat screen, document... this computer has a key of INS/PRT SC.  I can't get the key to insert data into almost anything.   How do you use this key?  or is there another way to insert data that you copied, into something... ???  I'm used to use Shift + Insert key on my old laptop.    Right now, I try to keep in my mind to use the mouse to insert data... but would like to be able to use the key on the laptop keyboard.

    Is there a way to do it?

    Thank you

    Barbara

    You must identify your laptop for each of us to have a clue as to what looks like your keyboard. There are so many models of HP to be precise.

    Remove the battery and look for the label that says p/n. Post this string alphanumeric together here. It is your HP product number. G6 or dv6 and dv7 are all just model numbers.

    You can also do this by using Ctrl + C to copy and Ctrl + V to paste. That's what most people use to copy and paste in most applications and productivity programs.

    Because Windows 7 has the capture tool, I didn't even use the Ins or Prt Scr.

  • SQL Server 2003 change open query file dialog box default to the details

    When you use the open the SQL query file dialog box, and then select Details to see the dates, etc..

    It's always come back for when the list opened again very boring and tedious.

    I managed to set the directories of the default folder for more details, running Windows XP

    but have had no luck with SQL Server.  If someone has conquered it?

    Hi ArmintaForrer,

    The question you have posted is better suited to the MSDN forums. You can ask your question in the help link.

    http://social.msdn.Microsoft.com/forums/en-us/category/SQLServer/

    Hope the helps of information.

  • 5610 how do you use the photo HP58 cartridge?

    I have an officejet 5610 and bought the photo HP58 cartridge.  The problem is when I try to print a color photo, the printer uses the HP22 cartridge.  How can I force it to print in color with the HP58.  I bought the HP58 because the site HP said that it is compatible with the printer.

    Hello

    58 Photo cartridge is not used by its own, the pritner uses the 58 and 22 cartridges ink in order to improve the quality of the colors, it will use the cartridges when printing and not only 58 ink cartridge,

    Hope the next informaion may help:

    Use a photo print cartridge
    You can optimize the quality of the color photos you print and copy with your HP all-in-. -
    One by buying a photo print cartridge. Remove the black cartridge and insert
    81 user guide
    Maintain your HP all-in-one
    the picture in its place print cartridge. With the tri-color print cartridge and photo printing
    cartridge installed, you have a system of six inks, which offers improved color quality
    photos.
    When you want to print ordinary text documents, exchange the black back ink cartridge in.
    Use a protector of the ink cartridge to secure your print cartridge when it is not
    used.

  • How do you use the config.xml file to determine which version of an application, a user will download?

    I have two APKs for the same application and I implemented the config.XML of lower version number working for all screen sizes.  The config.XML for the higher version number is set up for only the scresns large and extra-large.  Here's the code from the config.xml file.

    Version 1

    < media screens android: anyDensity = "true" android: Center = 'true '.
    Android: smallScreens = "true".
    Android: normalScreens = 'true '.
    Android: largeScreens = "true".
    Android: xlargeScreens = "true" / >

    Version 2

    < media screens android: anyDensity = "true" android: Center = 'true '.
    Android: smallScreens = "false".
    Android: normalScreens = "false".
    Android: largeScreens = "true".
    Android: xlargeScreens = "true" / >

    When I try to download the app on Google game, only the top version is available, regardless of the size of the unit.  When I asked Google game why this was not behave as expected, they said that the file manifest for both applications is the same.  Here is the code, they shot in the manifest after having used PhoneGap Build.

    < media screens android: anyDensity = "true" android: smallScreens = "true" android: normalScreens = "true" android: largeScreens = "true" android: Center = "true" android: xlargeScreens = "true" / >

    Can someone explain why PhoneGap Build is not using the settings I set in the config.xml file?  And how to fix this?

    The tag is not a valid tag in the config.xml file. This is probably why you see the same tag in two, as the build service is ignorant.

    As to how solve you this problem. Currently, you can not, but the next version of android-cordova will include the ability to add a tag which you will be able to use like this:

  • AR: How do you use the remaining amount for another account later?

    Hello friends,
    GM, how can I use amount remaining for another Bill to internship (AR) later?

    Concerning
    Krish

    Hello.

    You can use the same way as you did for the first time. Just the receipt of the request and apply the amount of unnaplied on another Bill.

    Octavio

  • How do you use the step and resume for 10 indesign pages

    Hello

    I have a record for a mailing label. I have successfully used the step and repeat to create 2 columns and 8 rows for a document or a page. How to create 2 columns and 8 rows to say 10 pages with step and repeat? What you have to do with the pages?

    Thanks in advance

    You're simply trying to get additional copies of the same label? You don't want to do several pages to do, just print x pages.

    This looks like the same project of the other day. You really need to be clear about what you're doing: you said you wanted 50 copies of the same label and I told you not to worry about merging data, but maybe what you really meant you wanted pages full of the same label, but many different labels in the file. It IS a project of data merge, but you still would be implemented with stepa and repeat the process to put a series of placeholders in each position of the label, but you do only one page in the merge template. Merge all your records, one record per page, then print as many copies of the file as that required for the number of labels you need.

  • When you use the "apostrophe key opens the search box a quick link."

    In any pressing open the tab ' (apostrophe) opens the search quicklink, every time. I tried to clear the cache and settigng accessibility.typeaheadfind.autostart to false. Can you suggest something else before the nuclear options. The problem started today, June 25, and is not associated with a plugin or firefox update. Running win 7 SP1 and firefox 38.0.5.

    David

    You can watch this extension:

  • How do you use the freqout as the sample clock to write data on the of 6224 PCI

    Using PCI-6224, I try currently to export data using the freqout as a reference clock sample to a digital output channel. I plug the scope to see the clock on the freqout PIN. However, the data seem to be missing. How can I output the data correctly using the reference for timing? What am I missing that connects the two signals together? Any help would be greatly appreciated. I am writing this code in MS VS C++ and here's what I've done so far:

            int32       error=0;
            TaskHandle  taskHandle=0;
            TaskHandle  taskHandleFRQ=0;
            char        errBuff[2048]={'\0'};
        uInt8       data[8]={1,0,1,1,1,0,1,0};
    
        /*********************************************/
        // DAQmx Configure Clock
        /*********************************************/
        DAQmxErrChk (DAQmxCreateTask("",&taskHandleFRQ));
        DAQmxErrChk (DAQmxCreateCOPulseChanFreq(taskHandleFRQ,"Dev2/freqout","",DAQmx_Val_Hz/*Units*/,DAQmx_Val_Low/*IdleState*/,0/*Delay*/,10000/*Freq*/,0.5/*DutyCycle*/));
        DAQmxErrChk (DAQmxCfgImplicitTiming(taskHandleFRQ,DAQmx_Val_ContSamps,8));
    
        /*********************************************/
        // DAQmx Configure Digital Output
        /*********************************************/
        DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
        DAQmxErrChk (DAQmxCreateDOChan(taskHandle,"Dev2/port0/line0","",DAQmx_Val_ChanPerLine));
        DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"/Dev2/PFI14",10000,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,8));
    
        /*********************************************/
        // DAQmx Write Code
        /*********************************************/
        DAQmxErrChk (DAQmxWriteDigitalLines(taskHandle,8,0,10.0,DAQmx_Val_GroupByChannel,data,NULL,NULL));
    
        /*********************************************/
        // DAQmx Start Code
        /*********************************************/
        DAQmxErrChk (DAQmxStartTask(taskHandleFRQ));
        DAQmxErrChk (DAQmxStartTask(taskHandle));
    

    I think that the original code was operational. However, given that the data transmission has been set to finished, I had a hard time to visualize the data on my scope. By changing the value of DAQmx_Val_FiniteSamps to DAQmx_Val_ContSamps, I could easily see the data.

    My mistake. I'm still learning here. Thanks for the time.

  • How do you use the toggle buttons to switch the content on and off with a smooth transition?

    I work in edge animate CC 2015 and am using toggle buttons to hide and show content, I would that this content to animate smoothly on the screen, maybe going from 0 to 100% opacity and 0-100% scale when enabled and vice versa when it is switched off, is there a simple way to do this?

    Appreciate help!

    Emily

    An easier way if you who would rather just code, use use the Greenock JS library.

    First, add http://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.0/TweenMax.min.js to your scripts Panel to the library.

    Then, add the following code to document.compositionReady

    sym.setVariable ("toggle", true); Create a new global variable called "toggle" and set the value to true

    Now, create a button and click on the following code:

    Toggle var = sym.getVariable ("toggle"); Get the variable global "toggle" and him assign a local variable of the same name

    var FadeSymbol = sym.$("FadeSymbol"); The value of a local variable to your symbol name

    If (toggle == true) {}

    TweenMax.to (FadeSymbol, 0.6, {opacity: 0});

    sym.setVariable ("toggle", false); Reset the value of the variable global 'toggle' false

    } else {}

    TweenMax.to (FadeSymbol, 0.6, {opacity: 1});

    sym.setVariable ("toggle", true); Reset the value of the variable global 'toggle' false

    }

    Note the line TweenMax, it fades to the opacity of the whole symbol rather than using a calendar. It breaks down as follows:

    TweenMax.to (TheNameOfYourSymbol, theTimeinSeconds, {theOpacity, 1 = 100 %}

  • How do you use the pathfinder on objects that have applied effects?

    I described some text, then applied effect > warp > Ark. What I want to do is cut off parts of the letters apart now listed. I tried to use the pathfinder palette, but it applies the pathfinder to the former, not surmounted by an arch shape. All advice is appreciated. Thank you.

    In which case it is important to maintain the effect of deformation, you need to use rather complex effect Pathfinder constructions (see effect > Pathfinder).

    It's probably easier to simply expand the appearance of your effects of deformation (see menu object), then use the Pathfinder palette.

    What version of Illustrator do you use?

Maybe you are looking for