Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to call Config 1 or 2 from Automate? #28

Open
mikepiman opened this issue Nov 1, 2024 · 3 comments
Open

How to call Config 1 or 2 from Automate? #28

mikepiman opened this issue Nov 1, 2024 · 3 comments

Comments

@mikepiman
Copy link

mikepiman commented Nov 1, 2024

This a question, and also a bug report.

** My goal: is to use Automate to call either Config 1 or Config 2.

** Question:
I'm calling the Activity "com.maforn.timedshutdown. AutomationSupportActivity", (as indicated in the info tab), and it seems to run the last selected Config. How would I specify which Config?
Automate options

** Maybe a bug:
I set each Config with a different "Initial general delay" so that I can tell which one is running, (with the toast message).

When Automate calls the above Activity and the last selected Config was 1, the Initial delay for Config 1 is displayed in the toast, but then the click sequence for Config 2 runs, which seems incorrect.

When automate calls the above Activity and the last selected Config was 2, the Initial delay for Config 2 is displayed in the toast, and then the click sequence for Config 2 runs, which is expected.

~ ~ ~
Software: the latest Timed Shutdown (2.80) and Automate (1.44.2), on Android 13.

@maforn
Copy link
Owner

maforn commented Nov 11, 2024

Hi,
Thank you for telling me about this. As of now, I am overwhelmed with university stuff and cannot look into it, but I'll check it at most at the end of November. It's a strange bug, and I'll have to check why it's doing something like that. I'll keep you posted about it. If you have a particular need to have it done before I'll try to look into it earlier.
Sorry for the wait

@mikepiman
Copy link
Author

Sure, take your time. And being able to specify which Config to run (with two different Activities) would be great!

@maforn
Copy link
Owner

maforn commented Nov 11, 2024

That's a great idea, I'll probably follow it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants