Jump to content
Macro Express Forums

jason

Members
  • Posts

    287
  • Joined

  • Last visited

Everything posted by jason

  1. Macro Express can only use the functions of a program to manipulate it. If this feature is available in IE then you should be able to get Macro Express to do it by using the Internet Explorer features. If this is not an Internet Explorer feature, than Macro Express cannot do it.
  2. You can click on the Advanced Tab in the Activate and Launch command. This will give you three options if the window does not appear within the time limit: 1-Stop the Macro 2-Continue Macro 3-Prompt for Action. 1) This is the default action. It will abort the macro. 2) This will basically skip the launch and activate command if the time limit passes. 3) Will ask you if you want to continue or cancel the macro.
  3. It is both. If you wish to monitor it for up to 30 minutes, you will need to make sure that the time and repetitions equal 30 minutes (e.g. delay 1 minute = 30 cycles, delay 30 seconds = 60 cycles etc...).
  4. The Wait For Window Title command has two options. One is to wait indefinitely, and the other is to wait for a certain time period. If you wait indefinitely, the macro will wait until the window has lost focus even if it is several days. If you wait for a time period, the macro will abort if the condition is not true. Instead you should try using the If Window Title On Top and If Not Window Title On Top commands in a repeat loop. Below is an example of the code that I used to test the condition. You will need to modify the delays to fit your time allotment. Repeat Until %N1% = 60 Delay 10 Seconds If Not Window Title "notepad" on top Text Box Display: Test // The break command will exit out of the loop if the Window loses focus, otherwise // it will continue on until %N1% = 60 Break End If If Window Title "notepad" is on top OR If Variable %N1% = 60 Text Box Display: Test End If Variable Modify Integer: %N1% = %N1% + 1 Repeat End
  5. Mouse move commands require that everything be the same every time. When a mouse move command is issued, it does check to see what is under it before it clicks a mouse button. This means that the icons must be in the same location, and the screen resolution must be the same. If these do not remain constant, the macro runs the chance of failing. If you are using the mouse to move to a program icon to double click on it to run the program, you should instead try using the Launch and Activate command found under Window/Program in the Commands list found in the Scripting Editor. There are several examples of macros available for download on the Macro Express website: http://www.macros.com/share.htm.
  6. When scripting the macro, you will need to use the Control Down, Control Up, Alt Down, Alt Up etc... They can be found in the Text Type command, or individually in the Keyboard Category of the Commands list. I created the below code for MSWord: // Bold Control Key Down Text Type: b Control Key Up Text Type: the brown cow // Bold & Italics Control Key Down Text Type: i Control Key Up Text Type: jumped over the moon // Disable text formatting Control Key Down Text Type: ib Control Key Up
  7. The Copy File or Files command is designed to copy predetermined files to another location. You can highlight the files and then press a hotkey that would copy the files, move the cursor to the address bar, type in the folder location that you wish to move the files to and then copy the files from the clipboard if you wish to change the files.
  8. The repeat loop will continue to repeat the way you have written it. To exit the loop, you will need to include the Repeat Exit command. If Variable %N1% = 255 Mouse Left button double click Repeat Exit End If
  9. Instead of using If variable %T98%="A", you should use If variable %T98% contains "A". It is found under the If Variable commands as well. The reason the macro is not working is because it is looking for the the macro to equal "A", but the macro equal "AB".
  10. You could use the Multiple Choice Box to set a Repeat With Variable loop. The Multiple Choice box would need to have two options. A Yes and No. If the answer is yes, you could set variable N1 to 1, if the answer was no, you could set the variable to 0. As long as the varible equals 0 the macro will continue, but once it equals 1 it will exit the loop and continue on with the macro.
  11. Click on Options and then select Preferences. Click on the ShortKeys option on the left. If Prefix is selected without any prefix keys, the macro will fire off whenever it sees a ShortKey activation. Your options are: -Enter a prefix key such as ##. This will requre you to use the prefix to activtate the the macro whenever you wish to use it (e.g. ##e to type out and). -Switch to suffix activation. This will activate the macro after you press the Space or Enter key, but will not launch if the letter is at the end of a word (e.g. e will be replaced by "and", free will remain "free"). It is important to note that if an activation is found in a ShortKey, it will launch that macro at the end of the macro.
  12. You can set a scheduled macro by clicking on Macros and then selecting New Macro from the Macro Explorer. When prompted for the activation, select Schedule. You will then be given several options on when you want the macro to run. Some of the options are Daily, at startup and other which will allow you to customize the activation time. For specifics on each option, click on the Help button.
  13. I am seeing the same thing as Kevin. IE renders the image, but Firefox displays gibberish.
  14. The macro should be looking for the text Nordea, USD sag and slettet. If if sees any one of those words, it should delete the email when using the OR statement. If you use the AND statement, it will require all of the conditions to be true instead of just condition.
  15. Hi, The error message you are receiving is not a Macro Express error. Try checking the documentation of the program you are running the macro in. If you can't find anything there, you might try a web search with the program name and error.
  16. You might try something like this: Change Directory/Folder: c:\name\of\directory\you\want\to\start\in Copy value from Excel spreadsheet Variable Set String from Clipboard into %Tx% Program Launch: <.bat file that creates folder> Delay 1 Second (I found that without this delay, the Rename Folder command executed too soon.) Rename Folder: c:\name\of\directory\you\want\to\start\in\%Tx%
  17. Macros can be exported and shared between computers that have Macro Express installed on them, but Macro Express macros require that at least a licensed copy of the Macro Express Player be installed on the computer. The player can be installed by using the custom installation feature by unchecking the option to install the Macro Express Editor. You will most likely want to uncheck the option to not install the icons or quick start guide.
  18. Currently, Active desktop is not supported. If you wish, you can request the feature at our website: http://www.macros.com/requestfeature.htm. If the feature is implemented, you will receive a confirmation email.
  19. The hotkey option to pause a macro can be selected by clicking on Options and then selecting Preferences. Once in the Preferences Window, click on Playback Options. The options to pause a macro are: Win+`, Pause, Break. <ESC> cannot be used as it is not one of the options. Instead of using the keyboard and mouse to select the option, you could use the Multiple Choice Box or Variable Set Integer command to select the case that you wish to use.
  20. I need to correct a mistake from my earlier post. The hotkey to suspend and resume Macro Express is Cntrl+Alt+Shift+U. This command will not stop a macro, it only prevents macros from running while it is suspended. The hotkey to pause a macro is Win+`. This can be changed by clicking on Options|Preferences and selecting the Playback Option. A macro can then be resumed by pressing Cntrl+Alt+Shift+Y. If the macro activates by hotkey, you may also resume the macro by pressing the hotkey. If you enter the Win+` into the script, it may pause the macro, but you would not be able to continue. You can use the Macro Run command within a macro to run another macro. This would run Macro A until it got to that line of code, run Macro B in it's entirety, and then finish Macro A.
  21. You can suspend Macro Express by right clicking on the Macro Express icon in the system tray and selection Suspend Macro Express from the pop-up window. You can then resume Macro Express by right clicking on the system tray icon and selecting Resume Macro Express. You can also use Cntrl+Alt+Shft+Y to suspend and resume Macro Express. If you wish to pause a macro while it's running, the hotkey is Win+`. You can then resume the macro by pressing the hotkey activation again.
  22. We're constantly looking for new ideas for Macro Express. While this is not on the current features list, it may be in the future. You can request features at our website: http://www.macros.com/requestfeature.htm.
  23. Unfortunately, Macro Express does not currently support SSL or TLS.
  24. Without seeing your macro, I'm guessing at exactly what you are doing, but if you are using a Text Type command to enter the P, you should change it to a lower case p. Using the uppercase P simualtes the keypress of <Shift>P.
  25. You can set integer variables to hour:minute:seconds at the beginning of the macro and then again at the end of the macro and calculate them as you described. This would cut out the Variable Modify String command. This macro has already been written and is available in the PGM Functions library.
×
×
  • Create New...