-
Notifications
You must be signed in to change notification settings - Fork 0
Interface commands
?+ESCㅤㅤㅤHelp
Display commands and other info about the program.
X+ESCㅤㅤㅤExit
H+ESCㅤㅤㅤToggle visibility
P+ESCㅤㅤㅤPrint <xy:>
Click inside of your code editor (db.txt - Visual Studio Code), hover over where you want the mouse arrow to teleport to, then press P+ESC and the program will print out the coordinates.
Example line in db.txt:
in <xy~:882 839>
LCTRL+S inside of db.txt - Visual Studio Code to save (updates the db.txt in the background) then after pressing I N F2, it will teleport the mouse pointer to the coordinates. Can also use RCTRL instead of F2 to run this code. If you want to use a different F Key instead of F2, inside of the settings file (c:/anu/se.txt), use LCTRL+S to save this on one of the lines: Kb_Key_F4: >. To see all settings, run this code: in <se>
A+ESCㅤㅤㅤPrint <ifapp~:>
Click on an app window then click back into the editor and press A+ESC and the program will print out that apps title. Use this code to check if the app is open and if it is to bring it to the front.
Example:
in <ifapp~:anunnaki><:true\n>
There are many options you can add. For instance, to make it loop until the window title is true, put a , before the closing bracket. To show feedback on every iteration, add a ' before the title name. Or extend like this 'loop'. To make it check for the title 3 times every 1000 milliseconds: <ifapp~: 'anunnaki, 3, 1000><:true\n>. Even if it's true and you want that last 1000ms as a pause before proceeding to the <:true\n> (console print), add a ' before the closing bracket of the ifapp. This is needed sometimes or you can put a manual millisecond in between the two using <,1000>. There's more. Look: <ifapp~: anunnaki, 3, 1000, t: f:>. You can make it run a <t:> or <f:> line depending if it's true or false. You can make it connect back to the original line by adding a < to the beginning of t: or f:. Or, if it's true and you just want it to continue, use a stand alone < in the true slot. Use a stand alone , in the false slot for retry. So pretty much the syntax looks like this: <ifapp~:'msg'title|title,1,1000,t: f:'>
Example of how to use it:
<wr:><win>r<win-><ifapp~:run,6,9>
d dd <ifapp~:● db.txt - Visual Studio Code | db.txt - Visual Studio Code,1,1,< odb:> <odb:><wr:>c:\anu\db.txt<enter>
s ss <ifapp~:● se.txt - Visual Studio Code | se.txt - Visual Studio Code,1,1,< ose:> <ose:><wr:>c:\anu\se.txt<enter>
Notice, this example is using the fall through option where
D RCTRL or D D RCTRL are setup to run the same code.
There's a way to compress this using the setting ReplacerDb. To enable it, save this setting:
ReplacerDb c:/anu/db.txt. That tells it it's storing the replacer stuff in db.txt. ReplacerDb example:
<wr:><win>r<win-><ifapp~:run,6,9>
vs:.txt - Visual Studio Code
d dd <ifapp~:● db{vs:}| db{vs:},1,1,< odb:> <odb:><wr:>c:\anu\db.txt<enter>
s ss <ifapp~:● se{vs:} | se{vs:},1,1,< ose:> <ose:><wr:>c:\anu\se.txt<enter>
R+ESCㅤㅤㅤPrint <ifrgb:>
(Similar syntax as ifapp) Check to see if the pixel the mouse arrow is pointing to matches the values. You might have to set something up first to use this. Or maybe not. Right click on your desktop and click display then click on the monitor you're using. If the scale and layout is 100%, you're good. If it's not and it's set to 150% or a different value, add RgbScaleLayout and the value in decimal form to a line in se.txt and press LCTRL+S. For instance. 150% = 1.5, 125% = 1.25. Example:
RgbScaleLayout 1.25
G+ESCㅤㅤㅤRGBXY to clipboard (cb) in 3 sec.
Set mouse pointer over target, press G+ESC, then move it away
L+ESCㅤㅤㅤToggle [se.txt RSHIFT+LSHIFT_Only]