Les Hazlett Posted August 16, 2004 Report Share Posted August 16, 2004 Macro Express is an impressive software package. After nearly a year and over a hundred working macros, I found my first ME Bug. I reported it to Insight. The bug is minor and easy to work around. FYI - When using Date/Time Save with a "h:mm:ss" format, the proper hour, minute, and second are returned. When you shorten the format to "mm:ss", the mm is interpreted as month and I get an 08 rather than the munute. I am attaching a test macro that vividly displays this bug. Les Hazlett Timing.mxe Quote Link to comment Share on other sites More sharing options...
floyd Posted August 16, 2004 Report Share Posted August 16, 2004 Les, Nice catch Les! And thanks for the info. I do not think, however, that Insight will consider this a bug. The help file says: mm Displays the month as a number with a leading zero (01-12). If the mm specifier immediately follows an h or hh specifier, the minute rather than the month is displayed. In other words, if I am reading it correctly, mm is always considered to be a month unless it is preceded by an hour hh or h. Quote Link to comment Share on other sites More sharing options...
Les Hazlett Posted August 16, 2004 Author Report Share Posted August 16, 2004 Thanks Floyd for pointing me to the documentation. I hadn't seen it and followed the notation in the drop down list. The drop down list shows MONTH to be M or MMMM and MINUTE to be mm. When I selected (h:mm:ss AM/PM) in the drop down list, and edited it to eliminate the fields that I didn't need, I ended up with (mm:ss). It seemed reasonable that this would work or that there should be someway to ask for minutes without asking for hours. Guess not. Les Quote Link to comment Share on other sites More sharing options...
Linda Posted August 16, 2004 Report Share Posted August 16, 2004 If it helps, the "Variable Set Integer" command, on the option 2 pane, allows you to set a variable to the current minute (0-59), or to the current second. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.