Hallo!
Direkt in Tasker gibt es kein ODER. Wenn du jetzt einzelne Profile mit denselben Ein- und Ausgangstasks erstellst, kann es zu unerwünschten Effekten kommen, wenn die Profile überlappend aktiv sind. Z.B. führt Profil A den Ausgangstask aus, während Profil B noch aktiv ist.
Ein Workaround für ein echtes ODER wird hier beschrieben:
Quick Tasker tip: Trigger a profile with any of several contexts - Pocketables
Beispiel:
Code:
Profile: Context_A (18)
Time: From 08:00 Till 09:00
Enter: Anon (19)
A1: Task Stop
Profile: Context_B (16)
Application: Maps
Enter: Anon (20)
A1: Task Stop
[COLOR=Blue]Profile: A_Or_B (21)
State: Variable Value [ %PACTIVE ~ *,Context_A,*/*,Context_B,* ][/COLOR]
Enter: Anon (22)
A1: Notify [ Title:%TIME: Or-condition active.]
Exit: Anon (23)
A1: Notify [ Title:%TIME: Or-condition not active. ]
Context_A und Context_B haben nur einen Dummy-Task ohne Funktion. Wenn ich jetzt in diesem Beispiel Maps von 8:55 - 9:15 Uhr nutze, wird nur genau einmal Eingangs- (8 Uhr) und Ausgangstask (9:15 Uhr) ausgeführt.
Für Context_A und Context_B kannst du ggf. noch abwählen, dass die Profile in der Statusleiste angezeigt werden, wenn aktiv.
Hoffe, das ist einigermaßen verständlich.
Grüße, Jürgen.