Get .NET Object Location

Retrieve the location (in pixels) of an object in the active .NET Framework window and place it into new or existing variables. Choose to retrieve the location represented either by:

  • Rectangle – with variables for left, top, width, and height; or

  • Center point – with variables for X and Y coordinates

Choose rectangle or center point first

The variables you need to specify while setting up this command vary based on the method you choose for retrieving the location. So make this selection first and save yourself some time!

  1. Choose whether to retrieve the object location either by rectangle or by center point

  2. Enter the names of the variables into which you would like to place the location information

  3. Select the object whose location you would like to retrieve by dragging the icon onto the object in a .NET Framework window

    • Indicate whether you would like to hide Nintex Studio while you are selecting the object

    • After selecting the object, the following additional options will become available:

  4. Configure available additional settings

    Display additional information about the selected object

    Test retrieving the location of the selected object

  5. Instruct the wizard how to handle any errors encountered. Read more about error handling.

When upgrading, make sure to perform the steps in .Net Plugin Post Upgrade to ensure that your existing .Net Plugin keeps working in the newly upgraded-to version.