Maybe u/joaomgcd can answer this... In the course of building an interface library for Tasker/JS I've encountered interesting behavior when calling the Tasker function flash() on an Object rather than a String. It always flashes undefined, which threw me off at first because I thought it might be an instantiation issue with the variable the object was stored under. But then I was able to flash the string value of one of the object's properties, which got me thinking... I had expected that the function would try to coerce objects to strings and see something like [object Object], but since I wasn't, I wondered if the flash function was looking for and not finding some property on th
rob64
u/rob64
My widgets rely on a lot of information from JSON files generated in Tasker, but after the latest update, the wg() functions are throwing errors like the following:
err: java.io.ioexception: unable to read file content://com.android.externalstorage.documents/tree/primary%3aautomation/document/primary%3a%2fstorage%2femulated%2f0%2fautomation%2fresources%2fcolors.json
The formula in question should be concatenating "file://" to a Tasker variable with the value "/storage/emulated/0/Automation/Resources/colors.json", but it seems to be trying to coerce it into a content URI now instead. Anyone else experiencing this? KWGT is my primary interface for all my Tasker stuff and I really need to g
Tasker has always had trouble reporting cell signal for LTE networks via the %CELLSIG variable, and up until a little while ago, I had relied on this method, but it no longer functions (I think Android 13 broke it). But I discovered that nearly the exact same information can be extracted using the 'dumpsys' shell command, so I made a comprehensive task to get info about voice and data connections. It's just 37 actions and relies only on shell script and RegEx; no plugins, root, or ADB required!
[TaskerNet Link](https://taskernet.com/shares/?user=AS35m8nVmhSL2yot7UiMxxjH%2F8pa5fSJvjmNzIyxJ%
I'm not 100% sure what's going on here, but recently when creating new tasks that involve modifying an existing JSON object, the AutoTools JSON write action doesn't seem to output the expected changes if the custom result variable name is set to a variable that already has a value. In the past, I've used JSON write in tasks update existing JSON objects by setting the result variable name to the same variable passed to the "JSON input" field, but that no longer seems to work, at least in new tasks. The odd thing is, as far as I can tell, if this is in fact a bug, it doesn't seem to be breaking any of my older tasks that rely on this behavior. I've been able to work around it by kind of leapfr

Anyone know if the "new" commands come with a uri scheme to trigger them (similar to "autotoolscommand://")? I know the "old" AutoApps method will trigger native Tasker commands too, but I was just hoping there'd be something shorter, like "tasker://" (which doesn't seem to do it).
I've got a project to intercept new photos and videos in DCIM before Google Photos can back it up, so that I can process and organize them differently for certain use cases (a quick share that I don't want to include in my gphotos, for example). I immediately move the new files to a hidden folder and when I close the camera app it displays a scene showing thumbnails of any intercepted files, so I can delete any I don't want to keep, etc. Is there any way to generate (or locate) a thumbnail for .mp4 files? ThumbnailUtil looks promising, but I wouldn't know how (or if
Okay, this is just too cool not to share. I have a custom script library that I use in almost everything. One of the commands I use most frequently from this is get index of aVariable from aList, to get the (first) position of a given variable within a given list. The project I've been working on recently heavily relies on script objects to represent finder items and custom meta data for a project management system. I found myself needing to get the position of one of these objects from a list of them, but using my get index of command threw a "«script» doesn’t understand the “get index of” message." error. This made me realize that in this context a script called, for example, thisScr
Last year, because of Covid, our wedding had to be attended mostly over Zoom, so I decided to print some challenge coins for the few people who could attend in person. I embedded a large washer in each, to give it some heft.
imgur.com/a/lR4IBh3I did a fresh install of Catalina using OC on (mostly) new hardware a few months ago, and I noticed after the first couple of days that the computer almost never went to sleep, though it would go to screensaver, lock, and sleep the displays at the specified times. I've also caught it waking up the displays seemingly randomly. It's not super critical that the machine fully sleeps, but I'm trying to set up some scripts that rely on time without user interaction. On my last machine (High Sierra using Clover), I was able to retrieve seconds without user interaction with a bash script using 'ioreg' to get HIDIdleTime, but it now seems that this value is never higher than 0.10 seconds, n



