AminetAminet
Search:
84739 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/misc/AntiFlow-1.0.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Send input events from shell
Author:tcheko(at)no-log.org (Antoine Dubourg)
Type:util/misc
Version:1.0
Architecture:ppc-morphos
Date:2010-09-25
Replaces:AntiFlow-1.0.lha
Download:util/misc/AntiFlow-1.0.lha - View contents
Readme:util/misc/AntiFlow-1.0.readme
Downloads:1146

	AntiFlow is a small CLI tool that inserts events in the input device chain.
	It allows the insertion of any kind of events as documented in the RKM
	Libraries, Filter Objects and Input Description Strings.

	If some AREXX commands are missing in a tool, AntiFlow can help acting
	on the user interface by sending events to the window.



o - Installation & Requirements

	No installer required. Just copy AntiFlow to C:

	It shall works from MorphOS 1.4.x. (untested). It needs 2.5KB disk space
	and very small amount of memory. No external components required.



o - AntiFlow Usage

	AntiFlow STRING/F/A

	NB: The string is reversed before insertion: "foobar" will be inserted as
	"raboof".



o - Supported Keywords and Qualifiers

	Keywords:

	"space", "backspace", "tab", "enter", "return", "esc", "del",
	"up", "down", "right", "left", "f1", "f2", "f3", "f4", "f5",
	"f6", "f7", "f8", "f9", "f10", "f11", "f12", "help"

	Qualifiers:

	"lshift", "rshift", "capslock", "control", "lalt", "ralt" ,
    "lcommand", "rcommand", "numericpad", "repeat"

	NB: Mouse qualifiers hasn't been tested.


o - Examples

	*** Sending "make" in a shell:

	AntiFlow "\nekam"

	Notice the string reversal.


	*** Sending a single key for activating a button:

	AntiFlow "<upstroke a>a"

	Upstroke keyword releases the key event. (IECODE_UP_PREFIX).
	This is mandatory for buttons or other MUI objects : they react on release.


	*** Sending a menu command with shortcut:

	AntiFlow "<rcommand N>"

	The target window must be active.


	*** Sending a single hotkey:

	AntiFlow "<control f1>"
	AntiFlow "<lalt lshift control f1>"


	*** Navigating through user interface (assuming cycle chain is set):

	AntiFlow "<tab>"

	or going reverse path

	AntiFlow "<shift tab>"


	*** Sending a sequence of events:

	AntiFlow "<upstroke return><return><tab><tab><tab>"

	This will send "<tab><tab><tab><return><upstroke return>"



o - AREXX example

	/* Send an event from an arexx script */
	address command 'AntiFlow "<rcommand O>"'



o - Credits & Acknowledgements

    Thanks to antibike for the idea.


o - History

    1.0 - Initial release
          Some examples corrected



Contents of util/misc/AntiFlow-1.0.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1236    2700  45.8% -lh5- 6649 Sep 24 08:20 AntiFlow/AntiFlow
[generic]                 1191    2416  49.3% -lh5- dc81 Sep 24 08:20 AntiFlow/AntiFlow-1.0.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    2427    5116  47.4%            Sep 24 17:41
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>