Skip to main content
Nintex Community Menu Bar
Solved

RPA, How to switch or active application ?

  • Mar 31, 2023 6:09 AM UTC
  • 6 replies
  • 282 views
  • Translate All

Forum|alt.badge.img+4

My coding has opened 2 applications such as Internet Explorer and Excel, Does RPA has function to call or switch to desire application ? (may be more than 2 apps in the future)

Remark, i’m not interested on Key shortcut as Alt+Tab, need functional command also be better.

Best answer by TarekMostafa

@Qootaro

You need to use the command “Get step window handle” to capture the application(s) window(s) and put each in a variable (an image of the application screen must be recorded in this step)

 

Then you can utilize the command “Control Window State” and choose the option “bring to front” to switch between applications.

To check the status of actively opened applications, you can utilize the “check window state” command.

 

View original

6 replies

Forum|alt.badge.img+4
  • Author
  • Scholar
  • Apr 11, 2023 8:03 AM UTC

In additional, how to check each actively opened application status ?
I need to check that for avoid duplication opening application.

Translate

Sasan
Nintex Employee
Forum|alt.badge.img+12
  • Nintex Employee
  • Apr 15, 2023 3:54 PM UTC

@Qootaro A Nintex team member will get back to you shortly.  Thanks for your patience.

Translate

Forum|alt.badge.img+1
  • Nintex Employee
  • Answer
  • Apr 17, 2023 9:08 AM UTC

@Qootaro

You need to use the command “Get step window handle” to capture the application(s) window(s) and put each in a variable (an image of the application screen must be recorded in this step)

 

Then you can utilize the command “Control Window State” and choose the option “bring to front” to switch between applications.

To check the status of actively opened applications, you can utilize the “check window state” command.

 

Translate

Forum|alt.badge.img+4
  • Author
  • Scholar
  • Jul 19, 2023 6:20 AM UTC

Thank you @TarekMostafa

I have one more scenario, how to check exist IE application actively or opened at start of wizard ?

Example, trigger starting then robot check IE app open status.

Translate

Forum|alt.badge.img+4
  • Author
  • Scholar
  • Jul 24, 2023 8:25 AM UTC

@Sasan @TarekMostafa Do you have suggestion about this one ? Please advise

How to check exist IE application actively or opened at start of wizard ?
Example, trigger starting then robot check IE app open status.

Translate

Forum|alt.badge.img+3
  • Nintex Employee
  • Jul 24, 2023 2:28 PM UTC

@Qootaro you can use the command “Get active application” and select the option “browser type”.

Thereafter check the return variable and confirm if it matches the browser type that you are attempting to identify.

You should use this command at the step end of the 1st step that has IE window recorded. If the IE browser window is opened and matches the step’s Windows properties, it should be automatically brought to front as the active application. And with that, the above command will help you verify the window. If you do not get the desired return result, then the next step is to use “Run Program” and launch IE again with the desired target URL.

Translate