Thursday 11 December 2014

USB Remote v1.20

I've just uploaded v1.20 to Google Play. Here's what's new:


InputStick (Type):

Now you can use InputStick to type: text files, phone numbers, URLs, email addresses etc (anything text/plain for SEND and VIEW actions).



This is definitely useful when your bank sends authentication codes via SMS: just long press on received code, choose share option and select "InputStick (type)":


If you don't want "InputStick (type)" to appear on list of available actions, it can be disabled in settings. There are also some other things that can be adjusted:
  • Auto connect - if InputStick is not connected,application will automatically try to establish connection.
  • Auto type - will start typing text automatically. Be careful with this!
  • Auto close - activity will close itself as soon as it is done with typing text.


Export macros:

Macros can be now exported to .txt files in /USBRemote/Macros/ location. You can edit such macro file using any text editor (on your phone or on PC). You can also send such files to some other device.
Note: after editing such file, it has to be imported into internal database (or you can entirely switch to use file system for storing macros, more details later).



Import macros:

Macros from /USBRemote/Macros/ directory can be imported into internal macro database. 



File system storage:

You can also set /USBRemote/Macros/ directory as a default storage location for macros. In Settings screen, click on Macro storage and choose: File system (.txt files).

In such case internal database won't be used. You'll probably want to export your macros before switching to this option. Now it is no longer necessary to do anything after editing such macro, it will be loaded from file before executing.




Macro file format:

Here's an example of macro file (I'll cover this in more details in a separate post):

#begin of file (demo.txt)
#just a comment line

#display name for the macro:
<name>DemoMacro

#type text, *only single line*
<type>hello
#press key, use standard US key labels
<press>enter
<type>world

#delay in ms
<delay>500

#press key combination:
<press>ctrl+s
<d>3000
<press>esc

#wait until all interface buffers are empty
#in this case: make sure that "Ecs" was received by USB host, before executing any mouse

action
<sync>

#mouse click: button (left, right, middle), how many times
<click>right 1
#move mouse left & down:
<mouse>0, -20, 10, 0
#scroll up:
<mouse>0, 0, 0, 5
#press left button (and hold)
<mouse>1, 0, 0, 0
<delay>3000
#release:
<mouse>0, 0, 0, 0


#consumer control actions: volup, voldown, mute, prev, next, play, stop
<consumer>mute
<delay>3000
#unmute:
<consumer>mute
#end of file


Other changes:

There are also some UI changes. Last but not least, new line and tab characters are now supported when typing text.

No comments:

Post a Comment