hi Martin and all
how can I get my chrome bookmarks in "input Dialog".
process :
trigger = shortcut
action = input Dialog with chrome bookmarks [single choice menu]
when I clicked on a certain bookmarks I want to get it in chrome
Action = HTTP Request
from record4
chrome bookmarks
Moderator: Martin
chrome bookmarks
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: chrome bookmarks
Chrome bookmark file is stored at the /data/data/com.android.chrome/app_chrome/Default/Bookmarks. It requires root, to use Execute Root Command to cat (init value) the content. And it still require extra parsing, since it is a massive nested list/map down the hill. Better use other method
Better copy out the bookmark you want and put it into a map in the script. The map contain the choice in the key and url in the value. This is very similar to the app to packagename mapping : http://automagic4android.com/forum/view ... f=3&t=7230
except this is for site name to url mapping.
Use {choice,listformat,comma} in the input dialog - single choice menu. Add cCondition Expression : operation == "ok" to protect from the back/cancel. Then add action Browse URL, choose your defined browser, put the {bookmark[value]} as the url.
Better copy out the bookmark you want and put it into a map in the script. The map contain the choice in the key and url in the value. This is very similar to the app to packagename mapping : http://automagic4android.com/forum/view ... f=3&t=7230
except this is for site name to url mapping.
Code: Select all
bookmark = newMapFromValues(
"Google", "https://www.google.com",
"Youtube", "https://www.youtube.com",
"Automagic Forum", "https://automagic4android.com/forum/viewforum.php?f=1");
choice = getMapKeys(bookmark);
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: chrome bookmarks
hi desmanto
is there any way to automatically clear tabs in chrome?
example : I want to open url http://www.Google.com
if there is already a tab http://www.Google.com . I want to clear previous tab.
from record
is there any way to automatically clear tabs in chrome?
example : I want to open url http://www.Google.com
if there is already a tab http://www.Google.com . I want to clear previous tab.
from record
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: chrome bookmarks
I also can't find the way to do it. It usually just open in new tab. There is probably some way to do it using custom tab, but I don't know how to use it.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.