Jump to content
Macro Express Forums

Look_Up

Members
  • Content Count

    43
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Look_Up

  • Rank
    Member

Profile Information

  • Gender
    Male
  • Location
    Germany
  1. Hey. Select from command list "Clipboard" Clipboard Copy OR Clipboard Paste There are several more commands. Press F1 to get additional help.
  2. 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
  3. 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.
  4. 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
  5. 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
  6. Ok thank you. I'm going to write a program by myself.
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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 ?
  12. 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
  13. When the upload window appears can you select more than one file (control and mouse click) or select all (conrtol+a)[strg.+A] ???
  14. 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
  15. You can help youself by try it out. But anyway... Every beginning is difficult You can download the full macro at the end of post - see attachment Variable Set to ASCII Char 13 to %T[97]% // Save "Carriage Return" in string variable %T[97]% Variable Set to ASCII Char 10 to %T[98]% // Save "Line Feed" in string variable %T[98]% // merge both variable %T[97]% and %T[98]% to %new_line% trigger the same behave like pressing < Enter > on keyboard Variable Set String %new_line% to "%T[97]%%T[98]%" // Save all content in string variable %full_uncut_content_clipboard% Variable Set String %full_uncut_content_clipboard% from the clipboard contents // Now, the content from clipboard is in string variable %full_uncut_content_clipboard% but how we get it into T[x] variable ? // With "Split String" ... (Variables - Split String) Split String "%full_uncut_content_clipboard%" on "%new_line%" into %T%, starting at 1 // We say: Split String %full_uncut_content_clipboard% on every end of line %new_line% // And put them into %T% variable beginning with %T[1]% continue with %T[2]%, %T[3]% untill all data is split // Now you can do the 2nd job Variable Set String %T[20]% to "Tata" Variable Set String %T[21]% to "Toto" Variable Set String %T[22]% to "Titi" // Now we bring it into the correct order // Remeber: %T[1]% = Maggie %T[2]% = Yubie %T[3]% = Ned %T[4]% = Rufu %T[5]% = Lily Text Box Display: Show all Names You learn faster when you try out some thinks. So see this is a special case. Welcome to Macro Express Pro Look_Up Save content from clipboard.mex
×
×
  • Create New...