Jump to content
Macro Express Forums

Samrae

Members
  • Posts

    426
  • Joined

  • Last visited

  • Days Won

    21

Community Answers

  1. Samrae's post in I never successfuly use "repeat until not egal" was marked as the answer   
    Others can better help you if you post your macro in a form that can be copied (as you did) and in a form that can be read, like this:
    // Accepte l'invitation. Variable Set Integer %N[1]% to %bleu_invitation% Repeat Until %N[1]% Does not Equal "%bleu_invitation%" Mouse Move: %pos_accepter_invitation[1]%, %pos_accepter_invitation[2]% Relative to Screen Mouse Left Click Text Box Display: débug : Delay: 500 seconds Mouse Move: 0, 0 Relative to Screen Delay: 500 milliseconds Get Pixel Color at (%pos_inte_invitation[1]%, %pos_inte_invitation[2]%) Relative to Screen into %N[1]% Text Box Display: débug : // Calibrage debug. Variable Set Decimal %bug_zone% to 1.7 Macro Run: - CALIBRAGE # - auto-debug. End Repeat Variable Set Decimal %bug_counter% to 0 You can copy your macro in a readable format by highlighting the macro commands, right-clicking your mouse and choosing "Copy Command Text".
     
    Looking at your macro in a format that we can read it shows that you have a delay of 500 seconds. That is more than 8 minutes.
  2. Samrae's post in Shortcuts for Macro Express Pro was marked as the answer   
    Use Alt+Left Arrow to move to the Favorite Commands / Code Snippets / All Commands pane (depending on which is selected)
    Use Alt+Right Arrow to move to the Script area (line code area)
    Use Alt+Down Arrow to move to the Search for Command box
     
    Once you highlight a command on the left, if you press the ENTER key it is inserted on the right side (the script area). You can choose where the commands are inserted by clicking Options and choosing "Insert Command Before Selected", "Insert Command After Selected" or "Add Command to End of Script".
     
    The way I do this is to open a new, blank macro in the Script Editor, click Snippets, click on the snippet to put it in the script area, edit it, highlight it and save it as a Snippet.
     
    I am not aware of another way to do this.
     
    When writing macros I use the Search box extensively. For example, when I want a Text Box Display command I press Alt+Down Arrow, "text box d" and ENTER. I don't always type the entire thing. I may type "tex" and Down Arrow and then ENTER. I do not use Favorite Commands because I can search for my favorite commands so quickly.
  3. Samrae's post in need your help for launching an progra was marked as the answer   
    To clarify, that is the Notification Area of the Taskbar. Microsoft changed the name of this area. It was formerly known as the System Tray.
     
    To access programs in the Notification Area / System Tray you can use the "Move Mouse to Tray Icon" command. After the mouse is moved you can right-click or left-click the mouse to activate the menu associated with that icon. Note, however, that the "Move Mouse to Tray Icon" command does not work with icons that are hidden by Windows. To get around this Windows allows you to select which icons are hidden (although I have had mixed results with this).
  4. Samrae's post in Old PGM macros - password needed? was marked as the answer   
    When did you download the PGM Functions Library? Is the latest freeware version password protected?
  5. Samrae's post in Force Macro Exp Pro to start in administrator mode was marked as the answer   
    There is an article with step-by-step directions on how to launch Macro Express Pro as administrator here.

    The topic was mentioned in these newsletters:
    Tip: Run as Administrator (Macro Express News - November 12, 2012)
    Tip: Run as Administrator Redux (Macro Express News - December 13, 2012)

    When running Macro Express Pro as an administrator, programs that Macro Express Pro launches may also be launched as administrator. This newsletter article describes a work around:
    Tip: Run a program as a non-administrator when Macro Express is running as administrator (Macro Express News - December 9, 2013)
  6. Samrae's post in Alt+Tab or Activate last window was marked as the answer   
    To copy the current window title into a string variable use the "Variable Set String %T9% from Window Title" command.
  7. Samrae's post in Capturing data and parsing it was marked as the answer   
    Try the "Variable Set Integer %N1% from Position of Text in Variable %T1%" command.

×
×
  • Create New...