Block reference / UI Interaction
Press Home
Press the phone's Home key.
Only in
WarpX Phone
Press Home leaves whatever app is open for the home screen, as the Home button or gesture does. The app keeps running behind it. To close an app rather than leave it, use Stop app; for any other key, Press key.
Settings
- Delay (ms)
A pause after the block finishes, before the next block starts. Write one number such as
1000, or a range such as1000,3000for a random pause in that range on each run.Example1000
Every block also has the shared block settings — a description, Disable block and what to do on an error. Fields that take text accept data from earlier blocks.
What it hands on
Hands on nothing. Leaves by its single output.
Example: Finish each account's run on the home screen
- Start
- Start app
- Touch
- Press Home
- Build the steps for one account: Start app, then the blocks that do the work.
- Add a Press Home block at the end, with Delay (ms)
1000. - Pick the phone in the editor's toolbar and press Run: the run ends with the phone on its home screen.
Good to know
- With the WarpX agent installed, Home is pressed through it; without it, through Android's
input keyevent. Both work.
See also
- Press Back — Press the phone's Back key.
- Press Recents — Open the recent apps, as the ☰ or ||| button beside Home does.
- Press key — Press one of the phone's keys: Enter, Delete, Volume, Power and the rest.