Jump to content
Macro Express Forums

jason

Members
  • Posts

    287
  • Joined

  • Last visited

Everything posted by jason

  1. Try copying the contents of the page to the clipboard, and then use the If Clipboard Contains command. You may also have some luck in programming the macro to use the Find command within your browser. You would need to set the macro up to press Cntrl+F to activate the Find window followed by a Text Type command to enter the search criteria and pressing the Enter key to begin the search. From here, the browser programs act differently. If you are using Internet Explorer, a window will appear to tell you that the text could not be found. If you are using Firefox, than the color in the search box changes. You will need to set your macro up to detect the change that is correct for your browser.
  2. You could enter the If Variable command into a loop: Repeat Until %N1% = 11111 Get Pixel Color End Repeat Just make sure to set the variable in Get Pixel Color to the same variable that you are using to compare in the Repeat Until command.
  3. If you can capture the number that it displays, you should be able to assign that to a variable which could then be used in the counter for the loop.
  4. There is no trigger to watch for new mail, so your options would be to either set the macro up on a schedule to check every so often, or to manually launch the macro when you see new mail.
  5. Unfortunately Macro Express there is not a way for Macro Express to log a user in from the Windows Login screen.
  6. The Variable Set Integer command insures that the variable is indeed set to 0 before it enters the loop. The Repeat Until N1 = 1 will continue repeating as long as N1 = 0. The If Clipboard = "" checks to see if anything is on the clipboard. If there is, than the If statement is bypassed. If the clipboard is empty, than the Break command is issued to exit the loop. You could also use the Variable Modify Integer command here to add 1 to N1. Doing this would set variable N1 to 1 which will then cause the repeat loop to end because N1 no longer equals 0. Having never used LotusNotes, it may be possible that you need to issue a Clipboard Empty command at the end of the loop to insure that it does not leave anything on it making the If statement nul.
  7. You will need to use the Get Pixel Color command to capture the color at the location. The value is stored in an integer variable that you can then compare. Get Pixel Color If %N1% = XXXXX Do this End If If %N1% = YYYYY Do this End If You can use the Mouse Locator to determine the colors.
  8. Macro Express does not currently have the ability to wait for a sound. Is there anything that changes on the window after the sound has played? If so, you may be able to use the Get Pixel Color command to determine a change as a specific coordinate on the window. You may also be able to use the If Mouse Cursor to detect when the mouse cursor changes.
  9. You will need to import the Embedded Macro into your macro file, this can be done by: 1- Downloading the macro to your hard drive. 2- Load Macro Express and click on File. 3- Select Import and then Import Macros from the drop down list. 4- Browse to the location where you saved the macro to your hard drive. 5- Highlight the macro and then click on the Open button to load the macro into the Import window. 6- Highlight the macro and then press the import button to load it into your current macro file. From here you should be able to locate the macro in your macro list. 1- Double click on it to open it in the Scripting Editor. 2- Locate the Macro Run command and double click on it (it is on line 9). 3- Find your macro in the list of macros. If you use categories, you will need to select the category that your macro is stored in to find it. 4- Highlight your macro and press the OK button. You will also need to select an activation for the macro by clicking on the Properties Tab above the list of commands on the left as the default activation is set to None.
  10. Remove the Repeat Start and Repeat End commands from your macro and then save the macro. In the attached macro, change the Macro Run command to launch your macro. This should accomplish what you need. Embedded_Macro.mex
  11. Try this: Variable Set Integer %N1% to 0 Repeat Until %N1% = 1 // Enter Code Here If Clipboard Text Equals "" Break End If Repeat End
  12. Feature requests for Macro Express should be made at: http://www.macros.com/requestfeature.htm. The development team reviews all requests for viability in the program.
  13. Macro Express sends messages to Windows to release the control keys after the Alt, Control, Shift or Win key have been pressed, however, Windows is not always in a position to receive these messages. We have found that it is sometimes best to issue an Alt Up, Shift Up, etc... at the end of a macro if these keys have been used in the macro.
  14. We have not been able to replicate the issue here. Is there any way you can send a screen shot? If not, you should try contact Insight Software Solutions support directly at info@wintools.com.
  15. Hi, Try something like this: Variable Set Integer %N1% to 0 Variable Set Integer %N2% to 0 Repeat Until %N2% = 5 Repeat Until %N1% = 5 If Variable %N1% = 5 Wait Time Delay 120 Seconds Variable Set Integer %N1% to 0 End If Text Type: Enter your keystroke here<ENTER> Mouse Move Screen 0, 0 Variable Modify Integer: %N1% = %N1% + 1 Repeat End Variable Modify Integer: %N2% = %N2% + 1 Repeat End You will need to tweak the macro to do exactly what you need it to do for the keystroke and mouse move, but the timing and repeats should work as is for you.
  16. Unfortunately there is not an easy answer for this as the routine is different for each program. It looks like you have figured out most of the program with the exception of figuring out if there is any new mail. This can be done by checking screen coordinates for a signal on the first line of the mail list in some program (e.g. some programs will show a blue dot in the unread field if the mail has not yet been open, a quick look to see if the pixel color in that location is blue would indicate that there is new mail). It may also be possible to use the registry if your program uses the option to display the number of unread e-mail on your logon screen. The registry location that the number is stored is: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\UnreadMail. You may be able to set up a repeat loop based on the number listed in this key.
  17. There is not a way to define scope by class.
  18. We don't see this often, but we have heard of it before. There are three possibilities that I can think of right off. The first is that there is another program running that uses these hotkey. It is also possible that this software came pre-installed on the computer if this is the case. The second option is that some computers (mostly laptops) hard code some keyboard combinations. If this is the case, there is unfortunately nothing can be done. The last option pertains to custom keyboards. If you are using a non-standard keyboard, this could also cause this issue.
  19. How are you planning on transferring the information? If you want Macro Express to read the information from the web page itself, you can simply assign the information to variables. If you want Macro Express to read the information from a file created by the users input, than you can use the ASCII File Process commands.
  20. You may want to check out the PGM Functions library. It has many date macros including this feature. You can read more about it at: http://www.pgmacros.com/date_and_time.htm. If you wish to enter a feature request, please use the Insight Software Solutions request page at: http://www.macros.com/requestfeature.htm.
  21. Unfortunately, web pages do not contain window controls. They are actually rendered as graphics. If there is nothing that is reliably in place every time (e.g. text before box, screen location etc...), than Macro Express will not be able to reliably move to desired location.
  22. Please refer to the following topic for your answer: can i define the macro to take anyhthing between a-z
  23. I'd try something like this: If Variable %T1% = "A" OR If Variable %T1% = "B" OR If Variable %T1% = "C" // Enter remaining IF and OR statements Clipboard Copy // Enter code to process clipboard information Else Macro Stop End If
  24. Without more information, it is difficult to say exactly what to do, but you could try having it paste the necessary information to the clipboard, assign it to %T1% and then do an if variable contains command to tell the macro what to do next. if variable T1 = My Documents Open Folder: My Documents end if if variable T1 = My Computer Open Folder: My Computer end if etc...
×
×
  • Create New...