Jump to content
Macro Express Forums

joe

Members
  • Posts

    1,002
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by joe

  1. Very true. Very powerful. I presume lack of documentation is because the developers of Macro Express assume the users have knowledge of the script language they are using. My company, PGM, uses the External Script command all the time: date/time calcs, regular expressions, Excel DOM, file data, and all kinds of wonderful things. The only way to halt the macro until you receive a return value from your external script is to use the "Save console output to:" field, which means that your script must write a value to the console. The value will be saved in the variable you choose. I use it to return results from any function in the four allowed script languages. To return multiple values use a tab-separated string and the set a MX Pro array from it. Of course there are other ways to return multiple variable values from a script: write them to a known location in the Registry, write them to a playable macro and then play the macro, and so forth. Your macro/script would need to store data for the HTA fields in, say, an INI file which can be read and written to by any of the script languages. There are other ways, of course, but this would seem to be straightforward.
  2. One solution is to replace each percent sign in the URL with a variable: <VARIABLE SET TO ASCII CHAR Value="37" Destination="%PCT%"/> <VARIABLE SET STRING Option="\x00" Destination="%T[1]%" Value="http://data.un.org/Data.aspx?d=MDG&f=seriesRowID%3a563%3bcountryID%3a100%2c108%2c116%2c12%2c124%2c140%2c152%2c156%2c170%2c178%2c180%2c188%2c191%2c212%2c218%2c222%2c231%2c24%2c246%2c250%2c276%2c288%2c300%2c308%2c32%2c36%2c384%2c4%2c40%2c50%2c56%2c64%2c68%2c70%2c752%2c756%2c76%2c818%2c826%2c84%2c840%2c854&c=2,3,4&s=_countryEnglishNameOrderBy:asc,year:desc&v=1"/> <VARIABLE MODIFY STRING Option="\x0F" Destination="%T[1]%" ToReplace="%" ReplaceWith="%PCT%" All="TRUE" IgnoreCase="FALSE"/> <WEB SITE URL="%T[1]%" Wait="FALSE" Default_Browser="TRUE" _IGNORE="0x000C"/>
  3. My understanding Cory is that it simply waits until the keyboard buffer is empty. I am guessing that MX Pro, like MX3, uses an API call to check for characters in the buffer. Most higher level languages like Delphi have the ability to run API calls. I cannot speak to Java Applets, but generally, this will not work on any program that bypasses the keyboard buffer, or uses its own.
  4. I have one in my Macro Explorer window. Are you sure that the column width has not been closed-up to the point that you cannot see it? If that is even possible.
  5. There are zero problems . MX Pro as well as MX 3 work beautifully with VMware. There are no pitfalls. There are no limitations. I don't know if there are better ones or not. I have been using VMware for years. As to the case study; I am using ESXi from VMware. It is a free bare-metal operating system for servers and is the ONLY way to go if you are going to have a server with different virtual machines running on it. The HP ML370 G5 server has ESXi running 24 virtual machines simultaneously. And each of them are running MX Pro for this and that and everything else.
  6. I don't know Cory, the percent sign is pretty common for script style programs as well as the dollar sign. The pipe and other keyboard characters would have their own baggage as well. Would something like this be possible to build a string? Variable Set String %T[1]% to "%" Variable Modify String %T[1]%: Append Text (T[1]%) What you end up with when MX Pro substitutes the variable %T[1]% is the string "%T[1]%".
  7. What is needed is a "where used" feature or a search feature that will look through all macros in all libraries currently loaded in the Macro Explorer.
  8. Yep ... appears to be missing as an option in MX Pro.
  9. Hey! It is missing. Well I'll be. Man, I'm going to miss that thing.
  10. Not sure if this has anything to do with it, but whenever an update is done all of my Macro Explorer column settings revert back to some sort of a default as if they were never saved. So maybe your problem is things are getting removed when a new install is done, too. I am only making a wild guess here. Grasping at straws as it were.
  11. According to the WhatsNew.txt it was fixed. Or something like it was fixed. If you are still experiencing it I would place another bug notification. Macro Express Pro v 4.0.1.1 6. Fixed a problem in the menu builder which would generate duplicate shortkey warnings when saving a menu. 46. Made a change to allow punctuation characters to be entered as a part of a shortkey activation.
  12. It is under the Timing category ... Wait for Mouse Cursor.
  13. It happens to me all the time, I just never reported it because it happens, or did happen, with a couple of other programs at diffrent times, too. Not being an expert in these things I simply assumed it to be a tick in Windows shutdown procedures. I could be wrong. Probably am wrong.
  14. Cory I'm confused. Isn't getting the date and time from a file exactly what the Variable Set From File does? What point am I missing?
  15. Well here is something you can use. The attached zip contains both an executable and a Macro Express Pro library file (mex). Have at it. From the Notes tab of the macro: {Taskbar Client Desktop Metrics} Returns taskbar and client desktop metrics to MX Pro. Client desktop metrics exclude space used by the taskbar if it is visible. Macro author: Joseph Weinpert (Macros Limited LLC) Executable by: Floyd P Watergil (Macros Limited LLC) based on code writtten by Bruce Huber Released: Jan-25-2009 Known issues 1) Can produce strange but understandable results when using multiple monitors if the taskbar is positioned off of the primary monitor. 2) Not tested with Vista but should be okay. Runtime program locations We keep executable programs such as this within the Macros Limited LLC subfolder %MacrosLimitedPath% but it doesn't mean that you have to. Feel free to place them wherever it suits best. Just be sure to change the required variables in the script. Return value MX Pro launches the executable and then waits for a string to be returned from it, which takes only a couple of milliseconds. The return string is a locally scoped variable named %returnValue% that contains 10 elements separated by commas. The first 6 elements are metrics about the taskbar. The last 4 elements deal with the client desktop metrics. Taskbar - 1. Visible or Hidden 2. Positioned Left, Right, Top, Bottom, or Unknown 3. X position 4. Y position 5. Width 6. Height Client desktop - 7. X position 8. Y position 9. Width 10. Height Notes 1) If the taskbar is hidden the width and height of the client desktop will match that of the whole desktop. 2) The whole desktop size is inclusive of all monitors. TaskbarClient.zip
  16. ... and to all a Happy New Year! - Joe
  17. ... and to all a Happy New Year! - Joe
  18. The allowable choices have doubled in size to 72. The sequence is A-Z, 0-9, AA-ZZ, and 00-99. There is a question of whether or not you can go beyond this limit because there seems to be a bunch of blank lines at the tail end that can also hold values. My testing proved inconclusive, but for sure there are at least 72 allowable lines.
  19. Alas, it is not built in to this release of Macro Express Pro and I do not know if it is planned for any future build. However, it is being considered as part of our (Professional Grade Macros) Macro Express Extended Library product, which is the name of the next generation PGM Functions Library. The release date is still to be determined. We have a ways to go.
  20. After trying your code it is unclear whether this is a design change to the command or a bug. I suspect it's a bug. The work-around is to enter a character (any character) and then a backspace. The OK button will remain enabled, which is what leads me to suspect a bug.
  21. Welcome to the Macro Express Pro forum! Congratulations to the great folks at Insight Software Solutions, Inc. for the development of this superior product. I was honored to be an alpha and beta tester for Macro Express Pro and am happy to invite all of you Macro Express 3 users to a new and wonderful automation tool. Have at it. - Joe
×
×
  • Create New...