Save dialed number as variable

DonDemon

Member
The dialed number trigger is static so it wouldn't make sense. The call outgoing trigger definitely has magic texts.
It makes sense because it's impossible to save dialed number as variable, and hence it's impossible to create macro with trigger dialed number that contains 123. So, insead of creating only for example 2 triggers "contain 123" and "contain 12", I should create triggers 123456, 123567, 123678, 12456, 12567, 12678
 

DonDemon

Member
It makes sense because it's impossible to save dialed number as variable, and hence it's impossible to create macro with trigger dialed number that contains 123. So, insead of creating only for example 2 triggers "contain 123" and "contain 12", I should create triggers 123456, 123567, 123678, 12456, 12567, 12678
or with variables I can make it more easier. Like:

triggers: dialed number (any)
actions: if (dialed-number[0:2] == "123") {*smth*}
 

hsurB

Well-known member
Maybe screen content trigger can see current dialed number?
You would have to be quick tho depending on interval
 

DonDemon

Member
Maybe screen content trigger can see current dialed number?
You would have to be quick tho depending on interval
yep, but then it should fastly end the call, and if use ui interactions they aren't perfect for it (because it depends on device and if user leave the app it touch smth else). If use matching color it may not recognize it because someone is making this color not red

So, I think it will be much better to add any in dialed number trigger and add dialed number in magic text
 
Top