Hirdetés

Új hozzászólás Aktív témák

  • Mauzes
    addikt

    Szia!

    Én a Task végére beszúrnék egy Variable Set-et, a neve legyen %Tökmindegy, az értéke pedig a %TIMES.

    Majd a Task elejére beraknék egy if-et, ami azt ellenőrizné, hogy a %DTOUT és a %Tökmindegy különbsége kisebb, mint 60. A feltétel belsejébe pedig egy exit-et tennék, azaz, ha teljesül a feltétel (hogy nem telt el 60 másodperc), akkor ne fusson tovább a task.

    Sok sikert!

    PS: De ez csak elmélet, nem vagyok benne biztos, hogy az ifhez lehet-e pl math műveletet kötni (ha nem lehet, akkor előtte a különbséget is pl tedd ki változóba és azt ellenőrizd). Mindenesetre én valahogy így oldanám meg a feladatot (vagy elegánsabban a picit fentebb található JS és a Date globális fvkönyvtár használatával). :)

    Köszi!

    Ezt még emésztenem kell, mert variable dolgokkal még nem foglalkoztam soha.

    Amúgy az eredeti ötletet innen vettem, de már itt sem értettem, hogy mit hogyan csinált a csávó (és nekem nincs autonotification-öm).

    "Essentially I just set the sound and vibrate for a notification in the FBM app to off (keeping the notification option itself turned on - it just doesn't make noise or vibration by itself). Then using the AutoNotification intercept event in Tasker to trigger when a notification from the Messenger app is detected.
    From there, it's just setting up the task with your preferences - so for me that is comparing the current time in seconds, %TIMES, with the last time the task was run and made a sound/vibrate (a variable %FBM_TIMES). If 60 seconds has elapsed, the task will make a noise and vibrate, otherwise it will not. Then it sets %FBM_TIMES to %TIMES ready for the next time the task is run."

Új hozzászólás Aktív témák