Run Any Task From Any AutoApp

Learn how any AutoApp can easily run an existing Tasker task

  1. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    joaomgcd submitted a new AutoApps project:

    Run Any Task From Any AutoApp - Learn how any AutoApp can easily run an existing Tasker task

    Read more about this project...
     
  2. autormali

    autormali Member

    Joined:
    Jul 4, 2016
    Messages:
    134
    Likes Received:
    22
    I have tuned the task with possibility to pass parameters par1 or par1 and par2 in the perform task action.
    In this way the profile will react on the following commands:
    task=:=task name
    task=:=task name=:=par1
    task=:=task name=:=par1=:=par2
    Code (Text):
    A1: Test Tasker [
    Type:Tasks
    Data:
    Store Result In:%tasks

    A2: AutoTools Text [
    Configuration:
    Text: %tasks()
    Variable Name: %atmatchedtexts()
    Match Text: %aacomm
    Case Insensitive: true

    A3: If [ %aacomm3 Set ]

    A4: Perform Task [
    Name:%atmatchedtexts(1)
    Priority:%priority
    Parameter 1 (%par1):%aacomm2
    Parameter 2 (%par2):%aacomm3
    Return Value Variable: Stop:Off

    A5: Else If [ %aacomm2 Set ]

    A6: Perform Task [
    Name:%atmatchedtexts(1)
    Priority:%priority
    Parameter 1 (%par1):%aacomm2
    Parameter 2 (%par2):
    Return Value Variable: Stop:Off

    A7: Else
    A8: Perform Task [
    Name:%atmatchedtexts(1)
    Priority:%priority
    Parameter 1 (%par1):
    Parameter 2 (%par2):
    Return Value Variable: Stop:Off

    A9: End If
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Thank you :) That is of course very helpful!
     

Share This Page