インプットモードの動作環境について

UiPath初心者です。
インプットモードは、シミュレート>ウインドウメッセージを送信>ハードウェアイベントの順に、利用すべきと教わりましたが、以上のモードはすべて画面が他の画面の裏にあっても動作すると考えてよろしいでしょうか?

Hi @gorby

Please refer to the following table & verify the background execution support for individual methods:

For hardware event, background execution is not supported as it will directly use device drivers. In that case, the screen has to be present.

Hope this helps,
Best Regards.

If so, how can we force the window foreground in case we should use hardware event?

@gorby

Whatever the actions that are in background upon which you are implementing hardware events, you can contain them in ‘Use Foreground’ activity.

It moves the current background process into the foreground, executing all the activities it contains. After the execution is complete, the process is moved back into the background.

https://docs.uipath.com/activities/other/latest/user-guide/use-foreground

Hope this helps,
Best Regards.