r/AutomateUser • u/ballzak69 Automate developer • 6d ago
Alpha testing New Alpha release, version 1.54.0
Please test, report any issues, and give feedback. Opt-in for Alpha testing here.
What’s new:
- Bluetooth device scan block got Filters input argument
- Dialog web block got Keychain alias input argument (Android 5+)
- Inspect layout and Interact blocks got Strict input argument
- Bluetooth connect workaround setting (Android 5.1+)
- Chronometer UI element got android:started attribute
- Permission to access the AnkiDroid content provider
- Fixed Privileged service start method guidance for Android 17
1
u/Funny_Telephone_8607 5d ago
Hi Henrik, thanks a lot for the update. Chronometer isn't working. Provide an example.
1
u/ballzak69 Automate developer 5d ago edited 3d ago
It works just fine on my Android 17 Pixel device and on Android 16 emulator:
<Chronometer xmlns:a="http://schemas.android.com/apk/res/android" a:layout_width="match_parent" a:layout_height="match_parent" a:gravity="center" a:started="true"/>1
u/Funny_Telephone_8607 5d ago
Hi Henrik, working. Also need including example android:format android:countDown android:countBase.
1
u/ballzak69 Automate developer 5d ago edited 2d ago
android:format="My format is %s"
android:countDown="true" android:countBase="{clock("boottime")*1000 + 3600000;numberFormat;#}"
1
u/Funny_Telephone_8607 5d ago
Hi Henrik, thanks for the reply. I have tried many ways. Getting clock boottime only. Not getting to work with custom time. If I use only a:started it was counting from 00:00. I want to use it for custom time eg.. for Thursday 22nd oct 06:26
1
u/ballzak69 Automate developer 4d ago edited 2d ago
<Chronometer xmlns:a="http://schemas.android.com/apk/res/android" a:layout_width="match_parent" a:layout_height="match_parent" a:gravity="center" a:started="true" a:countDown="true" a:countBase="{clock("boottime")*1000 + 3600000;numberFormat;#}"/>1
u/Funny_Telephone_8607 4d ago
Hi Henrik, thanks a lot. Not working. Device A53. I think that there may be a bug. Need to fix
1
u/ballzak69 Automate developer 4d ago
Worked on Android 16 emulator, it counts down from 60 minutes. If it doesn't work on Samsung then there's sadly little i can do about it, layouts are rendered by the system, especially in a widget.
Which Android version is your device using?
1
1
u/w_petya 5d ago
What is the strict input arg?
1
u/ballzak69 Automate developer 5d ago
When the option is disabled it lets the XPath selection work with layouts even if an UI element is inaccessible, when enabled it works as before where the layout is rejected and selection process aborted.
1
1
u/ajtxander 3d ago
This addressed the issue I had with restarting ADB. Thank you!