What I want to Tasker to do:1. Call this USSD: #932# (%WIN variable?)
2. Getting the text of the Flash Message
3. Copying the text and show it as a notification so that I can get it on my Pebble.
%WIN variable reads the content of the USSD Message. But for me it simply isn't working.
I was thinking if I could get the message as %BALANCE, you guys could help me create the %BALANCE into a notification, which will be shown automatically on my Pebble.
do you mean have the phone dial this number?
Then after the call connects you get a message flashed on the screen wich you want to capture as text and get in a tasker variable
%WIN contains the current 'Window value' wich is usually the name of the app or activity that is in forground. "Sometimes" this will be the content of a flash message.
One of the 'auto' plug ins will get the actual text on the current screen. that would be your best bet.
You also need to select tasker in your android accessibility settings for the %WIN variable to be set.
%WIN contains the current 'Window value' wich is usually the name of the app or activity that is in forground. "Sometimes" this will be the content of a flash message.So you're saying using %WIN is not a very reliable option?
Which one would that be? I'm still very new and still figuring out things.
Look this GithubRepository, its solved on
https://github.com/romellfudi/VoIpUSSD
look: https://i.stack.imgur.com/2M779.gif
if it useful, started, shared & forked
Good luck