XMC files are use to "automate" some of the key strokes you usually use repeatedly on your phone.
You can run .xmc file or make shortcut to it
You can add xmacro lines, must start with "xmacro=" and ended by a ","
or command line (\windows\calc.exe) or file name (\storage card\music.mp3)
where a=command and BBB=param
s-Sleep (int) millisec to wait before next command
d-Press Key (int) ScanCode of th key
u-Release Key (int) ScanCode of th key
k-Press & Release (int) ScanCode of th key
p-Paste Text (str) Text to insert in the current cursor pos
c-char (char) Press key of the char (ex: x)
X-set X pen (int) Coord X on the screen
Y-set Y pen (int) Coord X on the screen
D-put pen (no param) but it's a BIG 'D'
U-release pen (no param) but it's a BIG 'U'
P-set pixel to X,Y hex color in BBGGRR
w-Wait window 10s window title or class (can be empty)
W-Wait window inf. window title or class
T-Terminate process process
t-Terminate window window title
b-Box (str) Text to display in the Box
x-xBar internal (int) id of the following command
0 - Crontab check (Reserved)
1 - Kill selected task
2 - Kill all except sel. task
3 - Kill all tasks
4 - Destroy sel. task
5 - Switch to sel. task
6 - Crontab on/off
7 - Home (Today screen)
8 - Minimise Sel. task
22 - Clean
23 - Display info
93 - Wake up
94 - Turn On Screen
95 - Turn Off Screen
96 - Hide xbar
97 - Refresh xbar
98 - Show xbar
99 - Quit xbar
D and U are not supported in all Smartphone software.
For X and Y, you must set in pixel, but you can use SystemUnit by using negative value.
In SystemUnit, screen is 65535 x 65535 (even in landsacpe mode) ex: X-32768 for the middle of the screen