Hirdetés

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

  • kaciokos

    őstag

    válasz DrBubo77 #7296 üzenetére

    Végül 4 profile és 3 task kellett hozzá.

    Az első profil: a telefon csörgésekor a hívó nevét (vagy ha nincs, akkor telefonszámát) beleteszi a TelefonCsorog változóba.

    A második profil: ha hívásba kerülök, 0-t ír a TelefonCsorog változóba, mert akkor nem kell értesítés.

    A harmadik profil: ha nem fogadott hívásom lesz (klasszikus, amikor nem nyúlok a telefonhoz, amikor kicsörög) 0-t ír a TelefonCsorog változóba, mert akkor nem kell értesítés, hiszen a telefn úgyis értesít, meg sem tudom akadályozni.

    A negyedik profil: ha visszaáll a telefon alapállapotba, vár pár másodpercet, majd megnézi a TelefonCsorog változót. Ha 0, nincs teendő, egyébként jöhet az értesítés a kinyomott hívásról, és visszaállítja a változót 0-ra.

    Profile: telefon állapot - csörög (18)
     Restore: no
     Event: Phone Ringing [ Caller:* ]
    Enter: TelefonCsorog kitöltés (31)
     A1: Variable Set [ Name:%TelefonCsorog To:%CNAME Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 

    Profile: telefon állapot - hívásban (24)
     Restore: no
     Event: Phone Offhook
    Enter: TelefonCsorog 0-ra (32)
     A1: Variable Set [ Name:%TelefonCsorog To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 

    Profile: telefon állapot - nem fogadott hívás (33)
     Restore: no
     Event: Missed Call [ Caller:* ]
    Enter: TelefonCsorog 0-ra (32)
     A1: Variable Set [ Name:%TelefonCsorog To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 

    Profile: telefon állapot - inaktív (30)
     Restore: no
     Event: Phone Idle
    Enter: elutasított hívás (20)
     A1: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ] 
     A2: If [ %TelefonCsorog neq 0 ]
     A3: Notify [ Title:elutasított hívás: %TelefonCsorog Text: Icon:mw_communication_call_missed_outgoing Number:0 Permanent:Off Priority:3 Repeat Alert:Off LED Colour:Red LED Rate:0 Sound File: Vibration Pattern: Category:super_tasker_notifications_created_by_me_the_developer Actions:(1) ] 
     A4: Variable Set [ Name:%TelefonCsorog To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ]

    [ Szerkesztve ]

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