Jump to content
Macro Express Forums

kevin

Admin
  • Posts

    1,950
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by kevin

  1. And you might need a delay at the top of the macro. What you are doing is trying to change the behavior of Windows. You may need to make sure Windows is done before setting the Z-Order.
  2. Right-click on the system tray icon. Click 'Tools'. Click 'Restore Toolbars'.
  3. This was an intentional design decision. Your request for a change entered in our Request a Feature page has been noted.
  4. At first I modified your macro to include a tab after each menu choice: Variable Set to ASCII Char 9 to %T[99]% Multiple Choice Menu: Grocery Categories <VARIABLE SET TO ASCII CHAR Value="9" Destination="%T[99]%"/> <MULTIPLE CHOICE MENU Style="\x01" Result="\x01" Dest="%T[2]%" Title="Grocery Categories" Prompt="Choose from Grocery Categories" Options="Dairy/Juice%T[99]%\r\nMeat/Fish/Chicken%T[99]%\r\nPasta/Bread/Grains%T[99]%\r\nFruits%T[99]%\r\nVegetables%T[99]%\r\nCheeses%T[99]%\r\nHousehold Items%T[99]%\r\nVitamins%T[99]%\r\nCat%T[99]%\r\nPersonal Care%T[99]%" Left="Right" Top="Bottom" Monitor="0" Width="265" Height="275" OnTop="FALSE"/> But that had the undesired effect of pre-checking all of the check boxes in the Multiple Choice Menu. Then I tried using another non-displayable ASCII char: Variable Set to ASCII Char 1 to %T[99]% Multiple Choice Menu: Grocery Categories <VARIABLE SET TO ASCII CHAR Value="1" Destination="%T[99]%"/> <MULTIPLE CHOICE MENU Style="\x01" Result="\x01" Dest="%T[2]%" Title="Grocery Categories" Prompt="Choose from Grocery Categories" Options="Dairy/Juice%T[99]%\r\nMeat/Fish/Chicken%T[99]%\r\nPasta/Bread/Grains%T[99]%\r\nFruits%T[99]%\r\nVegetables%T[99]%\r\nCheeses%T[99]%\r\nHousehold Items%T[99]%\r\nVitamins%T[99]%\r\nCat%T[99]%\r\nPersonal Care%T[99]%" Left="Right" Top="Bottom" Monitor="0" Width="265" Height="275" OnTop="FALSE"/> That method shows the spaces between variables. If, later in your macro, you need Tabs between the choices you can use the Variable Modify String: Replace command, like this: Variable Set to ASCII Char 1 to %T[99]% Variable Set to ASCII Char 9 to %TAB% Multiple Choice Menu: Grocery Categories Variable Modify String: Replace "%T[99]%" in %T[2]% with "%TAB%" <VARIABLE SET TO ASCII CHAR Value="1" Destination="%T[99]%"/> <VARIABLE SET TO ASCII CHAR Value="9" Destination="%TAB%"/> <MULTIPLE CHOICE MENU Style="\x01" Result="\x01" Dest="%T[2]%" Title="Grocery Categories" Prompt="Choose from Grocery Categories" Options="Dairy/Juice%T[99]%\r\nMeat/Fish/Chicken%T[99]%\r\nPasta/Bread/Grains%T[99]%\r\nFruits%T[99]%\r\nVegetables%T[99]%\r\nCheeses%T[99]%\r\nHousehold Items%T[99]%\r\nVitamins%T[99]%\r\nCat%T[99]%\r\nPersonal Care%T[99]%" Left="Right" Top="Bottom" Monitor="0" Width="265" Height="275" OnTop="FALSE"/> <VARIABLE MODIFY STRING Option="\x0F" Destination="%T[2]%" ToReplace="%T[99]%" ReplaceWith="%TAB%" All="TRUE" IgnoreCase="FALSE"/>
  5. Macro Express Pro v 4.1.7.1 Macro Express Pro v 4.1.7.1 is now available. This version includes the new MessageBox command, variable optimizations, improved help file and may other enhancements and bug fixes. For a complete list of changes, see the Macro Express Pro v 4.1.7.1 Release Notes. Download Macro Express Pro from the Macro Express download page.
  6. 1. From the Macro Editor click Options, Preferences, Scheduler and change the Timer Interval to 'Check every 1 seconds' 2. Create a scheduled macro, named YourSchedMacro for this example, that runs every 10 seconds (as described in previous posts). 3. Create a macro, activated by a hotkey, with this inside: If Macro "YourSchedMacro" Enabled Macro Disable: YourSchedMacro Else Macro Enable: YourSchedMacro End If When you press the hotkey to run the macro created in #3 it will toggle the scheduled macro. It will not stop the scheduled macro if it is currently running. In fact, you may have to press the hotkey to toggle more than once. Macro Express will only run one macro at a time and if the scheduled macro is currently running it may not respond to the hotkey to run the toggle macro. (Macro Express Pro does not have this limitation. It will run multiple macros at the same time.)
  7. The If File Exists should not abort the macro with a file doesn't exist message. The error is likely somewhere else in your macro. You could use the Debug feature of Macro Express to step through your macro to determine where the error is occurring.
  8. Macro Express 3.5e is not certified to work on Windows 7. Do this: Since you installed an incompatible version of Macro Express on your Windows 7 computer, your computer will contain several virtual areas in the registry and on the hard drive. These virtual areas are removed if you uninstall the latest version of Macro Express. Download the latest version of Macro Express from www.macros.com/download.htm and save it to your hard drive. Uninstall the previous version of Macro Express. Reboot (to remove parts of Macro Express that may still be running). Install the latest version of Macro Express (downloaded in step #1 above). Uninstall the newly installed version of Macro Express. This cleans up the virtual areas created by Windows. Reboot (again, to remove parts of Macro Express that may still be running). Reinstall Macro Express You will need to reenter the license information you received when you purchased a license for Macro Express and the preferences you may have set.
  9. Some programs treat a mouse click differently than a mouse click when the ALT key is held down. When your Alt-z macro sends the mouse click, WordPerfect sees 'Alt Key Down' and 'Mouse Click'. I do not know if this is the case with Word Perfect but it is a possible explanation. Try to see if Ctl+z acts the same way. Also you could see if using something like F11 works. If that works you might have success if you add a Text Type 'Alt-Up' to your macro before the mouse click command.
  10. Macro Express Pro also allows you to run more than one macro at a time.
  11. I suggest you start with the resources listed on the Macro Express Support page. There are links to tutorials, the help documentation and pages with sample macros. You could also look at the samples.mex file installed along with Macro Express. (If using Windows Vista or Windows 7 it works best if you copy samples.mex from the Macro Express program files folder to your My Documents folder.)
  12. Did you try this: <SHIFTD><ALTD><ARROW DOWN><ALTU><SHIFTU> or this <ALTD><SHIFTD><ARROW DOWN><SHIFTU><ALTU>
  13. Just to be clear, the Variable Modify Control command changes the control variable, not the Window Control within the other application. If the application accepts text via Window Controls you can send text to the control use the 'Send Text Directly to Control' option in the Text Type command. With most (all?) applications sending text to a control this way does not set focus to that control. The only way to tell how it is going to work is to try it.
  14. Create a variable to hold the array. When prompted to create the variable choose the number of elements. You may want to use a variable other than 'T' (T[1] .. T[9]), one that has meaning to you. Perhaps something like InputData. You can create the new variable by typing %InputData% into the 'Variable array to receive result:' field. Then when you click the OK button you will be asked if you want to create it. Click Yes, and then when the Variable Properties dialog comes up, click in the Create as an array and enter the number of Elements.
  15. Is the report written to a file? If so, use the Wait for File Ready command.
  16. Not exactly. Windows only allows input from the keyboard or mouse to one window at a time. But you can create a virtual session and run Macro Express that way. Using some virtual software, it continues to run when the session is minimized. Most virtualization software clients are free. Check out VMWare, Microsoft's Virtual PC, and Sun's VirtualBox.
  17. No. We did some experiments in the lab that were partially successful but when Windows Vista was released it broke all that we were working on.
  18. Here is a macro that may get you started: Variable Set Integer %Count% to 0 Repeat with Folder e:\temp Rename File/Files: "%FileName%" to "Blend_%Count%" End Repeat This is a macro I quickly threw together. I did not test it. It is meant to help you get started. Sample Rename files in a folder.mex
  19. To see what your macro is doing, use the built-in debugger. Click Debug, Debug Windows, Variable Values to bring up the Variables window. Then press the F8 key to step through your macro one command at a time. The Variables window will show you what is contained in each of the variables as a result of that step. For more information read the help topic Editor Menu - Debug. As has been mentioned earlier, Macro Express contains a number of commands that allow you to manipulate the contents of variables. There are very few things that cannot be done using the Variable Set and Variable Modify commands. (With the possible exception of processing large arrays, and that is handled by Macro Express Pro.) The help describes each of the options in these commands.
  20. This searches for a field titled 'Email address:' and then tabs to the edit box: Text Type: <CONTROL>f Text Type: Email address: Text Type: <ESC> Text Type: <TAB>myemail@wintools.com Try it, using Firefox, on our Request a Feature. The <ESC> closes the Find pane, like monpasdg suggested for IE.
  21. What happened when you tried it? Try Ctrl+f (note lower case). Try adding delays using the Delay command.
  22. I heard rumor that there will be no more development of AutoIt. I haven't tried to confirm, however.
  23. No. Use the Break command to terminate a repeat loop. Something like this: If Variable %N1% <> variable %N2% Break End If Variable Set Integer %N1% to 10203040 Yes. If Variable %T1% <> variable %T2% Break End If
  24. You can copy information from one application to another using the clipboard and associated macro commands. If the application writes information to a file, you can use macro commands to read the information from the file.
×
×
  • Create New...