Jump to content
Macro Express Forums

kevin

Admin
  • Posts

    1,950
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by kevin

  1. Try this: Copy first bit of data to clipboard Copy from clipboard to variable (%T1%) Copy second bit of data to clipboard Copy from clipboard to variable (%T2%) Switch to subsequent page Type %T1% Type %T2%
  2. You can copy or create a file with dates in the filename by placing the filename and, if needed, the filepath in a variable. You can do either of the things you suggest: Use the Date/Time command to get put the date into a variable in nearly whatever format you can think of. Date/Time: Save "yyyymmdd" into %T1% If you are using Windows XP/2000/NT with the NTFS file system you can use the Variable Set From File Date/Time command to get the file's creation, modified, or last accessed date. If you are using Windows Me/98/95 you can use the Variable Set From File Date/Time command to get the file's modified date. The Variable Set From File Date/Time puts the month, day and year in integer variables. These need to be converted to a string variable. Luckily, this is very simple: Variable Set From File Date/Time Variable Set String %T1% "%N1%%N2%%N3%" Then use the Copy File or Files command to copy the file.
  3. Another thing that may help is to tell Macro Express to wait a few seconds before loading when Windows boots. Check out the 'Wait for [ ] seconds' option under the 'Run on Windows' Startup' option found in Options, Preferences, Startup. The Macro Playback Speed only affects the Delay commands. Other commands always run at full speed.
  4. Windows only accepts keystrokes and mouse events (clicks & moves) for the window that has focus. However, you may have success using the Windows Controls. For an sample macro that demonstrates this, open the samples.mex file (installed with Macro Express) and look at the macro titled 'Calc ulator and Note pad' (this is the correct name). Here are some references with more information: http://www.macros.com/faq//2.22.html http://pgmacros.com/community/index.php?sh...6&hl=background http://pgmacros.com/community/index.php?sh...0&hl=background http://pgmacros.com/community/index.php?sh...2&hl=background
  5. In the Macro Express Explorer click File, Import, Import a Playable Macro.
  6. Windows only accepts keystrokes and mouse events (clicks & moves) for the window that has focus. However, you may have success using the Windows Controls. For an sample macro that demonstrates this, open the samples.mex file (installed with Macro Express) and look at the macro titled 'Calc ulator and Note pad' (this is the correct name).
  7. Either one is fine. I would lean toward: Text Type: <ALTD>m<ALTU>a instead of this: Text Type: <ALT><ALT>ma But only because that is closer to what I would type. I would be unlikely to press <ALT><ALT> when manually accessing a menu selection.
  8. The menus in many programs, including Macro Express, do not respond correctly when you do Text Type <Alt>m but it will work if you do Text Type <ALTD>m<ALTU>. Also, a small amount of delay is required in certain places. This macro works on my computer: // Launch the Macro Express Editor Macro Run: Run Macro Express Editor // Wait for the Macro Express window Wait For Window Title: "Macro Express -" Variable Set Decimal %D1% to 0.1 Variable Set Decimal %D2% to 0.5 // Navigate the menus Keystroke Speed: 10 Milliseconds Text Type: <ALTD>m<ALTU>a Delay %D2% Seconds // Click on activation type of ShortKey Mouse Move Window 42, 112 Mouse Left Button Click Delay %D1% Seconds // Tab to the shortkey field Text Type: <TAB> Delay %D1% Seconds
  9. To determine why Ctrl+Alt+Shift+W does not launch the Macro Express Editor, you may want to check the activation for the Run Macro Express Editor system macro. The activation for system macros can be changed. If changed, you will need to send a different hotkey to launch the Macro Express Editor.
  10. What you need is to create several scheduled macros. If you want macro 1 to run every 1 1/2 hours, then you could set its activation to 90 minutes. If, however, you want macro 1 to run at uneven intervals, you will need to do the following: - Create macro 1 and set its activation to 'No Activation' - Create macro 2 and set its activation to 'No Activation' - Repeat for as many macros as you want. - Create a scheduled macro and choose the frequency that you want it to run: daily, hourly, other, etc. - Place a Macro Run: macro 1 command inside this scheduled macro. - Repeat for as many schedules and macros as you need.
  11. Macro Express 3 does not allow you to set the font, size or color. We are considering this for a future version of Macro Express.
  12. Changes include: * Added Current Macro File to the Variable Get from Misc command. * Fixed a problem with the License dialog that occurred when the Windows DPI setting was set higher than 96DPI. * Fixed several bugs. Download it here. View a complete list of changes here. This upgrade is free for licensed Macro Express 3 users.
  13. You're going to make me feel bad about my computer. I only got 21332. Edit: Oh, now that's better. I disabled the Macro Priority feature by setting the Macro Priority to 0 (see TweakMe3.mxe available from www.macros.com/downmore.htm). This gives the most priority to macros. By default, the Macro Priority is set to 1000. With macros getting full priority I now get 164358. This is an interesting way to measure performance and the effect of the Macro Priority setting. Edit #2: I closed most of my windows and I made sure I didn't move the mouse around.
  14. Hi Lon, Macro Express does not have any commands to understand the binary format of a Word document. You can read the content of a Word document file into a string (T1) variable and you may be able to examine the contents of that variable. But, because the string variables are meant for Text, not binary, you may have problems reading the binary data this way. (I recall one customer having trouble but I do not recall the details.)
  15. How about this: Variable Set String %T1% from Clipboard Variable Set Integer %N1% from Length of Variable %T1%
  16. A Google search turned up tons of references. I found the following interesting: The full article can be found here. The full article can be found here. Read Microsoft's knowledgebase article titled 'How to Configure the IIS SMTP Service to Relay SMTP Mail' here.
  17. Thank you for sharing the solution.
  18. The example assumes the file extension is .csv. If the file extension varies, then you can use the Variable Set From File Path command to get the file extension and put it into a variable.
  19. Maybe something like this would work as a starting point: If File Exists "dailyreport.csv" Date/Time: Save "YYYYMMDD" into %T1% Rename File or Files: "dailyreport.csv" End If <IFOTH:01:2:x:\data\dailyreport.csv><DT:YYYYMMDDT:01:1:><DOFILE:06:NN:x:\data\dailyreport.csv>dr%T1%.csv><ENDIF>
  20. I wonder if the message is caused by the Windows Firewall. Does the title of the warning message provide a clue about which program is displaying the warning? Windows XP SP2 enables the Windows Firewall unless you are using another firewall program. I do not use the Windows Firewall if I remember correctly I read somewhere where one of the 'features' was the ability to detect if one process was trying to launch another and warn the user. I would look through the settings in Windows Firewall. If you can't find it, perhaps there is a forum where they discuss Windows Firewall? There is another possibility. When I download an installation file from the Internet using IE and then click on it to run it, a dialog comes up (sometimes after a long delay) that tells mentions the company name and whether a site certificate is valid. If I download using Firefox or Opera this does not occur. (There is a setting within IE to turn this feature off.) Were the Visual Foxpro programs downloaded via IE? More on Firewalls: Having a firewall is far better than not having one. However, the Windows Firewall does not protect your computer from processes that are trying to send information from your computer to the Internet (outbound). There are many other firewall programs out there, (some are even free for non-commercial use) that provide both inbound and outbound protection.
  21. The macro priority is most noticable with longer macros. It will not speed up a short macro. The only reason to increase the size of the cache is if your macro file is large. If your macro file is < 1 meg in size, then a cache value of 1024 makes sense. If your macro file is > 1 meg and < 2 meg in size then a cache value of 2048 makes sense. The only reason to set the cache to 4000 would be if your macro file approaches 4 meg in size. Enter -1 instead of 0 to turn the Macro Priority feature off. This will give the most priority to running macros. Doing this will cause Macro Express to use more CPU cycles. Icons in the system tray are controlled by Windows. If a program shuts down normally, then it will tell Windows to remove the program icon. When you terminate a program via the task manager or via the Terminate Process command, the program may not shut down gracefully. For example, there is no guarantee that files will be saved or even closed and the system tray icon may not be removed properly. I recommend that you use the Terminate Process command only as a last resort. Closing a program from its menu or by typing Alt-F4 is less likely to cause trouble.
  22. Here is another thing to try: Why don't you create another macro that doesn't have the special characters Ö, ~ and |. I would just try a sentence. Then see if it plays back correctly. If it works (eg types quickly), then the problem might be with one or more of the special characters.
  23. The line <REP3:08:000002:000002:0001:1:01:N1> is the command Repeat Until %N1% <> %N1% The problem that converted it to a Text Type could have been a conversion issue from either that line or the line above it. I am sure the macro was written with a later version of Macro Express. From time to time we have to make a change to fix a command. When we do, we are able to ensure that a newer version of Macro Express will properly read both the old and new form of the command but we cannot ensure that an older version of Macro Express will be able to understand the new version of a command. We recommend that you upgrade to the latest version.
  24. The only way the PIL message is generated is if someone has entered a stolen or fraudulent license code into the program. Read more information from an earlier post. The PIL message can be difficult to clear. If you contact Insight Software's Support Department (see www.macros.com/support.htm) they will verify your purchase information and forward additional steps describing how to clear the PIL message.
  25. Hi ladybug: cyberchief meant post a copy of your macro so we can see what it is doing. To do this, open the macro in the Macro Express Scripting Editor, highlight the lines in the macro, right-click your mouse and click 'Copy Command Text'. Then, in this forum, click the CODE button, type Ctrl+v (to paste) and click the CODE button again. Before seeing your macro I have a some more ideas in addition to cyberchief's suggestion: 1. Slow it down. This may seem counter-intuitive but some games and online systems try to detect and eliminate 'cheats' or someone using automation to speed up responses. When detected, the software slows down. If the chat software you are using has this 'feature' you may be able to use the Keystroke Speed command to tell Macro Express to type slower. If the keystrokes are typed slower, they may show up quicker in your Chat. 2. Upgrade your java runtime engine. If the chat room uses Java, then upgrading to the latest JRE may fix some problems. The latest Sun JRE is available here: http://java.sun.com/j2se/downloads/index.html. We have found that upgrading to the latest JRE has fixed problems reported by several customers.
×
×
  • Create New...