Jump to content
Macro Express Forums

jason

Members
  • Posts

    287
  • Joined

  • Last visited

Everything posted by jason

  1. There have been some changes in this area. If you are running the latest version of Macro Express, you should be able to do this as you described. The latest version can be downloaded from: http://www.macros.com/download.htm
  2. Right now, the only way to break portions of code up, is to use the Remark command. You can enter a blank remark to add a line, or you can enter comments in these remarks. The font color in the remarks is blue, so it will stand out in your script. There are plans for a future release that will give the ability to change the font colors in the Scripting Editor.
  3. Pressing Cntrl+Alt+Shift+V will not stop the macro. Macro Express will currently only allow 1 macro to run. The second macro will be ignored.
  4. The Variable Save and Variable Restore commands will only work if you do not run another macro in between the macros that use variable commands, and you do not shut Macro Express down in between the macros. The variable values are all set to 0 when Macro Express is restarted or a macro is run using the variable commands.
  5. You could use the Variable Modify String command to save the variable to a text file. This is found under the Option 2 Tab of the command. You could then use the Variable set String command in other macros to load the information from the text file into your variable.
  6. Lemming is correct. Just make sure to place an end if after the macro run command or you will have an embedded if statement that will skip all of the if statements if the first statement is not true. The or command would be used to check two statements such as: if T1 contains "This" OR if T2 Contains "That". The else statement is used if all of your other if statement are false.
  7. You need to change the ShortKey activation to Prefix, but you will need to leave the prefix keys blank. You need to be aware that if your ShortKey text contains the activation for this or another ShortKey, it will activate that ShortKeys as well, so you will need to make sure that your ShortKey text does not contain any ShortKeys activations.
  8. Instead of right clicking on the icon, try using the Launch and Activate command to launch the program. You can use the Alt key to access the dropdown menus to select the change from the Internet Options screen.
  9. If you are doing this in a web browser you should try starting the macro with a find command (Control+F in most browsers). You would then have it type in your key word and press enter to highlight the text. You would then need to use a mouse move command. There is an option under movement in the mouse commands to move the mouse pointer to the text cursor position.
  10. There is not a way to edit all of the delays at one time, but you can set up the capture to not capture the delays. You can then go in and enter delays where necessary. As Kevin suggested, you can also set the delay to a variable. This way, if timing changes in the future, you can adjust all of the delays at once.
  11. You could set up a repeat loop that checks the system clock. It might look something like this: Variable Set Integer %N1% from current second If Variable %T1% < "30" Variable Modify Integer: %N2% = %N1% + 30 Else Variable Modify Integer: %N2% = %N1% - 30 End If Repeat Until %N3% = %N2% Text Type: t Variable Integer %N3% from Current Second Repeat End This checks the system clock and then repeatedly presses the 't' key for 30 seconds.
  12. Without knowing what the macro is doing, it is hard to give an exact answer, but data may be stored in cache after the macro executes the first time making it more easily accessable for the operating system subsequent times through the macro.
  13. You can set the window title to a variable by using the Variable Set String command. The option is Set Value to Topmost Window Title. You can then switch back to this window by using the Activate Window command found under the Windows/Programs commands. Check the Activate Window Only option and then enter your variable name in the Window Title box. You can use an If statement to handle the password box. It might look something like this: if Window Title "Enter Password" is on top Text Type: password end if if Window Title "Other Window" is on top enter your code here end if You could also use an Else command in place of the second If. It all depends on what exactly you want it to do.
  14. The default keystroke to stop a macro is Scroll Lock+Pause. You can change this by clicking Options, selecting Preferences and then choosing Playback from the list of options. You can also pause a macro by pressing the Win+` hotkey. This can also be changed from the Playback menu. If you wish to code a pause into the macro, you can do so by using the Pause command found under Timing in the list of commands in the Scripting and Direct editors.
  15. The Clipboard Type Text command will do this.
  16. Keylogger programs monitor the keyboard hooks, which Macro Express and any other macro program use. So unfortunately the answer is yes. This is one reason why we should keep our virus scanners and firewalls up to date.
  17. It may be running in hidden mode. The hotkey activation to open the Macro Explorer is Alt+Control+Shift+W.
  18. It is not. When you run the executable, it searches for a Macro Express instance before it starts up. If it finds one, it will activate that instance instead.
  19. Currently there is not a way to do this. The Macro Run command will launch another macro within your macro, but it will wait for the second macro to complete before it will resume the first macro.
  20. From the Help file. Items on web pages such as buttons and edit boxes are not actually controls, they are graphics. Macro Express will not be able to see them as the controls do not exist.
  21. There is no limit on the size of the variable, but if you use the Variable Set String command there is a character limit of 256.
  22. The macro will only activate in the window or program specified, but once the command to hold down the control key has been sent to Windows, it applies to all windows. The only way to release the control key is to either create another macro that will release the control key, or you will need to press the control key manually to release it. This is because Macro Express notifies Windows to hold down the control key, so once the command has been issued, it is Windows, not Macro Express holding down the key.
  23. You could try using the Repeat Until command. It might look something like this: Repeat Until %N1% > 0 get pixel color if pixel color = <color> %N1% = 0 if pixel color = <color> %N1% = 1 Repeat End N1 represents an integer variable. You would need to choose a location on the screen like the download status bar in the bottom left corner of your screen to check the pixel color.
  24. Searching for the text before the field and then tabbing in works for web pages, but if you are trying to access a field in a program, then that is usually not an option.
×
×
  • Create New...