>>398
Root無しのNL3だけどできているよ
初回が上手く行かないことがあったからwait入れてもう一回Test Netやって変わっていなかったらもう一度Mobile Data Setをもう一度やっている
ToggleMobileData (29)
A1: Vibrate [ Time:40 ]
A2: Perform Task [ Name:GetMobdataStat Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable:%MobileDataStaus Stop:Off ]
A3: If [ %MobileDataStaus eq yes ]
A4: Mobile Data [ Set:Off ]
A5: Perform Task [ Name:GetMobdataStat Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable:%MobileDataStaus Stop:Off ]
A6: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A7: If [ %MobileDataStaus eq yes ]
A8: Mobile Data [ Set:Off ]
A9: Perform Task [ Name:GetMobdataStat Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable:%MobileDataStaus Stop:Off ]
A10: Popup [ Title:Mobile off Text:%MobileDataStaus
%new_state Background Image: Layout:Popup Timeout (Seconds):5 Show Over Keyguard:On ]
A11: Beep [ Frequency:8000 Duration:1000 Amplitude:50 Stream:3 ]
A12: End If
A13: Else
A14: Mobile Data [ Set:On ]
A15: Perform Task [ Name:GetMobdataStat Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable:%MobileDataStaus Stop:Off ]
A16: Test Net [ Type:Mobile Data Enabled Data: Store Result In:%staus ]
A17: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A18: If [ %MobileDataStaus neq yes ]
A19: Mobile Data [ Set:On ]
A20: Perform Task [ Name:GetMobdataStat Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable:%MobileDataStaus Stop:Off ]
A21: Popup [ Title:Mobile on Text:%MobileDataStaus
%new_state Background Image: Layout:Popup Timeout (Seconds):5 Show Over Keyguard:On ]
A22: Beep [ Frequency:8000 Duration:1000 Amplitude:50 Stream:3 ]
A23: End If
A24: End If
A25: Stop [ With Error:Off Task: ]

GetMobdataStat (33)
A1: Variable Clear [ Name:%MobileDataStaus Pattern Matching:Off Local Variables Only:Off Clear All Variables:Off ]
A2: Test Net [ Type:Mobile Data Enabled Data: Store Result In:%MobileDataStaus ]
A3: Wait Until [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ] If [ %MobileDataStaus Set ]
A4: KWGT Send Variable [ Configuration:Set: MbStat Timeout (Seconds):0 ]
A5: Stop [ With Error:Off Task: ]