cancel
Showing results for 
Search instead for 
Did you mean: 

Application running in background not foreground

KieranMeakin
Level 2
Hi,

I'm trying to use a free application Cyberduck to upload items into our Amazon S3 bucket; its a very automate-able program with an easy interface.

It works perfectly fine in process studio, however when i try to run from control room the process starts as a background process (not foreground) so it immediately terminates after launch as it can't see the home screen.

Does anyone know a way to pass via the command line a method to force it to run it as a foreground process?

Thanks

------------------------------
Kieran Meakin
------------------------------
5 REPLIES 5

ManojDhamrala
Level 5
Hi Kieran,

You can get the application to foreground by using navigate stage.
1. Use a Navigate stage
2. Select the application root element
3. Select "Activate Application" option from drop down.

13829.png
Hope this will resolve your issue.


------------------------------
Manoj Dhamrala
------------------------------

Hi Manoj, 

I've tried to activate but I can't seem to select the application root with Cyberduck. Instead I need to spy the main window and activate that, but then it provides the error message:

"ERROR: Internal : Failed to perform step 1 in Navigate Stage 'Activate' on page 'Launch' - Could not identify process owning the current foreground window"

Any suggestions?

------------------------------
Kieran Meakin
------------------------------

Kieran,

Please check the object Run Mode in Initialize page. Set it to Foreground.

After launching the Cyberduck application stage use action "Wait for Process Window" under Utility - Environment VBO. Then you can use the activate application stage.

------------------------------
Manoj Dhamrala
------------------------------

Hi Manoj,

None of the utility - environment actions appear to pick up Cyberduck... the application will attach, but those actions can't detect it.

Any knowledge?

Best regards,

Kieran



------------------------------
Kieran Meakin
------------------------------

Can you please provide the snap shot of the flow you built.

------------------------------
Manoj Dhamrala
------------------------------