Jump to content
Macro Express Forums

stan

Members
  • Posts

    278
  • Joined

  • Last visited

Everything posted by stan

  1. If you want to contact us directly about pricing, you can send an email to info@wintools.com.
  2. We were hoping for a release today, but it's looking like tomorrow (Friday).
  3. This error occurs when the text you save to a variable contains a %something% string. This string causes the undefined variable error. Any pages copied to the clipboard that did not contain a string of %something% would not generate the error. The problem has been fixed.
  4. The time frame hasn't been determined yet. But the price will be in effect until at least the end of February.
  5. Terry, Though this is off topic, I will respond here. If you want to continue this line of conversation, please create a new topic. I copied your macro and pasted it into the Direct Editor. I didn't make any modifications to the macro and ran it. I ran it about 20 times and it worked correctly each time - responding correctly to yes or no.
  6. Cory, Do you have an example macro(s) of the Variable Save and Restore commands not working in the current version? We'll look at it and see if there is something else we're missing. I created a simple macro that generates several different variable types and then does a Variable Save. The second macro restores the variables and displays them in a text box. It has worked the dozen or so times I tried.
  7. Terry, I think you are misunderstanding how these command works. When you use the Variable Save command, the values for the variables are saved in virtual memory on your computer. Once you close Macro Express or shut down Windows, the values are lost. The variables are not automatically created in another macro when using the Variable Restore command. The values are available for use, grabbing the values from memory. These command work the same way in Macro Express 3. If you save variable T1, then just select variable T1 in the second macro. The only difference in the Pro version is with named variables. If you restore a named variable from macro 1, you will need to define it first in order to use it in the second macro. Hopefully this helps.
  8. My guess is that it is not a problem with the clipboard command. Macros generally run faster in Macro Express Pro. Most likely what is happening is that the paste is taking place before the window has focus. If you insert a Wait for Window command after the the Window Activate command, you should see it work correctly each time.
  9. This was a design change. Only clicking on the Save button will save the settings.
  10. If you can Tab to the check box, another option may be to use the browser's Find function (depending on how the page is written). Find some unique text located right before the check box. Then Tab once to the check box. You can quickly test this manually to see if it will work on the site before writing a macro to do it. Pressing the Space Bar once typically checks or un-checks the box.
  11. In the Scripting Editor click on the Debug menu. Turn off the Change Focus to Previous Window option. This should do what you need.
  12. My guess is that you are running another program that is conflicting with Macro Express. The other program is blocking the Windows keyboard hooks. Try closing other applications running on the computer. Test Macro Express after closing each program. I would start with small utilities that run in the background. See if you can determine what program is causing the problem. If this doesn't help, contact support at info@wintools.com.
  13. Excel does add extra characters when copying a cell to the clipboard. Most likely this is what you are seeing in your test. Copy a cell to the clipboard and save to a text string variable. Then use the Variable Modify String - Trim command. Save the variable to a text file - Variable Modify String - Save to Text File. Open in the Hex Editor and the 0D0As should be gone. Do the same thing without the Trim and you will see the 0D0As.
  14. When Vista originally was released, this command did not work. We made a change to fix this in a subsequent release of Macro Express. It looks like something has changed in Vista again that breaks this. We'll take a look at this and add a fix in the next release. For now, here is a low tech solution that will toggle the sound on or off. Move Mouse to Tray Icon: "Volume" Mouse Left Button Click Delay 250 Milliseconds Text Type: <ALT>m<ESC>
  15. Can you have the macro minimize your VB program window as the first step of the macro? Then the previous window should have focus.
  16. The "selecting" is the mouse highlighting the text in specific coordinates.
  17. Here is how I wrote the macro. It has worked every time I tried it. You may want to bump the milliseconds to 500 or more. With a larger number you should be able to see the mouse move to the first location and then to the second. Activate Window: "notepad" Wait For Window Title: "notepad" Mouse Speed: 250 Milliseconds Mouse Move Window 40, 705 Mouse Left Button Down Mouse Move Window 10, 510 Mouse Left Button Up
  18. I think you just need to slow down the macro. I inserted a 250 millisecond Mouse Speed command before the other mouse commands and this worked. You can experiment with the timing if necessary.
  19. No. Unfortunately, I'm not aware of any way for Macro Express to track a program's memory usage.
  20. Have you restarted Macro Express or rebooted your computer? Most likely this will take care of the problem. If not, close Macro Express - Editor and Player. Open My Computer to the folder where you installed Macro Express. Locate the macdef.exe file and double click on it. This runs a small utility to reset the program back to all of its default settings. Restart Macro Express and the problem should be gone. You will need to open Options | Preferences from the Macro Express - Explorer window and change back any settings you use that differ from the defaults.
  21. The menu is sorted by macro creation date. The first macro written and saved is the first one listed in the menu. The newest macro is added to the end of the list. Unfortunately there is not a way to sort this list.
  22. Yes, you should stick to the same thread. You are pasting from the clipboard. You need to play back the text of the variable. If the number sequence is saved to variable T1, then you need to enter %T1% in the Text Type command rather than <CTRLD>v<CTRLU>.
  23. I haven't looked at John's example, but here is how I would approach this. Variable Set String %T1% from Clipboard Variable Set Integer %N1% from Position of Text in Variable %T1% - Look for the position of the "-" in the text. Variable Modify Integer: %N2% = %N1% - 4 - Subtract 4 to find the last character before the number string. Variable Modify String: Delete Part of %T1% - Delete the text up to the number string - %N2% characters Variable Modify String: Copy Part of %T1% to %T2% - After deleting the string, copy the next 19 characters, the numbers plus dashes to variable T2. This will work if your text does not contain any other dashes before your number string. If it does, then you would need to put some logic in place to handle it.
  24. Use the Variable Set String command and save the clipboard contents to a text string variable. Then use the Replace Substring option in the Variable Modify String command. Variable Set String %T1% from Clipboard Replace "-" with "" in %T1% Replace the dash with nothing. This will change a string such as 123-7-7 to 12377. I assume that is what you are looking for.
  25. Below are the steps you need to take. Set the ASCII Values for Carriage Returns (13) and Lines Feeds (10) to text string variables. Consolidate the two into one variable with 13 followed by 10. Use the Replace Substring option to replace the consolidated variable (carriage return/line feed) with a space. Variable Set %T1% to ASCII Char of 13 Variable Set %T2% to ASCII Char of 10 Variable Modify String: Append %T2% to %T1% Replace "%T1%" with " " in %T10%
×
×
  • Create New...