Jump to content
Macro Express Forums

Look_Up

Members
  • Posts

    44
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Germany

Look_Up's Achievements

  1. This is one way it worked for me (i got MEP 4.9.1.1): Syntax: start /D [Path from Macro Express] MeProc.exe /A::[Path where the macro is stored]?[Macroname] For Example: start /D "C:\Program Files\Macro Express Pro\" MeProc.exe /A::C:\Dokumente\Insight Software\macex.mex?Posteingang That's a lot of code, but it works 😉
  2. Hey. Select from command list "Clipboard" Clipboard Copy OR Clipboard Paste There are several more commands. Press F1 to get additional help.
  3. You have completely removed the information on the shop page for the upgrade price. A few days ago there was the possibility to upgrade from version 4 to version 6. I think you need to contact Macro Express Support - info@wintools.com to get a discount. The upgrade price was: 1 license 19$ 2 licenses 34$ I think I don't really know if it's worth switching either. I struggle with myself. @Alexis I don't have any further information than from the website
  4. Yea i forgot to answer this thread. Thank you to rberg & paul. I think paul's solution is the best one. Hopeful the Macro Express Pro developer read this thread and bring out an usefull update in future.
  5. Hello. I want create a macro which is waiting not only for one keys rather two. If you chose A key goto "x". If i chose E key goto "y". Currently Macro Express don't support waiting for 'x' OR 'y' key. Can somebody help me with a workaround ? Here is an example from my idea (careful it is not working !) MessageBox: Info Delay: 1 seconds Wait for Key Press: A OR Wait for Key Press: E // evaluation Switch( %keystroke% ) Case: A // do something useful End Case Case: E // write some text End Case End Switch ------------------------------------------------------------------------------------------------------------------- <MESSAGEBOX Caption="Info" Message="After clicking on OK the macro waiting for keypress 'A' or keypress 'E'" Icon="0"/> <DELAY Flags="\x01" Time="1"/> <WAIT FOR KEY PRESS Key="A" Indefinite="TRUE" Hours="0" Minutes="0" Seconds="0"/> <OR/> <WAIT FOR KEY PRESS Key="E" Indefinite="TRUE" Hours="0" Minutes="0" Seconds="0"/> <COMMENT Value="evaluation"/> <SWITCH Variable="%keystroke%"/> <CASE Value="A"/> <COMMENT Value="do something useful"/> <END CASE/> <CASE Value="E"/> <COMMENT Value="write some text"/> <END CASE/> <END SWITCH/> I appreciate every working idea
  6. The "Activate or Launch" command first looking for a window with the same name. If he find one he will activate it (and don't start notepad.exe) <LAUNCH PROGRAM AND ACTIVATE WINDOW Title="Untitled" Exact_Match="FALSE" Wildcards="FALSE" Path="C:\\Windows\\notepad.exe" Mode="\x00" Default_Path="TRUE" Wait="1" Wait_For_Program="12"/> Its better to use the command "launch program and activate window" and use 'Untitled' as window name. <IF PROGRAM Option="\x01" Program="NOTEPAD.EXE"/> <WINDOW ACTIVATE Title="Untitled" Exact_Match="FALSE" Wildcards="FALSE" _IGNORE="0x0006"/> <ELSE/> <LAUNCH PROGRAM AND ACTIVATE WINDOW Title="Untitled" Exact_Match="FALSE" Wildcards="FALSE" Path="C:\\Windows\\notepad.exe" Mode="\x00" Default_Path="TRUE" Wait="1" Wait_For_Program="12"/> <END IF/> Look_Up
  7. Ok thank you. I'm going to write a program by myself.
  8. Hey Terry. Do you try to restart you MEP ? Sometime MEP behave strange and after a restart it works fine. This is my (crazy) way to write variables names ;-) In huge and complex macro, real short macros variable names are not good to identify and so i use long and good readable var. Wait a second: i try to open notepad with MEP. Stand by
  9. It's really simple to solve when you know where the bug is hiding. Put your commentary from line 5 to line 4 and your waiting for window title from line 4 to line 5. Eh wola - it works. <COMMENT Value="Assumes JPG is open in IrfanView"/> <TEXT TYPE Action="0" Text="ie" _COMMENT="Opens EXIF Info window."/> <DELAY Flags="\x01" Time="0.3"/> <COMMENT Value="The On Error tab for the last command was set to 'The condition was not met within the specified amount of time'."/> <WAIT FOR WINDOW TITLE Title="- EXIF Info" Partial="TRUE" Wildcards="FALSE" Indefinite="FALSE" Hours="0" Minutes="0" Seconds="2" _HANDLE="0x0014"/> <ON ERROR/> <CATCH ERROR Code="20"/> <TEXT BOX DISPLAY Title="Error message" Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang2057{\\fonttbl{\\f0\\fnil\\fcharset0 Tahoma;}{\\f1\\fnil Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs16 No EXIF\\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"/> <MACRO STOP/> <END CATCH ERROR/> <END ERROR/> The command and the Error handler MUST BE among themselves. No commentary or other code should between this. Look_Up
  10. Hello guys, it is possible to let Macro Express Pro to communicate with Twitch API (application programming interface) ? Or it's only available through programming language like Java or C++ ? What are the requirements to communicate with an API ? Look_Up
  11. Hello Terri, please try this peace of code to find out which window is open, hidden or visible <COMMENT Value="Initialing"/> <VARIABLE SET STRING Option="\x00" Destination="%text_variable2[1]%" Value="--------------------------------------------------------------------------------------" NoEmbeddedVars="FALSE"/> <VARIABLE SET STRING Option="\x00" Destination="%text_variable2[2]%" Value="VISIBLE WINDOW" NoEmbeddedVars="FALSE"/> <VARIABLE SET STRING Option="\x00" Destination="%text_variable2[3]%" Value="HIDDEN WINDOW" NoEmbeddedVars="FALSE"/> <COMMENT Value="Write \"visible window\" into textfile"/> <TEXT BOX DISPLAY Title="Please wait" Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1031{\\fonttbl{\\f0\\fnil\\fcharset0 Tahoma;}{\\f1\\fnil Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs16 Please wait while loading and writing Window list...\\f1 \r\n\\par }\r\n" Left="center" Top="366" Width="294" Height="94" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x02" Delay="0"/> <VARIABLE MODIFY STRING Option="\x12" Destination="%text_variable2[1]%" Filename="%temp%\\find_window.txt" Strip="TRUE" NoEmbeddedVars="FALSE"/> <VARIABLE MODIFY STRING Option="\x12" Destination="%text_variable2[2]%" Filename="%temp%\\find_window.txt" Strip="TRUE" NoEmbeddedVars="FALSE"/> <VARIABLE MODIFY STRING Option="\x12" Destination="%text_variable2[1]%" Filename="%temp%\\find_window.txt" Strip="TRUE" NoEmbeddedVars="FALSE"/> <COMMENT Value="Write all 'visible window' names into textfile"/> <REPEAT WITH WINDOWS ToRetrieve="\x01" SortOrder="\x01" Destination="%text_variable%"/> <DELAY Flags="\x02" Time="50"/> <VARIABLE MODIFY STRING Option="\x12" Destination="%text_variable%" Filename="%temp%\\find_window.txt" Strip="TRUE" NoEmbeddedVars="FALSE"/> <END REPEAT/> <COMMENT Value="Write \"hidden window\" into textfile"/> <VARIABLE MODIFY STRING Option="\x12" Destination="%text_variable2[1]%" Filename="%temp%\\find_window.txt" Strip="TRUE" NoEmbeddedVars="FALSE"/> <VARIABLE MODIFY STRING Option="\x12" Destination="%text_variable2[3]%" Filename="%temp%\\find_window.txt" Strip="TRUE" NoEmbeddedVars="FALSE"/> <VARIABLE MODIFY STRING Option="\x12" Destination="%text_variable2[1]%" Filename="%temp%\\find_window.txt" Strip="TRUE" NoEmbeddedVars="FALSE"/> <COMMENT Value="Write all 'hidden window' names into textfile"/> <REPEAT WITH WINDOWS ToRetrieve="\x02" SortOrder="\x01" Destination="%text_variable%"/> <DELAY Flags="\x02" Time="50"/> <VARIABLE MODIFY STRING Option="\x12" Destination="%text_variable%" Filename="%temp%\\find_window.txt" Strip="TRUE" NoEmbeddedVars="FALSE"/> <END REPEAT/> <TEXT BOX CLOSE Header="Please wait"/> <IF MESSAGE Caption="Ready. Open file?" Message="Hey. I'm ready to list all visible and hidden window. The textfile is in \"temp\\find_window.txt\". Do you want open it ?" BtnMode="\x00" Default="TRUE" Left="Center" Top="Center" Monitor="0" Delay="0"/> <SHOW DIALOG WINDOW Dialog="Run Programs"/> <DELAY Flags="\x01" Time="1"/> <TEXT TYPE Action="0" Text="%temp%\\find_window.txt<ENTER>"/> <ELSE/> <MACRO STOP/> <END IF/> This code create a file find_window.txt into %temp% folder. After that he write all window title into this text file. When it's all done he want ask you to open this text file. With Contr.+F you can search for "notepad" window title. Good luck. Look_Up
  12. Please STOP FULL QUOTE from my post !!! Whatever you want to try... Now you know how to get content from clipboard to a variable. Try thinking yourself. You can create your own variables and copy one value to another with "Variable modify string" (Copy Whole Text) In other case you should tell me exactly what you want to do. Is the second list also in clipboard ? In which order do you want sort the list ? Which person has a higher priority ?
  13. I know that in Flash window the behave of mouse and/or keyboard can be different. I have some trouble to in full window applications
  14. When the upload window appears can you select more than one file (control and mouse click) or select all (conrtol+a)[strg.+A] ???
  15. The hotkey button is only grey out when you already have set a hotkey. Go into macro express editor, open your macro, choose registercard "Activations" - use properties button to change the current hotkey or "Add" a new one ! Look_Up
×
×
  • Create New...