跳到主要内容

简易分享 - 动作

将通知发送到指定应用

使用场景

比如通知存在文件下载的链接然后通过简易分享发送Download Navi 应用进行下载。

功能演示

导入规则

{
"notificationChannels": [],
"packages": [
{
"id": 298,
"name": "QQ",
"packageName": "com.tencent.mobileqq",
"type": 0,
"uid": 0
},
{
"id": 514,
"name": "QQ",
"packageName": "com.tencent.mobileqq",
"type": 0,
"uid": 999
}
],
"rules": [
{
"actionSettings": [
{
"blackExec": true,
"delay": 0,
"event": 16,
"failedExec": false,
"lockExec": true,
"runDateRanges": "0, 1, 2, 3, 4, 5, 6",
"runRandomCount": 3,
"runRandomCountFail": 0,
"runTimeRanges": "",
"unlockExec": true
}
],
"barrage": {
"content": "$c_all",
"position": 0,
"speed": 5,
"subtitle": "$s_all",
"time": 2,
"title": "$t_all"
},
"broadcast": {
"scenes": [],
"text": ""
},
"clickButton": {
"buttonGroup": [],
"suspendedTip": false,
"time": 0,
"tip": false,
"tipText": ""
},
"clickNotification": {
"suspendedTip": false,
"time": 0,
"tip": false,
"tipText": ""
},
"config": "{}",
"copy": {
"text": "",
"tip": false
},
"easyShares": [
{
"activity": "com.tachibana.downloader.ui.adddownload.AddDownloadActivity",
"config": "",
"label": "Download Navi",
"packageName": "com.tachibana.downloader",
"text": "$c_all"
}
],
"event": [
16
],
"fixed": {
"channel": "",
"content": "$c_all",
"subtitle": "$s_all",
"title": "$t_all"
},
"openApps": [],
"output": {
"contentVariable": "// 内容变量\n$c_all \u003d (.+\\n*)+",
"subtitleVariable": "// 副标题变量\n$s_all \u003d (.+\\n*)+",
"titleVariable": "// 标题变量\n$t_all \u003d (.+\\n*)+"
},
"packageIds": [
298,
514
],
"popup": {
"content": "$c_all",
"subtitle": "$s_all",
"title": "$t_all"
},
"range": [
1
],
"remove": {
"before": false,
"hour": 0,
"minute": 0,
"repeat": false,
"repeatHour": 1,
"repeatMinute": 0,
"second": 0
},
"ringtone": {
"path": "",
"playCount": 1,
"scenes": []
},
"rule": {
"delayRun": 0,
"isFixed": false,
"isUse": true,
"price": 0,
"rUid": "0abfd175-98e3-4f7a-ac82-83e11ed612b4",
"ruleButton": "",
"ruleButtonType": 0,
"ruleChannel": "",
"ruleChannelType": 0,
"ruleContent": "(http|ftp|https):\\/\\/[\\w\\-_]+(\\.[\\w\\-_]+)+([\\w\\-\\.,@?^\u003d%\u0026:/~\\+#]*[\\w\\-\\@?^\u003d%\u0026/~\\+#])?",
"ruleContentType": 0,
"ruleDescription": "将下载链接分享到Download Navi。",
"ruleMatchType": 1,
"ruleName": "简易分享",
"ruleNotification": "",
"ruleNotificationType": 0,
"ruleSubTitle": "",
"ruleSubTitleType": 0,
"ruleTitle": "",
"ruleTitleType": 0,
"runDateRanges": "0, 1, 2, 3, 4, 5, 6",
"runRandomCount": 3,
"runRandomCountFail": 0,
"runTimeRanges": "",
"uuid": "b94d2a5c-d235-4fb0-8e1a-89fae2d1168c",
"versionCode": 0
},
"save": {
"config": "",
"location": 0
},
"share": {
"content": "$c_all",
"subtitle": "$s_all",
"title": "$t_all"
},
"shareToApp": {
"packageName": "",
"shareConfig": "[]",
"sharePath": "",
"uriAuthority": ""
},
"shareToServer": {
"method": "POST",
"shareDataConfig": "[]",
"shareHeaderConfig": "[]",
"url": "http://"
},
"shortcuts": [],
"testNotificationList": [],
"tip": {
"channel": "",
"content": "$c_all",
"subtitle": "$s_all",
"title": "$t_all"
},
"toast": {
"text": "$t_all $s_all $c_all"
},
"vibration": {
"count": 1,
"scenes": [],
"times": ""
}
}
],
"versionCode": 35,
"versionName": "3.5.10"
}

创建规则

填写规则基础信息

1.1.jpg

1.2.jpg

1.3.jpg

1.4.jpg

设置动作

点击➕按钮。

1.4.jpg

找到“Download Navi”后选择。

2.jpg

填写内容变量。

3.jpg