启动快捷方式 - 动作
使用场景
标题 | 内容 |
---|---|
交易提醒 | 你在百度地图打车有一笔22.94元的免密/自动扣款支付,点此查看详情。 |
功能演示
导入规则
{
"notificationChannels": [],
"packages": [
{
"id": 131,
"name": "Android 系统",
"packageName": "android",
"type": 0,
"uid": 0
}
],
"rules": [
{
"actionSettings": [
{
"blackExec": true,
"delay": 0,
"event": 17,
"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": [],
"event": [
17
],
"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": [
131
],
"popup": {
"content": "$c_all",
"subtitle": "$s_all",
"title": "$t_all"
},
"range": [
0,
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": "a884c42e-7ec9-4365-a3d0-94159b3ea7ee",
"ruleButton": "",
"ruleButtonType": 0,
"ruleChannel": "",
"ruleChannelType": 0,
"ruleContent": "^没有设备已连接$",
"ruleContentType": 2,
"ruleDescription": "收到“网络共享或热点已启用”的通知后打开WLAN。",
"ruleMatchType": 1,
"ruleName": "启动快捷方式",
"ruleNotification": "",
"ruleNotificationType": 0,
"ruleSubTitle": "",
"ruleSubTitleType": 0,
"ruleTitle": "^网络共享或热点已启用$",
"ruleTitleType": 2,
"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": [
{
"action": "android.intent.action.MAIN",
"activity": "com.android.settings.Settings$WifiSettingsActivity",
"categories": [
"com.android.settings.SHORTCUT"
],
"config": "",
"data": "",
"flags": [
335544320
],
"label": "WLAN",
"packageName": "com.android.settings",
"type": ""
}
],
"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"
}
创建规则
填写规则基础信息
设置动作
点击➕按钮。
选择设置快捷方式。
选择WLAN。
完成。