Multiclipboard
Moderator: Martin
Multiclipboard
The multiclipboard flows require Automagic 1.17 and Android 3+ to listen for changes on the system clipboard.
Following two flows build a very simple multiclipboard with up to 5 different texts on the clipboard. The values on the clipboard can be accessed using a statusbar notification (labels icon).
http://automagic4android.com/flow.php?i ... 80a620dd94
Enable both flows after importing and copy some texts with the regular Android copy command to populate the clipboard.
You can find the two flows in the group Multiclipboard after importing:
Flow 1) Multiclipboard Watcher: Listens for changes on the regular system clipboard and copies a new text into a global variable called global_multiclipboard. The script in this flow ensures that the list of multiclipboard texts does not grow too large (max 5 values) and contains each text only once.
Flow 2) Multiclipboard Dialog: Uses a trigger to show a notification in the statusbar that displays the texts currently on the multiclipboard using an action Input Dialog. The selected text in the dialog is copied to the regular system clipboard when the dialog is closed using the OK button.
Martin
Edit 2016-07-22: Small change to keep the max size of the list consistently at 5
Following two flows build a very simple multiclipboard with up to 5 different texts on the clipboard. The values on the clipboard can be accessed using a statusbar notification (labels icon).
http://automagic4android.com/flow.php?i ... 80a620dd94
Enable both flows after importing and copy some texts with the regular Android copy command to populate the clipboard.
You can find the two flows in the group Multiclipboard after importing:
Flow 1) Multiclipboard Watcher: Listens for changes on the regular system clipboard and copies a new text into a global variable called global_multiclipboard. The script in this flow ensures that the list of multiclipboard texts does not grow too large (max 5 values) and contains each text only once.
Flow 2) Multiclipboard Dialog: Uses a trigger to show a notification in the statusbar that displays the texts currently on the multiclipboard using an action Input Dialog. The selected text in the dialog is copied to the regular system clipboard when the dialog is closed using the OK button.
Martin
Edit 2016-07-22: Small change to keep the max size of the list consistently at 5
Re: Multiclipboard
Great job. Feels like I am using a separate app.
-
- Posts: 1
- Joined: 14 Aug 2013 19:10
Re: Multiclipboard
hi i using this flow quite intensive. for making it perfect i tried to add a input request to your dialog-flow to ask for an input that must be identical to a value to proceed opening otherwise close dialog
that would be a considerable safety measure for me to store passwords in there. can you help me with that?
that would be a considerable safety measure for me to store passwords in there. can you help me with that?
Re: Multiclipboard
Multiclipboard flow stop working with last EAP version 1.21.0-dev
Multiclipboard dialog flow > > Action: Input Dialog: ...Single Choice {global_multi...
don't write {clip_data} to {value} used in next actions
Multiclipboard dialog flow > > Action: Input Dialog: ...Single Choice {global_multi...
don't write {clip_data} to {value} used in next actions
Re: Multiclipboard
This is caused by a bug in the current EAP version. This should be fixed in the next EAP-build (probably available on Friday).
Re: Multiclipboard
In my case works perfectly. Great job!!! I add a new item in the notification bar that clear the variable items.
If somebody wants it:
http://automagic4android.com/flow.php?i ... a560e443f5
If somebody wants it:
http://automagic4android.com/flow.php?i ... a560e443f5
Re: Multiclipboard
Small extension to Martin's flows, which adds two buttons to the (expanded) notification:
"Clips" reads clips from a file and offers those for selection.
"Edit" appends current contents of paste buffer to that file.
To remove entries, use a text editor (or delete clip file).
Flow already contains the latest fix ("consistent entry count")
http://automagic4android.com/flow.php?i ... 25bdc0c263
"Clips" reads clips from a file and offers those for selection.
"Edit" appends current contents of paste buffer to that file.
To remove entries, use a text editor (or delete clip file).
Flow already contains the latest fix ("consistent entry count")
http://automagic4android.com/flow.php?i ... 25bdc0c263