AutoTools How to send AutoToolsCommand from HTML page in WebScreen without button?

Discussion in 'AutoApps' started by zhenurik, Oct 9, 2017.

  1. zhenurik

    zhenurik New Member

    Joined:
    Jun 21, 2017
    Messages:
    25
    Likes Received:
    0
    I have HTML page in WebScreen that collect user inputs and send it to AutoToolsCommand. I can send AutoToolsCommand to Tasker with the button on the page but is there any way to do it with something like with window.onclose or window."onbackbutton"?

    Sent from my Moto G Play using Tapatalk
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    In the AutoTools beta you can assign a command on close in the Command options :) I think that'll help you!
     
  3. zhenurik

    zhenurik New Member

    Joined:
    Jun 21, 2017
    Messages:
    25
    Likes Received:
    0
    I know about that but close command can't pickup information from the page and send it to tasker. I need to send something like autotoolscommand://task=:=var1=:=var2

    Sent from my Moto G Play using Tapatalk
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Oh I see. Did you try the unload event?
     

Share This Page