Replies: 1 comment
-
First experiment: <xml>
<!-- SCREEN -->
<!-- ################ -->
<!-- Represent a point of the screen where to click. -->
<screenpoint name="NextGame" left2right="5%" bot2top="5%" />
<!-- Represent a zone of the screen where to click. From one point to an other.-->
<screenzone name="MiniMap">
<screenzonestart left2right="5%" bot2top="5%" />
<screenzoneend left2right="5%" bot2top="5%" />
</screenzone>
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/.screenzonetoboolean -->
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/.screenlocations -->
<screenzonetoboolean screenname="MiniMap" boolname="OverMiniMap" />
<!-- FROM TO BOOLEAN -->
<!-- ################ -->
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/.keyboardtoboolean -->
<keyboard2boolean keyname="Z" boolname="Forward" />
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/.windowkeytoboolean -->
<windowkeyboard2boolean keyname="VK_5" boolname="Backward" />
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/.winxboxtoboolean -->
<!-- for button and booleanable -->
<xbox2boolean controller="1" inputalias="sbl" boolname="Jump" />
<!-- for trigger and joystick types -->
<xbox2boolean controller="1" inputalias="sbl" boolname="Jump" rangemin="0.05" rangemax="1" />
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/.vrcontroller2boolean -->
<vrcontroller2boolean inputalias="leftdownbutton" boolname="Menu" />
<oculuscontroller2boolean inputalias="leftjoystickleft" boolname="Menu" rangemin="0.05" rangemax="1" />
<!-- FROM TO BOOLEAN -->
<!-- ################ -->
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/.apptoboolean -->
<applicationfocus2boolean regex="\s-\sUnity\s" boolname="Unity"/>
<applicationfocus2boolean regex="\s-\sUnity\s" boolname="Unity"/>
<applicationfocus2boolean boolname="Unity" multiregextype="or">
<appfocusregex>\s-\sYouTube\s-\sGoogle\sChrome</appfocusregex>
<appfocusregex>\-\sYouTube.*-\sMicrosoft\sEdge</appfocusregex>
</applicationfocus2boolean>
<applicationfocus2boolean boolname="Unity2017" multiregextype="and">
<appfocusregex>Unity</appfocusregex>
<appfocusregex>2017</appfocusregex>
</applicationfocus2boolean>
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/.audiointensity -->
<windowaudioinput audioname="Stereo" boolname="Unity" intensityRangeMin="0.05" intensityRangeMax="1" />
<applicationaudioinput applicationname="World of warcraft" boolname="wow" intensityRangeMin="0.05" intensityRangeMax="1" />
<!-- AUDIO TO BOOLEAN -->
<!-- ################ -->
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/.filetobool -->
<boolean boolname="debugmode" value="true"/>
https://github.com/EloiStree/OpenMacroInput/wiki/.boolstobool
<booleancondition condition="shipt + space" boolname="specialjump" />
<!-- ARDUINO AND FROM SERIAL PORT -->
<!-- ################ -->
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/.portnomenclature -->
<serialport2boolean labelname="FootLeftTop" boolname="Fire" />
<serialport2boolean labelname="RoomLight" boolname="IsRoom" />
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/.timeofdaytocommands -->
<timeofdaytocommands at="12h30" condition="" cmd="macro:HeyMonAmi" />
<timeofdaytocommands channel="1 Second" condition="">
<command>macro:HeyMonAmi</command>
<command>macro:DoYouLikePatato</command>
</timeofdaytocommands>
<!-- COMMANDS -->
<!-- ################ -->
<!-- ➤ ☗ | ↓ ↑ _ ‾ ∨ ∧ ¬ ⊗ ≡ ≤ ≥ ⌃ ⌄ ⊓ ⇅ ⊔⇵ ⊏ ⊐ ↱↳ ∑ -no unity ⤒ ⤓ ⌈ ⌊ 🀲 🀸 ⌛ ⏰ -->
<stackqueue name="Yo">
<command>jomi:[[Hello guys]]</command>
<command>jomi: a↓ b↓ b↑ a↑</command>
</stackqueue>
<stringtocommands call="wow:heal" command="jomi: w↓ w↑"/>
<stringtocommands call="wow:boost" >
<command>jomi: w↓ w↑</command>
<command>jomi: 1↓ 1↑</command>
<command>jomi: 2↓ 2↑</command>
<command>jomi: 3↓ 3↑</command>
</stringtocommands>
<regextocommands regex= "[Hh]ello" >
<command>debuglog Hello guys</command>
<command>In 0.2s|debuglog How are you going?</command>
</regextocommands>
<!-- CLIP BOARD -->
<!-- ################ -->
<pastable name="KindRegards">
Kind regards,
Stree Eloi
</pastable>
<pastable name="TextFromWeb" webpage="website.com/sometext"/>
<pastable name="TextFromFile" filepath="sometext.txt" />
<pastable name="TextFromVariable" text="Hey mon ami !!!" />
<executable name="Activate Wifi" filepath="ActivateWifi.bat"/>
<executable name="AutoHotKeyScript" filepath="scarip1.ahk" />
<executableasbat name="ExecuteBatFromWeb" webpage="website.com/somebatcommands" />
<executableasbat name="AutoShutdown" webpage="website.com/sometext">
shutdown -s -t 1800
</executableasbat>
<!-- CONDITION TRIGGERING -->
<!-- ################ -->
<!-- MORSE Condition -->
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/FileExtensionName -->
<morsecondition condition="q_ or d_" morse="..." exittimemilliseconds="400" triggeronfound="true" command="macro:dostuff "/>
<morsecondition condition="q↓ + d↓" morse="--" exittimemilliseconds="1500" TriggerOnExit="true" >
<command>macro:dostuff</command>
<command>macro:dootherstuff</command>
</morsecondition >
<doublemorsecondition short="q" long="d" morse=".-.." exittimemilliseconds="400" triggeronfound="true" command="macro:dostuff "/>
<!-- SIMPLE CONDITION -->
<!-- SIMPLE CONDITION -->
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/.simplecondition -->
<simplecondition condition="app+UseGun" command="macro:thegame:starttoaim" TriggerOnTrue="true" />
<simplecondition condition="app+UseGun" command="macro:thegame:fire" LoopOnTrue="800" />
<simplecondition condition="app+UseGun" command="macro:thegame:stoptoaim" TriggerOnFalse="true" />
<!-- TIME CONDITION -->
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/.timecondition -->
<timecondition condition="ctrl+space" command="macro:thegame:stoptoaim" time="800ms" TriggerOnRange="true" />
<timecondition condition="ctrl+space" command="macro:thegame:stoptoaim" MinTime="500" MaxTime="1500" TriggerOnReleaseInRange="true" />
<!-- https://github.com/EloiStree/OpenMacroInput/wiki/.spliter.xml -->
<spliters>
</spliters>
<!-- NETWORK COMMANDING -->
<udptarget targetname ="Healer" ip="192.131.1.1" port="2501" />
<udptarget targetname ="Tank" ip="192.131.1.2" port="2501" />
<udptargetgroup targetname="All">
<ingroup>Healer</ingroup>
<ingroup>Tank</ingroup>
</udptargetgroup>
<mqttserver ip="192.131.1.2" port="2501" />
</xml> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For the moment the application works with several types of file extension with structural format.
It works well but it become quickly messy.
Maybe it would be better to keep a XML file with a XML schematic for it documentation.
Beta Was this translation helpful? Give feedback.
All reactions