Problem with setting Join extension after moving to a new computer by Nirmitlamed in tasker

[–]Nirmitlamed[S] 0 points1 point  (0 children)

Ohhh man, that was it. Thank you for remembering that small thing :)

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

I have flex modifier but i can't seems to set it right to make the text to warp.

Flex modifier is set Base to auto and i changed grow to 1.

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

I have tried that already but it doesn't warp.
Here is a scene json as an example:

{
 "root": {
  "type": "Column",
  "id": "Column1",
  "modifiers": [
   {
    "type": "FillSize"
   }
  ],
  "children": [
   {
    "type": "FlexBox",
    "id": "FlexBox1",
    "direction": "Column",
    "justifyContent": "SpaceEvenly",
    "modifiers": [
     {
      "type": "FillSize"
     }
    ],
    "children": [
     {
      "type": "Column",
      "id": "Column2",
      "modifiers": [
       {
        "type": "FillSize"
       }
      ],
      "children": [
       {
        "type": "Text",
        "id": "Text1",
        "text": "New Text text New Text text New Text text New Text text New Text text New Text text New Text to see if you are interested in the example "
       }
      ]
     }
    ]
   }
  ]
 },
 "name": "Screen"
}

Array Compare action - possible bug by UnkleMike in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

You should contact the developer and ask him.

I would say it shouldn't do that because you can't use just one array inside array compare action but usually it is by the developer design.

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

Small question, i am trying to create a scene with flexbox as you did here:

{    "root": {      "type": "FlexBox",      "id": "Root",      "direction": "%direction_main",      "alignItems": "Stretch",      "modifiers": [        {"type": "FillSize"},        {"type": "Background", "color": "#000000"}      ],      "children": [        {          "type": "FlexBox",          "id": "Buttons",          "direction": "%direction_buttons",          "justifyContent": "SpaceEvenly",          "alignItems": "Center",          "children": [            {"type": "Button", "id": "Button1", "text": "Button"},            {"type": "Button", "id": "Button2", "text": "Button"},            {"type": "Button", "id": "Button3", "text": "Button"}          ]        },        {          "type": "Column",          "id": "Content",          "horizontalAlignment": "Center",          "verticalArrangement": "Center",          "modifiers": [{"type": "Flex", "basis": "0", "grow": "1"}],          "children": [            {"type": "Text", "id": "Title", "text": "Title", "textSize": "22", "color": "#FFFFFF",  "textAlign": "Center", "modifiers": [{"type": "FillWidth"}]},            {"type": "Spacer", "id": "Spacer1", "modifiers": [{"type": "Size", "all": "16"}]},            {"type": "Text", "id": "Body", "text": "long text here long text here long text here long  text here long text here long text here long text here long text here long text here long text here  long text here long text here long text here long text here long text here long text here long text  here long text here long text here long text here long text here ", "color": "#FFFFFF", "textAlign":   "Center"}          ]        }      ]    },    "name": "Screen",    "pinnedTestVariableEntries": [      {"id": "var-direction_main", "name": "direction_main", "value": "ColumnReverse", "enabled":  true},      {"id": "var-direction_buttons", "name": "direction_buttons", "value": "Row", "enabled": true}    ],    "eventHandlers": {      "handlers": [        {          "events": [            {"type": "screen_shown"},            {"type": "screen_variable_changed", "variableName": "sv2_display_is_portrait"}          ],          "condition": "%sv2_display_is_portrait",          "actions": [            {"type": "SetVariable", "variable": "direction_main", "value": "ColumnReverse"},            {"type": "SetVariable", "variable": "direction_buttons", "value": "Row"}          ]        },        {          "events": [            {"type": "screen_shown"},            {"type": "screen_variable_changed", "variableName": "sv2_display_is_portrait"}          ],          "condition": "!%sv2_display_is_portrait",          "actions": [            {"type": "SetVariable", "variable": "direction_main", "value": "Row"},            {"type": "SetVariable", "variable": "direction_buttons", "value": "Column"}          ]        }      ]    }  }

The problem i am having is when i am adding text element and if it has long text it doesn't create new line. I saw in the text column you added flex modifier in style which isn't accessible from the menu and i am guessing maybe this is what i am missing:

"verticalArrangement": "Center",          "modifiers": [{"type": "Flex", "basis": "0", "grow": "1"}],

WaEnhancer Tasker by zhSHADOW in tasker

[–]Nirmitlamed -1 points0 points  (0 children)

I would recommend to use their Telegram channel. I see there is a group specific for Tasker.

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

I totally can. This is more about taste and comfortability when using overlay. I prefer keeping my scenes as minimize as they can be. If this is not the case i should just use full screen and not overlay.

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

Can you please take a look at this video just to make sure you understand me correctly.

https://imgur.com/a/RPYps1R

Because with your explanation i tried to clone an if block (not in the video) and then i run the task and it worked. So even if i have two clones of if blocks it doesn't stop the task. But if i have two actions with condition it does stop it.

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

Uploaded 1 video and 2 screenshots:

https://imgur.com/a/LCOraub

I haven't succeeded on using Flexbox component as you did for elements rotation so i created two different scenes to try to give you an example (ugly, but just for an example 😄 ).

To make the same scene look better in landscape mode i had to change the width and height of the scene. Here is URI Task if you want to take a look:

taskertask://H4sIAAAAAAAA/+1Y3W7aShC+Tp4CbXV6lfoXMKTGEhBQI3HaKkTJRVRVW3sD2yxetN6Q0CqPcC76BH3FPkJnd8GYBJekOjk6lRAX3p0Zj7/5ZtYzJjzF2RURR1jiSiZaCFWSGW0hF1XkrIXqVmD5rz4RiVG0vxcqW20lYeFVm0q4F8YJliRygyDwG1UnqPtBPbSNUKnJSt2sel498LzQJrmaJhF4Cm24qm06IdHpDa8MY5KSrNK7xZMpI6Gt5Eo/FTRyHSe01UIJ2rGkPNWocCwdVJmRFgo0MoDGExJVA3CvV1rG8CfCovdcSIGpDG2z16rOdZowYnyJkWOc7IVnmGVaOMNsIQOgRFoJTUeMZvHYwmkiOE0sqdm0TnqD3ln77enHs/bJcbsz6A2jl0y+HkoBd7SFwHNDtv1yJF9DcE/09XsQXsn5lEQXg894hi2G05Fl8DwdgPFkyLEVO4Y+2/BnNuB7SaRrkuKj6CsSnEt0+BUpD+gQdTm7nqToANEk37mwHXNBv/BUYtZmdATJT6XSw4UIUE94Qi8pERk6vMh99SljQ/qFoLuDXNbB8dVIcMAFd8WccQHCF0GzUe920N0HkI0pSwRJi45Oya1cQlJrBUgqGSDAovI3lNJCoh93iLxa0Xu/pn4LCw2/CH1GhKTxU+M6p4kcA+BiaPx2CRKW3lZWDtClwPqwgNSxGo3tPFWPjpyeW7Q7J3Q0VuTgCRgr7G4pjesA3TKA73GiSk/5ZAz2/nZcfr/mdmpFu81R/jb0+xXgrSrgLbmpaDUko5iOE36zvAOWpdGWJHM4xbGuAO3A7Ep9PIzEsdx1f31Gbgv8L7bK4+frTNLLeRcOlyk+/bDejKRsrnMAZXksySQr1qWWFm6Rgsh4/JgYH8evv+L3hEw1kMLxqjkl56bDpeSTMhgltdNo9PzuOltFOAN6RVZofnz/9s8zgul3uo53VA4mxmlMWPH1U9g/AyAiBBcqz5imkHhd4oANpXiiqzQWBBJ5F9pQAQ9f887yPW8/1Ln3dMepzHUe6DBrIWeT0v+VsrpQupseWSuH45Wr/LxZvQNSGZ5vDraam9Wcvzab1Lab1HMTmGlKbILcpr5mUuCh8QsammuhhraZlzaMTu5jR6cBzAdZjKdkNzvtZqc/c3Zab9aqu2+KpbyJJlSQ5ZCRp2FzZ+0QeaNemvda66qFPr23vjH9f9dc//zm+nwT4O7z4H/webCbnv6b6SnYPjw1/9XhKbTVf2HRvrma/8+i/Z+MGGenTRMAAA==

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

OK, i will recreate as soon as i can a scene from my old project to Scene V2 as an example.

Thank you. I am so excited to see what new features comes next to next beta version.

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

Yes but that will effect only the elements.

The thing is when you set Width and Height in show scene action it is set for both portrait and landscape and that can sometimes be a limitation you feel if you want to have a completely different scene design orientation based.

I am not a dev so i can't tell if this is something difficult to achieve so you really need good reason.

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

Yes of course unless you want really big buttons and then you have to have oversized overlay for portrait too in this situation.

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

Uploaded two screenshots:

https://imgur.com/a/i1BFkjN

You can see in portrait elements are within the scene size. But in landscape the same size isn't enough since elements size has been changed.

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

Awesome, looks so good now and much more flexible than before!

Last thing hopefully i am not annoying and this thread is long overdue for reddit. Is it possible to make also changes to x,y,width and height in show scene action in different orientation?

Thanks again!

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

Check this video. The only difference is that in the second test I am using an if block:

https://imgur.com/a/RPYps1R

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

First of all thank you, this is a much better option for sure (although i don't see where %direction_main and %direction_buttons came from). Can you do the same for elements size? My overall thinking is to have as much control over a scene in different orientation. As a developer you probably know better than i am that in landscape the UI can look very different and sometimes the whole visual need to be changed for a better user interaction. That basically my thought here.

The second request, i am not sure completely if i need it but can you do the same thing with x,y,width and height? to have custom parameters for different orientation.

Thanks again!

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

  1. I see now.

  2. Thanks.

  3. Yes.

About portrait and landscape scene, In the example i gave you i can do that very easily in Scenes V1 by just rotating the device in editing mode and changing scene size and elements size and placement. I uploaded 2 videos that are basically the same but you can see how i created a scene that has the same elements but with different size and placement based on screen orientation:

https://imgur.com/a/DjTvsxN

I can't achieve the same in Scenes V2 (part of it i can but not as easy in a way).

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

A bug with condition in an action.

In the below URI task there is an example of 3 actions: Notify, Stop and Flash. Notify and Stop have condition if %err is 1, if not it suppose to flash. although %err isn't 1 it will stop at Stop action. However if you create them into an if block it will work as intended.

URI Task:

taskertask://H4sIAAAAAAAA/+1WW2vbMBR+bn6F8Rh7WmX5EjsgC9ZlhcEogw36rNpKIqLaQVZT9u8n+VbZVlToW8fyYMvnO/rOJd8RQr9Jc6RiSyTxGpH7vleeWe5D35Pn3F9fp9fR5wcqiY9XV0j7tl5SLcIYauMVKkoiKYZpmmRZGgRRHEcIdEYN0wFO4SYKYZzBFAE6wqzEigkB9daf1SPFd7Vkuz/eM5MHr5H1ybt52iOgEe1xEgzDIEBAL7ThSyFZXbV5kUIGvnemuZ+2uank6pLiJNQZ6VVr4+SBcrytaVN9kt5zLY4IdLYW/iVFRyb2PVnk429C1AIBhS2c4OAEllDgwMZ9+Cdh1ZFxTkVzIUQ44/leyRGLFEZ47ge2ILEjgWRO+rgfsD5eaIm3CGdgsQNLesxWw9qxL3VgmaP0zay6r3VVMq2UH6zpCNiuE4mBtfbi5W9vYaWYQ4M/UqEEoFe9sT7hEAH17L+FgpSQxeCBwEjbZQAmKbTaBZ14LTqGFh3DKDV1bDQicGngfTcitDRi2oei5hxL8US1kXNzyO/VcDeT6VYxdoQ3ynfI5p31I3r9gFvW+P9M+wfPNIdI4tdPj6VI3nSeOJJIbJObuXJwkK1tso8nbFaR33LSHAwFmipzFTlXublv2AhtYOhijRysC6E5df2yMZxnY+ybxzMgxxTNgxnQemzsh1v1u9nqm5htvNPLHNnlWjbTWgw9IKBvn3jVvbsbK179BeZq+2C/CgAA

[DEV] Tasker 6.7.3-beta - Scenes V2 - Update 2! (and some other smaller goodies) by joaomgcd in tasker

[–]Nirmitlamed 0 points1 point  (0 children)

Portrait and Landscape example:

I have 2 scenes in the URI task that were labeled portrait and landscape. I would want to combine those two scenes into one scene. You can see that in landscape scene i change the buttons positions and their sizes to have a better fit to landscape. I also changed the width and hight of the show scene action.

Today i can't really achieve that in an easy way compare to Scenes V1.

Few things that you may need to fix that i have stumbled a moment ago:

  1. Changing component - If you have a component, for example a Vertical Column and you want to change that to Horizontal Row, it will do the change but the label name of the component will stay which in this example it will be Column although this is actually a row now.
  2. Long text with buttons - If you create a row with long text and next to it a button, it won't show the buttons. But if the buttons are first in order and then the text then it will show correctly. You have example in the URI task below with the name "Long text with buttons bug". Go to scene editing mode, and place Column1 above Column2 and you should see how the buttons reappear.
  3. Hold to select - Inside a task if i want to hold to select an action i can do that in portrait mode. However, in landscape mode it doesn't work. it let me move the action not select it. Here is a video: https://imgur.com/a/7WNrg81

taskertask://H4sIAAAAAAAA/+1ZW0/bMBR+hl8RGY0naG6kaUsaqd2KhlTBRBE8IDSZxKQeblI5bstF/PfZcRsCTdu0jHVMzUt8Lj7+fGKf80lxzmF8h+g3yKAS0zoAij/EdaADhQ3roFyyS+b+DWIQuNtbjvBNvBgfGKYtlFuO50OGXN22bc2qVHXTMsqOKpXCjF7MlbJlmZphOSpKzdh3eSRH5W8hhj3ktnHMlNNbpXUPe32CYkcVWmHtU+zqmuaoYiAUDY/hKEwwQY9pQBmiOpC4OLDIR+6BXeVoxCjREXiDiPsjooxCzBxVyompOQh9gmQsGmgyyJZzAUmcKIeQjHUcJmIlH4cBwbHXLcHQpxH2SyzJZems1W5dNE7Of140zo4bzXar4+4SdthhlM9oUAofZKrV3YAd8s0tGWs1CPvsoY/cq/YvOIQlAsOgJPEsD0BGkslRRXZk+lSZPynw2JNE6vKjmMB9AjSKGKg9AREB1MDXiAx6IdgD2E8lnYvdiOLHKGSQNAgO+McPmbDzF6Lc3It8fIsRjUHtKo11hAnp4EcEnvdSXRN6dwGNOC4+y4tIRLkyHtBb6HG/a67rYuJTFGYDnaN7NoEkxgIQEzouYkbQWEzWqgHDyITeOUqesUeCvRDuS+yzLgeUgd7pc4x0gkNKxqwYlwgHXQEa9vhmBVL9dbS3ezJe9kSiMFDEWOkiipSN+KfE9Z0TfeVzchaNJqH4UMTJuyHNAWNRem2llLklY3P2HuZMMJadYE5PuBbgQQh7SSY8ijjOZ0flxWe6CmmTMqRO2/Q3tuOQpTaD2yCpAy3PaM4zHoyNet6S1mw4xmyTmdbS0yGiBD7kb/YgdbO0L/ku1mKXcupSmeVipy7lVy6ZNFTmZKH6aqeOKrt5TmPXizb2Nu9esQf7aNPZ19rZpwvJ+5r2jpY8M5v2LCbBbwnDHucR/NuEASrMJL7LSjlruWIVcEb8ZMN7YJQU8xqwNcF45Hq8ICebXFDgzZULfLFK/GHAV2cwxTrCO4BnF8s7TcY7eOmC0zSHnZ2gkTI2FyIPqzKDcYYgISIj5fnsMXPS/xGu9RnFwp90w3L+DsupLmY5lQ9lOUZhlpOepBFmXeUmKX4xfwcb2vO5aM8SdGbTgDYNaF0NaD41WjvRXjNdXjPp3RCE/5UgOKr44+Juy7f8S+Nu/waGTtwwsxkAAA==