Skip to content

WeChatSendMsgAndEmoji

Function Description

TIP

Specify WeChat name or WeChat ID to send WeChat files

WeChatSendMsgAndEmoji

Configuration Item Description

General

Command Input

  • Indicate the operational elements of WeChat, please use UIA mode to capture the outermost window of WeChat, UIA mode cannot capture, this parameter can be emptyTTarget: Target

  • Remarks/WeChatNamestring: Priority should be given to searching through Remarks/WeChatName

  • WeChatNumberstring: Can specify to obtain chat messages with someone through WeChatNumber

  • RemarksQueryMethodInteger: Remarks Supported search methods [equal query, fuzzy query]

  • SenddingMethodInteger: Whether to send WeChat messages through the background

  • @SomeoneTList<String>: The WeChat name list of the person who needs @ needs to be created by CreateStringList

  • @AllBoolean: After selecting @ everyone, if there is no @ everyone permission, an error will be reported. If @ everyone is selected, @ someone will not take effect

  • SendWindowMessagesBoolean: Whether to send WeChat messages through the background

  • TimeoutMS(milliseconds)Integer: Wait for loading time before execution (in milliseconds)

  • Textstring: Messages to be sent

Command Output

No output for the current command

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None