葫芦的Andr​​oid:是否有pressing Android键盘上的搜索按钮特殊perform_action命令葫芦、按钮、键盘、命令

2023-09-07 01:31:29 作者:寒气震四方

命令 perform_action('send_key_enter')发送回车键,但对我们的搜索栏,回车键是由Android键盘搜索键所取代。

The command perform_action('send_key_enter') sends the enter key but for our search field, the enter key is replaced by the search key in the Android keyboard.

有一个特殊的 perform_action 命令发送搜索键的输入?

Is there a special perform_action command to send the input of the search key?

推荐答案

我已经能够用下面的命令来解决这个问题: press_user_action_button('搜索')

I have been able to solve this by the following command: press_user_action_button('search')

来源: https://groups.google.com/d/ MSG /葫芦-的Andr​​oid / Tl14BqQeWoU / zlxm3hRIpsQJ 作为的一部分v0.5.2 发行说明。