Page 1 of 1

reminders in Google

Posted: 24 Jul 2019 02:20
by Rafi4
hi Martin
i want to set reminders in Google using automagic. I think start activity action can do this. how can I set reminders in Google? I want to know the information in start activity "data uri,extras" to set reminders

from record4

Re: reminders in Google

Posted: 24 Jul 2019 06:28
by Desmanto
I don't think there is direct method to add reminder without opening google assistant. But you can still launch it and then feed information to is using text method (instead of voice), to add the reminder.

It is the same concept as in other thread : viewtopic.php?f=5&t=8001
Add action : Launch App, to launch google assistant
Package name : com.google.android.googlequicksearchbox
Class Name : com.google.android.apps.gsa.staticplugins.opa.hq.OpaHqActivity

Then add Control UI, with the script as in that thread. I have modified it a bit to suit your need here.

Code: Select all

sleep(1000);
clickById("com.google.android.googlequicksearchbox:id/opa_hq_content_footer_icon_keyboard");
sleep(500);
setText2ById("com.google.android.googlequicksearchbox:id/input_text", "Add reminder to submit report on friday 08:00");
sleep(100);
clickById("com.google.android.googlequicksearchbox:id/send_button");

sleep(5000);
back();
sleep(200);
back();
Change the input_text part to add reminder for other subject or other time. You must specify at least a subject and a time or place. If omitted, Gass will ask you again for it, so it won't create the reminder directly.


But since you are using Automagic, I think it is better to create the reminder in Automagic. You already have access to glovardt and the method to use glovar map to save multiple glovardt. Of course there is exception if you want the reminder to be synced across multiple devices, then Google Assistant seems to be easier.

Re: reminders in Google

Posted: 24 Jul 2019 06:59
by Rafi4
ho desmanto
I agree with you. glovardt is best of the best choice for me.
thanks