https://linen.dev logo
カスタムボタンの検知と変更
# forum
m
カスタムボタンをIFTTTかそれ以外の何かで検知、変更をさせたい!!!!!! どなたか方法があればお願いします
e
Using a variable
previousValue
and save it in DataMap. Each time we check the value of the current value and previous value, and if they're not the same, then the value has been changed. Remember to save the current value to previous value once the value is changed!
r
IFTTTはカスタムボタンで使う基本的な動作をスクリプト組まずに視覚的にできるようにしたものなのでそれ以外の方法で変更する場合スクリプトを書く必要があると思います
c
検知 if datamap key=Button0(int) then やりたいこと
変更 if やりたいこと then datamap key=Button0 value=数字
m
ありがとうございます!助かりました
3 Views