How to get the active directory and environment variables

Hello

1 - is there a global variable to get the real (project, where is ORD and DSQ files) directory?

2.-y there a way to get the directory of the user as the reading of the operating system environment variables?

Thanks in advance.

PD: I use Dasylab12

Yes, use ropes of system

For example, ${DATA_FOLDER}.

For a list, the simplest method is to right click and select global chains. The lower half of the dialog box lists the system strings, including the date, time, name of the worksheet, with or without a path, the DEFAULT folders for the spreadsheet, data, other, black box, etc.

Tags: NI Products

Similar Questions

  • How to get the battery level and status in the cpp file?

    Hi all

    BatteryInfo class so I can I know how to get the battery level and the State in .cpp class?

    Hi Benecore,

    I have Add method below,

    #include

    But I only variable BatteryInfoPrivate not get variable BatteryInfo. You can also check on your side.

    So let me know how to get batteryInfo instance?

  • How to get the friend list and their IDS in the integration of Facebook using Facebook SDK

    can any body send me the code
    How to get the friend list and their IDS in the integration of Facebook using Facebook SDK
    I did after connection and wall

    Welcome on the support forums.

    Please check the strawberry sample that ships with the SDK

  • How to get him Active Directory users and computers that are running on 64-bit Windows 7

    I have windows 7 ultimate 64 bit installation.  I need to download to get him Active Directory users and computers users and computers to manage the windows 2003 server environment.  Used to use AdminToolpack2003, but that does not work on my version of Windows 7.

    Hi Trickymonk,

    You can download it from the link: for Windows 7 Remote Server Administration Tools: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d

    For a similar question, see the link: http://social.technet.microsoft.com/Forums/en-US/w7itproappcompat/thread/a0b24e31-0290-415b-8448-c367bde3e2c9/

    Thank you, and in what concerns:
    Swathi B - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to get the DBCA in Linux environment

    Hello

    I hv installed Oracle 10 g on SuSe Linux and works very well with the web console
    (http://machine-name:1158 / em /)

    but I hv problems to get the oracle tools that appear in the start menu in the windows installation.
    (DBCA, Net Manager, isqlplus etc..)

    So, how to get the DBCA and other oracle 10g tools in the Linux environment.

    thanx

    Set your path env variable in your .bashrc or .bash_profile file

    export PATH = $ORACLE_HOME/bin: $PATH

    Then just issue the command at the command prompt

    dbca Linux]
    netmgr Linux]

    NB: If you are on a remote computer, you must set the DISPLAY variable too

    or you can directly in your bin folder where you can see all the utilities... you can run it as

    Linux]. / dbca

    Concerning
    Nishant

  • How to get the active screen of the BlackBerry application?

    Hello

    I'm trying to get the active screen of the BlackBerry application, for example the home menu.

    I tried to use the screen ActiveScreen = getUiEngine () .getActiveScreen () in my code, but found error during execution.

    I know that this is because the getActiveScreen() method applies only for screens created by this application.

    So is there a way to capture the screen of the other application, for example the mail filter BlcackBerry?

    Thank you.

    Not wanting to not to repeat me, but there is no general way to get access to the Screen of another application object, unless you are on good terms with this application - which basically means that you have access to the instance UiApplication.  You cannot ask the operating system to get that to you, you must have a way to get you.  Which implies execution of something in the context of the Application.

    Even in this case, you may not be able to do what you want.  You will probably need to iterate over the screen and content managers and find the field you want, and even if it covers anything you understand (like BasicEditField) it still cannot handle standard things like setText in a way that is useful to you.  And you might not find fields you recognize, if you access a browser screen, I think you'll find there \are RIM not standard fields in there, so there is nothing you can interact from a standard application of the RIM.

    If you want to do this kind of treatment in General, that will deal with in a number of applications, you should watch event Injection.

    There may be other options for specific applications.  For example, you can simulate of electronic mail by writing a program that sends an email, rather than interact with the BlackBerry.  Or for the same application, if you try to test the headphones, then the listener has access to the UiApplication.  Aye, we be able to help you find approaches less General in some places, if we understand what you're trying to do.  This is the reason for the specific question that I asked in my last post.

    Regarding your second question

    "Another question is, can two separate applications of myself interaction by the user interface?

    For example, to call app2. ButtonField.click () or something. »

    It is in fact just an extension to your first question.  The difference is that you will find the UiApplication associated if both applications are on good terms, in fact you can "spend" the UiApplication via a Global event.  Once you have the UiApplication, you can use

    .invokeLater (...)

    to run the user interface code in the other Application.

    But I look at injector event because I think it might be a more general solution.

  • How to get the outline color and size of the rectangle?

    Hi all

    I'm developing an extension for CS5 and higher (including the CC version). I want to get the outline color and size of a rectangle. I was able to do in CS5. But I noticed that in the version of the CC, there are two ways in which the user can apply to a stroke. One is by applying the effect in the layer Style, and the other through the properties panel. I am able to get the values of time in my script, if it is applied through layer Style, but I can't do it in the other scenario.

    How are these two different traits and how do I get the outline color and size if it is applied via the properties panel using script?

    Thank you!

    Here's what I have so far. It takes more work, but I don't think that's never very accurate.

    function toggleOtherLayersVisibility() {
        var desc = new ActionDescriptor();
            var list = new ActionList();
                var ref = new ActionReference();
                ref.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
            list.putReference( ref );
        desc.putList( charIDToTypeID('null'), list );
        desc.putBoolean( charIDToTypeID('TglO'), true );
        executeAction( charIDToTypeID('Shw '), desc, DialogModes.NO );
    };
    function liveShapeFillEnabled( enable ) {// boolean
        var desc = new ActionDescriptor();
            var ref = new ActionReference();
            ref.putEnumerated( stringIDToTypeID('contentLayer'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        desc.putReference( charIDToTypeID('null'), ref );
            var shapeDesc = new ActionDescriptor();
                var styleDesc = new ActionDescriptor();
                styleDesc.putInteger( stringIDToTypeID('strokeStyleVersion'), 2 );
                styleDesc.putBoolean( stringIDToTypeID('fillEnabled'), enable );
            shapeDesc.putObject( stringIDToTypeID('strokeStyle'), stringIDToTypeID('strokeStyle'), styleDesc );
        desc.putObject( charIDToTypeID('T   '), stringIDToTypeID('shapeStyle'), shapeDesc );
        executeAction( charIDToTypeID('setd'), desc, DialogModes.NO );
    };
    function dupeVisibleMerged() {
        var desc = new ActionDescriptor();
        desc.putBoolean( charIDToTypeID('Dplc'), true );
        executeAction( charIDToTypeID('MrgV'), desc, DialogModes.NO );
    };
    function loadTransparency(){
        var desc = new ActionDescriptor();
            var ref = new ActionReference();
            ref.putProperty( charIDToTypeID( "Chnl" ), charIDToTypeID( "fsel" ) );
        desc.putReference( charIDToTypeID( "null" ), ref );
            var ref1 = new ActionReference();
            ref1.putEnumerated( charIDToTypeID( "Chnl" ), charIDToTypeID( "Chnl" ), charIDToTypeID( "Trsp" ) );
        desc.putReference( charIDToTypeID( "T   " ), ref1 );
        executeAction( charIDToTypeID( "setd" ), desc, DialogModes.NO );
    };
    function getLiveShapeStrokeInfo(){
        var doc = app.activeDocument;
        var lyr = doc.activeLayer;
        liveShapeFillEnabled( false );
        toggleOtherLayersVisibility();
        doc.artLayers.add();
        dupeVisibleMerged();
        var bounds = doc.activeLayer.bounds;
        var horzCenter = (bounds[2]-bounds[0])/2;
        var vertCenter = (bounds[3]-bounds[1])/2;
        lyr.visible = false;
        var sampler = doc.colorSamplers.add([bounds[0]+UnitValue(.5,'px'),bounds[1]+vertCenter]);
        sizeObject.color = sampler.color;
        loadTransparency();
        doc.selection.select([
                                [bounds[0],bounds[1]+vertCenter],
                                [bounds[0]+horzCenter,bounds[1]+vertCenter],
                                 [bounds[0]+horzCenter,bounds[1]+vertCenter+UnitValue(1,'px')],
                                 [bounds[0]+UnitValue(1,'px'),bounds[1]+vertCenter+UnitValue(1,'px')]],SelectionType.INTERSECT);
    
        sizeObject.size = doc.selection.bounds[2]-doc.selection.bounds[0];
    };
    var sizeObject = {};
    app.activeDocument.suspendHistory('Get Live stroke info','getLiveShapeStrokeInfo()');
    executeAction( charIDToTypeID('undo'), undefined, DialogModes.NO );
    sizeObject.size;
    
  • How to get the files to and from the host

    Is there something that I can read which explains how to get the (ftp, memory stick or other) files to and from the host?

    Sorry if this is a noob question, I looked but could not find something specific...

    There are many ways of doing so:

    1 activate not supported ssh and scp use

    2. use VI Client access to your storage space on configuration files and server transfer

    3 configure the iSCSI or NAS to deal directly

  • How to get the name constraintlist and column in a table?

    Hello


    can someone please tell me how to get the type of constraint, and it is imposed on the names of columns in a table.




    Thank you
    Nico

    Hello

    Use the two tables:

    select * from all_constraints
    
    select * from ALL_CONS_COLUMNS
    

    Sorry SY, you were faster than me...

    Published by: user11268895 on August 19, 2010 13:27

  • [MAF] How to get the user name and password after login?

    Hi Experts,

    I have a call to REST where it requires identification information of the user (uname and password) to identify the data that belongs to who.

    Authentication has been made with OAuth.

    I believe that there is an API to get the user name and password in the CRG

    See you soon,.

    Hendry

    Hello.

    You don't need to manipulate the credentials yourself in code. MAF will propagate the logon cookie or inject the identification information in the HTTP header if cookies are not supported.

    To do this, you must select the purchase option of cookie from the server connection Include in REST in the dialog box create a connection Login MAF , such as discussed here:

    http://docs.Oracle.com/middleware/maf210/mobile/develop/MAF-securing.htm#ADFMF23732

    In addition, you must attach the policy of security appropriate to the connection, as explained here:

    http://docs.Oracle.com/middleware/maf210/mobile/develop/MAF-Web-services.htm#ADFMF23697

    Best regards

    Frédéric Desbiens

    Senior Product Manager

    Mobility and Cloud oracle

    Twitter: @BlueberryCoder

    blog: http://blogs.oracle.com/blueberry

  • How to get the activation key

    I bought a copy of download of Lightroom 5 from a legitimate source and was delivered with a product key that contains 22 digits, grouped into 6, 4, 4, 4, 4. However, the activation key for the software requires 24 digits into 6 groups of 4. How can I get the correct key?

    Using redemption code

    Mylenium

  • How to get the user directory in HTML5 extension?

    Hello

    It may be too easy as well, but I am running with no luck here.

    I am beginner in developing extensions to HTML5. First time I'm developing InDesign CC extension in HTML5. Before that, I used it to develop in Flex (AS3). SE directory of the user with the AIR API was pretty easy with the File class as: (File.userDirectory.nativePath). But with the HTML5 extension I do not know how to get it with Javascript.

    I tried with two or three ways but no luck.

    I tried:

    var systemPath = new SystemPath();
      alert(systemPath.APPLICATION);
    

    It says no "defined."

    I also tried with a different API:


    var tmpDir = OS.Constants.Path.tmpDir;
    

    It says «Undefined OS»

    Can someone please advise on this?

    Thanks in advance

    Mac

    Try this,

    var csInterface = new CSInterface();

    Alert (csInterface.getSystemPath (SystemPath.user_data));

    You can follow this link,

    http://www.davidebarranca.com/2014/01/HTML-panels-tips-2-including-multiple-jsx/

    Thanks to M. Davide, his advice will help a lot of newbies (whose too)

    It will be useful,

    Best...

    AI

  • Flash Player: How to get the automated audit and reporting to work after a failure to update.

    I've implemented the program Adobe Flash Player in my computer (Windows 7 64-bit SP1) to check and warn me when there is an update.

    I got a notification about a Update April 15, 2013. I had updated the Flash Player program several times with these notifications in the past. This time when I clicked to download the update, it did not download and I got a message on an error.

    Since the last update of Flash Player, there are two changes in my computer. IE 10 is new as I installed it with the updates I get from Microsoft. I also installed Norton Internet Security. My guess is that Norton Internet Security do not allow the download to continue and complete.

    Later, I found the following entry in my windows logs.

    Log name: Application,.

    Date: 15/04/2013.

    Name of the failing application: FlashUtil64_11_6_602_180_ActiveX.exe,.

    version: 11.6.602.180,

    The failed module name: ntdll.dll,.

    version: 6.1.7601.17725,

    Exception code: 0xc0000005.

    Offset: 0x00000000000532d0.

    Now, I think I got to stop Norton Internet Security before I run the Flash Player updates.

    I have read the Adobe installation issues page " http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html "

    and based on the information at this site, I checked and Active scripting in active under websites and trust.

    I have three questions.

    1. why I don't get the notification again? Is there something written in a file or a place I need to clean or remove that control automated and the notification process to rework? What should I do to have automated verification process to work again?

    2 if I download the latest version from the Adobe Web site, do I need to uninstall the currently installed version of the control panel-> programs, and then install the new version or the installation of the new version first uninstall the currently installed version? What is the URL "[http://get.adobe.com/flashplayer/ | ]. http://get.Adobe.com/flashplayer/ ' [ ] ' to use to get the most recent version?

    3 in the Adobe installation issues page, I see the article and the following link: progress bar freezes while downloading / unable to connect to the server / unable to download metafile and the proposed solution is to download the Adobe Flash Player installer directly using the following link. "[http://download.macromedia.com/pub/flashplayer/current/support/install_flash_player_ax.exe | ]. http://download.Macromedia.com/pub/flashplayer/current/support/Install_flash_player_ax.exe ] "what is the difference between installing a new version (issue No. 2) and the download of the installer? That's what I have to do?

    Thank you.

    Right-click on a swf file (for example, on youtube.com), click global settings > advanced > change update settings.

  • How to get the menu bar and dock to stay visible in Mail?

    To expand the text in my mail, I hit full screen to see if the text to expand.  However, I lost the menu bar and the dock, which was still visible before.  I have a Mac Pro with the retina (13 '').  If I move the cursor to the top or the bottom of the screen, they show.  I read that if I press ESC, it will leave full screen.  Well, it does, but the screen is reduced to half of its size and the menu comes on top.  But how I show all the time in the mail.  Weather in Safari.  Thank you!  Debbie

    Exit full screen. Hold the option key and press the green button to expand the format full screen or

    You can drag the window of mail to any size you want from the corner or edge.

  • How to get the callUpdated signal and respond to the function of oncallUpdated slot?

    Hello world:

    I want to get the 'phone. callUpdated (const bb::system:: call & appeal) "signal and do something in the slot to onCallUpdated function, but the problem is crack onCallUpdated() function does NOT respond!

    Here is my code:

    . CPP

    #include 
    

    MyApp (bb::cascades:Application * app) in myApp.cpp

        bb::system::phone::Phone phone;
    
        bool success = QObject::connect(&phone,SIGNAL(callUpdated(const bb::system::phone::Call&)),this,SLOT(onCallUpdated(const bb::system::phone::Call&)));
    
        qDebug()<<"bb::system::phone::Phone phone:  "<
    

    When the application runs, the success of back connect is true!

    void Quicker::onCallUpdated(const bb::system::phone::Call &call)
    {
    
        //CallState::Type state = call.callState();
    
        qDebug()<<"onCallUpdated is called";
    }
    

    In myApp.hpp

    #include 
    
         void onCallUpdated(const bb::system::phone::Call &call);
    

    In the bar - descriptor.xml

        run_when_backgrounded
        access_phone
    

    I found the problem:

    bb::system::phone::Phone phone;
    

    the code must be in the *.hpp.

    Thank you all.

Maybe you are looking for