AutoTools Dismiss Web screen

Discussion in 'AutoApps' started by Spamt, Nov 24, 2017.

  1. Spamt

    Spamt New Member

    Joined:
    Oct 20, 2017
    Messages:
    8
    Likes Received:
    0
    Hi
    I'm having trouble with something very very basic : how can I close/dismiss/destroy a webscreen bubble?
    In tasker I can "destroy scene" but in autotools web screens I only find the option to "fling to dismiss". The problem is that this requires user interaction. I want to do that with a task or a command but I can't find how to...

    Thanks!
     
  2. autormali

    autormali Member

    Joined:
    Jul 4, 2016
    Messages:
    134
    Likes Received:
    22
    Create web screen and in Display Mode input choose Close option.
     
  3. Spamt

    Spamt New Member

    Joined:
    Oct 20, 2017
    Messages:
    8
    Likes Received:
    0
    Aaaah! That's it! Thank you very much!
     
  4. Yaourt

    Yaourt New Member

    Joined:
    Apr 18, 2020
    Messages:
    2
    Likes Received:
    0
    Hi how to close it as a bubble?
    If it requires command then please elaborate it for a beginner here.
     
  5. autormali

    autormali Member

    Joined:
    Jul 4, 2016
    Messages:
    134
    Likes Received:
    22

    You can unify closing any of your web screens with simple profile - below. Sending AutoApps command closewebscreen will close any kind of webscreen. Sending command closewebscreen=:=1234 will close specific web screen overlay with id set/defined in this example as 1234. Overlay id can be set/defined in " Overlay Settings" option: "Overlay Id" for overlay and no input overlay types of web screen display modes.
    Code (Text):
    Profile: Close Web Screen(36)
        Restore: no
        Event: AutoApps Command [ Configuration:Command Filter: closewebscreen
        Variable Names: overlayid ]
        Enter: Anon (48)
        A1: If [ %overlayid Set ]
        <Close overlay with given in %aacomm2 overlay id>
        A2: AutoTools Web Screen [ Configuration:Display
        Mode: Close
        Close Overlay ID: %overlayid
        Toast Duration: 5000
        Height: 400
        Gravity: Center
        Animation: Slide In From Top
        Show Duration: 500
        Hide Duration: 250
        Timeout (Seconds):30 ]
        A3: Else
        <Close any web screen>
        A4: AutoTools Web Screen [ Configuration:Display
        Mode: Close
        Toast Duration: 5000
        Height: 400
        Gravity: Center
        Animation: Slide In From Top
        Show Duration: 500
        Hide Duration:
        250 Timeout (Seconds):30 ]
        A5: End If
     
    Last edited: Apr 18, 2020
  6. Yaourt

    Yaourt New Member

    Joined:
    Apr 18, 2020
    Messages:
    2
    Likes Received:
    0
    Thank you so much for your reply and answer.
     

Share This Page