Jump to content
Macro Express Forums

ikodan

Members
  • Posts

    74
  • Joined

  • Last visited

Everything posted by ikodan

  1. I had to delete some variables to decrease the lag. How 8 variables can make lag a processor, that's a shame..
  2. Sure, it's the macro where I store some variables, like a config.ini.
  3. Hello, I try to create a macro that clic on a button (with a lot of specificities that is useless to detail here). I'm not a noob, but as the macro need to be spammed, I realised that macro express is a lot laggy, and for each internal macro, there is a delay of at least 200ms before the macro runs. I call "Internal macro", the macros I use to increment to add more variables, for exemple (first line) : https://i.ibb.co/P1LS65v/2021-01-25-102428.jpg I'm using ME pro 4.9. What's the problem with the lag and how to fix it ? I must create a macro per key on keyboard (and 10 keys), but some needs more actions so that's why it need a macro for each, and as far as I know, I can't resume all in one macro that observe what key I press (and anyway I have to load other internal macros that will also lags.
  4. Wtf, I'm not sure you understood, I speak about the background of the code (the purple color), and the text color. The template/theme of my code... It's good to make it more clean and pleasant, but if I copy past a part of code, the color go. If you understood, I can't agree your logic, when I copy a part of code it look like : <IF VARIABLE Variable="%barre_changed%" Condition="\x00" Value="1" IgnoreCase="FALSE" _FORE="00FFFFFF" _BACK="00FF8080"/> It's RLY ez to put something like "color=#165165"... Wait I see there is : _FORE="00FFFFFF" _BACK="00FF8080" So why it don't copy ?
  5. I use the request page too, but I ask here if this function is already here.
  6. It's not my computer, I have no problem except with ME. I always stop manually those macros because it's loops. I make macros as modules that I call on other macros. I remade all my code in clean, I'll try.
  7. Hello, That's really annoying that when I copy paste a part of code, the colors (background and text) don't copy paste too. Can you fix this ?
  8. Because I need that a macro run when I stop specific macros, because when I stop my macros, all the "key down" remains. I want every keys up when I stop my macros.
  9. Hello, I want a macro activate when I stop a macro. How to do ?
  10. Hello, I use a macro with a lot of modules (other macros but with the option "wait this macro to end to continue"), and sometimes when I stop the macro, I get a 3 sec global freeze and this error message : It's rly annoying. If I clic ok, MEP quit, if not, I still can use it... But it's like worrisome.
  11. Idk, I fixed it yesterday and it work with the function I used. Idk how, I cleaned my code.
  12. Hello, On my macro, I declare the variable : <VARIABLE SET INTEGER Option="\x00" Destination="%vit_s%" Value="1"/> <MACRO RUN Use_ID="FALSE" Name="#variables" ID="-1" Wait="TRUE"/> And on the macro #variables, I use a debug box to cheak the value of %vit_s% : <TEXT BOX DISPLAY Title="Debug : " Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1036{\\fonttbl{\\f0\\fnil\\fcharset0 Tahoma;}{\\f1\\fnil Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs20 %vit_s%\r\n\\par %test%\\f1 \r\n\\par }\r\n" Left="Center" Top="Center" Width="278" Height="200" Monitor="0" OnTop="TRUE" Keep_Focus="TRUE" Mode="\x00" Delay="0"/> It return me the value 0... The variable is on the 2 macros, and allowed to be called...
  13. Hello, I bought the software 1 year ago and I don't remember where you sent my licence key. I have some mails from the forum, but no one for the key.
  14. Hello, In order to download a lot of images for a personnal project, I'm looking for a way, from the source code of this kind of link : https://www.dreamstime.com/search.php?securitycheck=1ca077d0e2dd106ec49a55a750695398&srh_field=chicken&firstvalue=enter+keyword+or+file+ID&lastsearchvalue=&s_catid=0&s_cliid=2503490&s_colid=&s_ph=y&s_video=y&s_audio=y&s_il=y To keep only the links of the thumbs, for exemple for the chicken : https://thumbs.dreamstime.com/t/full-body-brown-chicken-hen-standing-isolated-white-backgroun-background-use-farm-animals-livestock-theme-49741285.jpg The kind of code to remove arround the links : <img class="bigthumb showonload" id="bigthumb49741285" src="https://thumbs.dreamstime.com/t/full-body-brown-chicken-hen-standing-isolated-white-backgroun-background-use-farm-animals-livestock-theme-49741285.jpg" alt="Full body of brown chicken hen standing isolated white backgroun Royalty Free Stock Photo" style="height: 158px; width: 162px; margin-top: 0px; visibility: visible;"> Then I want to replace the /t/ on the link by /z/ Can someone help me please ?
  15. Yes I don't use "wait for window" too, I forgotten to remove it here, but I done this repeat only to replace it : Repeat Until %active_window% Equals "%persos[1]%" Window Activate: %persos[1]% Variable Set String %active_window% to topmost window title End Repeat Or with a pixel detection too, for some uses. And I done a calibrating system, that opens when the macro don't find the pixel several times, that ask the new position/pixel to verify (in just one clic), and change the variables values (saved on file) to reopen it. Usefull when the software changes, or when you change the interface = the pixel changes too. I don't use W10. No one updates ME pro to fix this unstability ? For coloring : right clic on code.
  16. It's now more unstable, with the 100ms after, and not before, rberq.
  17. Hello, -Sure, the window is running. -The "goto:ok" are functionals, and that bug happent before I used it. -I don't use W10, but W7. -I not a pixel color detection problem, only an "active window" problem, the macro just stop trying to load it, and stop the loop I done for security, but the macro don't stop. I actualy test your delays rberq.
  18. Hello, Everytime I use this feature, there is an unstability when the software use a little the cpu/gpu. It works only 4/5 times, but it's not good, it must be 5/5. The problem : sometime, ME pro don't activate a window, even with the loops I done with "repeat"... <COMMENT _BACK="000080FF"/> <REPEAT START Start="1" Step="1" Count="%nb_de_comptes%" Save="FALSE" _FORE="00000000" _BACK="000080FF"/> <COMMENT/> <COMMENT Value="Clic." _FORE="00FFFFFF" _BACK="00004000"/> <MOUSE MOVE Option="\x01" X="%N[1]%" Y="%N[2]%" _PROMPT="0x000A" _FORE="00FFFFFF" _BACK="00808040"/> <MOUSE LEFT CLICK _FORE="00FFFFFF" _BACK="00808040"/> <COMMENT/> <COMMENT Value="Si demande pour rejoindre combat." _FORE="00FFFFFF" _BACK="00004000"/> <GET PIXEL COLOR Option="\x01" Rel_To_Screen="TRUE" X="%pos_interrogation_invitation[1]%" Y="%pos_interrogation_invitation[2]%" Destination="%N[3]%" _FORE="00FFFFFF" _BACK="00808040"/> <IF VARIABLE Variable="%N[3]%" Condition="\x00" Value="%bleu_invitation%" IgnoreCase="FALSE" _FORE="00FFFFFF" _BACK="00808040"/> <DELAY Flags="\x02" Time="%delay_joint_combat%" _FORE="00FFFFFF" _BACK="00808040"/> <END IF _FORE="00FFFFFF" _BACK="00808040"/> <COMMENT/> <COMMENT Value="Reset :" _FORE="00FFFFFF" _BACK="00004000"/> <VARIABLE SET STRING Option="\x00" Destination="%active_window%" NoEmbeddedVars="FALSE" _FORE="00FFFFFF" _BACK="00808040"/> <VARIABLE SET INTEGER Option="\x00" Destination="%N[3]%" Value="0" _FORE="00FFFFFF" _BACK="00808040"/> <VARIABLE SET INTEGER Option="\x00" Destination="%N[4]%" Value="1" _FORE="00FFFFFF" _BACK="00808040"/> <COMMENT/> <REPEAT START Start="1" Step="1" Count="%nb_de_comptes%" Save="FALSE" _FORE="00000000" _BACK="000080FF"/> <VARIABLE MODIFY INTEGER Option="\x00" Destination="%N[3]%" Value1="%N[3]%" Value2="1" _FORE="00FFFFFF" _BACK="00808040"/> <VARIABLE MODIFY INTEGER Option="\x00" Destination="%N[4]%" Value1="%N[4]%" Value2="1" _FORE="00FFFFFF" _BACK="00808040"/> <COMMENT _FORE="00FFFFFF" _BACK="00808040"/> <IF WINDOW Option="\x00" Title="%persos[%nb_de_comptes%]%" Partial="FALSE" Wildcards="FALSE" _FORE="00FFFFFF" _BACK="00808040"/> <REPEAT UNTIL Variable="%active_window%" Condition="\x00" Value="%persos[1]%" _FORE="00FFFFFF" _BACK="00808040"/> <DELAY Flags="\x12" Time="20" _COMMENT="CPU." _FORE="00FFFFFF" _BACK="00808040"/> <WINDOW ACTIVATE Title="%persos[1]%" Exact_Match="TRUE" Wildcards="FALSE" _IGNORE="0x0006" _FORE="00FFFFFF" _BACK="00808040"/> <WAIT FOR WINDOW TITLE Title="%persos[1]%" Partial="FALSE" Wildcards="FALSE" Indefinite="TRUE" Hours="0" Minutes="0" Seconds="0" _FORE="00FFFFFF" _BACK="00808040"/> <VARIABLE SET STRING Option="\x05" Destination="%active_window%" _FORE="00FFFFFF" _BACK="00808040"/> <GOTO Name="Ok." _FORE="00FFFFFF" _BACK="000000FF"/> <END REPEAT _FORE="00FFFFFF" _BACK="00808040"/> <ELSE _FORE="00FFFFFF" _BACK="00808040"/> <IF WINDOW Option="\x00" Title="%persos[%N[3]%]%" Partial="FALSE" Wildcards="FALSE" _FORE="00FFFFFF" _BACK="00808040"/> <REPEAT UNTIL Variable="%active_window%" Condition="\x00" Value="%persos[%N[4]%]%" _FORE="00FFFFFF" _BACK="00808040"/> <DELAY Flags="\x12" Time="20" _COMMENT="CPU." _FORE="00FFFFFF" _BACK="00808040"/> <WINDOW ACTIVATE Title="%persos[%N[4]%]%" Exact_Match="TRUE" Wildcards="FALSE" _IGNORE="0x0006" _FORE="00FFFFFF" _BACK="00808040"/> <VARIABLE SET STRING Option="\x05" Destination="%active_window%" _FORE="00FFFFFF" _BACK="00808040"/> <GOTO Name="Ok." _FORE="00FFFFFF" _BACK="000000FF"/> <END REPEAT _FORE="00FFFFFF" _BACK="00808040"/> <END IF _FORE="00FFFFFF" _BACK="00808040"/> <END IF _FORE="00FFFFFF" _BACK="00808040"/> <COMMENT _FORE="00FFFFFF" _BACK="00808040"/> <END REPEAT _FORE="00000000" _BACK="000080FF"/> <COMMENT _BACK="00808040"/> <LABEL Name="Ok." _FORE="00FFFFFF" _BACK="000000FF"/> <DELAY Flags="\x12" Time="180" _COMMENT="délai supplémentaire de sécurité." _FORE="00FFFFFF" _BACK="00808040"/> <IF VARIABLE Variable="%delay_chg_perso%" Condition="\x00" Value="1" IgnoreCase="FALSE" _ENABLED="FALSE" _COMMENT="Si l'option est activée." _FORE="00FFFFFF" _BACK="00808040"/> <DELAY Flags="\x02" Time="%random_delai%" _ENABLED="FALSE" _FORE="00FFFFFF" _BACK="00808040"/> <END IF _ENABLED="FALSE" _FORE="00FFFFFF" _BACK="00808040"/> <COMMENT _BACK="00808040"/> <END REPEAT _FORE="00000000" _BACK="000080FF"/> <COMMENT _BACK="000080FF"/> I don't know why, but I always have this problem with softwares that lag a little...
  19. I tried the "Export Macro Info feature" but I don't see the variables on it ?
  20. Try this : <COMMENT Value="################" _FORE="004080FF" _BACK="00000040"/> <COMMENT Value="Run a random macro, unique time." _FORE="004080FF" _BACK="00000040"/> <COMMENT Value="################" _FORE="004080FF" _BACK="00000040"/> <COMMENT Value="################" _FORE="0000FFFF" _BACK="00004080"/> <COMMENT Value="Options." _FORE="0000FFFF" _BACK="00004080"/> <COMMENT Value="################" _FORE="0000FFFF" _BACK="00004080"/> <COMMENT Value="Max number it can be." _FORE="0000FFFF" _BACK="00004080"/> <VARIABLE SET INTEGER Option="\x00" Destination="%N[3]%" Value="40" _FORE="00C0C0C0" _BACK="00004080"/> <COMMENT Value="Number of randoms numbers to generate = number of macros to run." _FORE="0000FFFF" _BACK="00004080"/> <VARIABLE SET INTEGER Option="\x00" Destination="%N[5]%" Value="40" _FORE="00C0C0C0" _BACK="00004080"/> <COMMENT Value="2 digits." _FORE="0000FFFF" _BACK="00004080"/> <VARIABLE SET INTEGER Option="\x00" Destination="%N[4]%" Value="2" _FORE="00C0C0C0" _BACK="00004080"/> <COMMENT _BACK="00C0C0C0"/> <REPEAT UNTIL Variable="%N[1]%" Condition="\x04" Value="%N[5]%" _BACK="00C0C0C0"/> <VARIABLE SET INTEGER Option="\x05" Destination="%N[2]%" Minimum="0" Maximum="%N[3]%" _BACK="00C0C0C0"/> <VARIABLE SET STRING Option="\x00" Destination="%T[2]%" Value="%N[2]%" NoEmbeddedVars="FALSE" _BACK="00C0C0C0"/> <VARIABLE MODIFY STRING Option="\x0D" Destination="%T[2]%" Width="%N[4]%" _BACK="00C0C0C0"/> <VARIABLE MODIFY STRING Option="\x0F" Destination="%T[2]%" ToReplace=" " ReplaceWith="0" All="TRUE" IgnoreCase="FALSE" NoEmbeddedVars="FALSE" _BACK="00C0C0C0"/> <COMMENT _BACK="00C0C0C0"/> <IF VARIABLE Variable="%T[1]%" Condition="\x07" Value="%T[2]%" IgnoreCase="TRUE" _BACK="00C0C0C0"/> <VARIABLE MODIFY STRING Option="\x06" Destination="%T[1]%" Value="%T[2]% " NoEmbeddedVars="FALSE" _FORE="00808080" _BACK="00C0C0C0"/> <VARIABLE MODIFY INTEGER Option="\x00" Destination="%N[1]%" Value1="%N[1]%" Value2="1" _BACK="00C0C0C0"/> <COMMENT _BACK="00C0C0C0"/> <TEXT BOX DISPLAY Title="Debug : macro to run this turn." Content="{\\rtf1\\ansi\\ansicpg1252\\deff0{\\fonttbl{\\f0\\fnil Tahoma;}{\\f1\\fnil\\fcharset0 Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\lang1036\\f0\\fs16 %T[\\f1 2\\f0 ]%\r\n\\par }\r\n" Left="Center" Top="Center" Width="739" Height="365" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x00" Delay="0" _ENABLED="FALSE" _FORE="0000FFFF" _BACK="00004080"/> <COMMENT _BACK="00C0C0C0"/> <COMMENT Value="Run your macro." _FORE="0040FF00" _BACK="00808080"/> <MACRO RUN Use_ID="FALSE" Name="%T[2]%" ID="-1" Wait="TRUE" _ENABLED="FALSE" _FORE="0040FF00" _BACK="00808080"/> <COMMENT _BACK="00C0C0C0"/> <END IF _BACK="00C0C0C0"/> <END REPEAT _BACK="00C0C0C0"/> <COMMENT _BACK="00C0C0C0"/> <TEXT BOX DISPLAY Title="Debug : verify there is no double." Content="{\\rtf1\\ansi\\ansicpg1252\\deff0{\\fonttbl{\\f0\\fnil Tahoma;}{\\f1\\fnil\\fcharset0 Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\lang1036\\f0\\fs16 %T[\\f1 1\\f0 ]%\r\n\\par }\r\n" Left="Center" Top="Center" Width="739" Height="365" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x00" Delay="0" _FORE="0000FFFF" _BACK="00004080"/> 39,37,01,04,33,32,25,14,19,07,08,06,15,13,17,22,03,10,40,12,28,36,38,26,34,00,29,24,21,05,30,20,31,02,11,18,09,16,27,23 Important : you must rename your macros, from "1,2,3" to "01,02,03", and "00" is used as name too (you can change this here : Variable Set Integer %N[2]% to a random value between 0 and %N[3]%).
  21. Few months ago, it wasn't working, so I temporary done non dynamic code.... But now it works, I don't know why, but nvm.
  22. Hello, It's gonna be horrible, I don't find a way to copy all my variables from this macro : (the list is bigger) To my others macros. I use a lot of "Macro Run:", to load options, to optimize, make it more dynamic, more... And I just can't pass few hours to redefine manualy all my variables... This list is only one macro : Anyone have a way to copy past the variables ?
×
×
  • Create New...