Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有列表wifi ssid。当我连接任何 ssid 时,我想设置相同的任务。所以,我想创建列表变量(forEach JS 模拟) %WiFi_ssid_list。值这个变量:one, two, three。我怎么能用Tasker appAndroid做到这一点?
%WiFi_ssid_list
one, two, three
Tasker app
您可以创建一个包含wifi connected状态触发器和任务的配置文件,您可以在其中:
wifi connected
1)variable set名称%ssid值%WIFII
variable set
%ssid
%WIFII
2)variable split名称%ssid拆分器"(您的 SSID 应存储在变量中%ssid2)
variable split
"
%ssid2
3)for可变%list_item项%WiFi_ssid_list
for
%list_item
4)if条件%list_item匹配%ssid2
if
5)你的任务在这里
6)end if
end if
7)end for
end for