Jump to content
Macro Express Forums

stevecasper

Members
  • Posts

    570
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by stevecasper

  1. Well, even if I wasn't able to hand it to you baked and frosted, I'm glad I was able to give you a recipe to work with (I know, weird cake analogy...)
  2. Assuming the "Login Successful" text is in the window title: Wait For Window Title: "Login Successful" <WAITWIN2:000010:000000:Login Successful> If the text is only in the body of the window, the macro gets a lot more complicated (consisting of highlighting the entire page, copying it, saving it to a Text Variable, checking the variable for the text "Login Successful", and then repeating). A Get Pixel Color or other wait-type command will be considerably less messy. You could, perhaps, view the source and check it for the "Login Successful" text, but again, it will consist of a repeat loop that will be much less noticeable with a Get Pixel Color command. I suppose it would help if I were a telenet user (or even knew what it was - I'm assuming a dial-up internet service), because then I could see what the process is actually like and do some tests to find the most efficient method... but as it is, I can only go on my personal experiences with inconsistent window-loading times. Window Title and Web Page Loading are the two I use most often, but since I started using Get Pixel Color commands, I've found them to be as effective (more effective when dealing with non-web applications or windows that have the same title as others open). Another option that I've never used, but may work for you, is the Wait for cursor change command (assuming your mouse pointer changes from an arrow to an hourglass (or other customized pointers) while the login is in process, and then changes back once the login is successful.
  3. You actually have several options under the Timing category. Wait for Control, Wait for Window Title, Wait for Web Page, but one option that seems to be successful most often for most people is not a Timing command at all: Get Pixel Color First you want to establish what color the telnet prompt is once it has finished loading. So you can either build a simple macro like this: Get Pixel: Window Coords: 409,313 into %N1% Text Box Display: Pixel Color (This assumes the prompt or change that tells the macro the telnet page has finished loading is at location 409, 313) Make sure the text box displays %N1%... that's the color you want to write down. Or you could just launch the Mouse Locator tool (accessible from the Move Mouse command), which can tell you the pixel color under the mouse pointer. Now for your macro. Where you need the macro to wait, you'll script it something like this: Variable Set Integer %N2% to 123456789 Repeat Until %N1% = %N2% Get Pixel: Window Coords: 409,313 into %N1% Repeat End For my example I set N2 to 123456789 though the color you're waiting for will certainly be different. This code will cause your macro to loop, checking the pixel color at the coordinates you select (409,313 for my example) over and over until the color matches the color indicating the page is finished loading. At that point, the loop will end and the macro will continue on. There may be a more elegant way of doing this, but this method has been very successful for me when I've need to wait and the wait fors weren't quite cutting it. Here's the actual code for the script above: <IVAR2:02:01:123456789><REP3:08:000001:000002:0001:1:01:N2><GETPX:1:W:000409:000313><ENDREP>
  4. Terry and Cory, Nah it's not a cache issue... the first screenshot is taken from the IE window loaded when "Check for Update" is clicked from version 4.0.0.1 and the second screenshot is taken from the page loaded after updating. It happened on my home computer last week when the update was first released, and again just before/during/after updating my work computer's instance. Two different computers, several days apart, one running Vista Ultimate, the other running XP Professional (not that the OS would have anything to do with it). The Check for Update link simply pulls up the web page dedicated to the MEP version running when the link is selected. They have, in fact, different URLs (which you can access directly through your browser URL field, too, if you want): http://www.macros.com/upd/mepv4_0_0.htm http://www.macros.com/upd/mepv4_0_1.htm IMO the first one should be altered to direct the user to download the current version of MEP rather than saying it is the most up-to-date. To be most concise: When running version 4.0.0.1, the Check for Update opens "http://www.macros.com/upd/mepv4_0_0.htm" which indicates 4.0.0.1 is the most current. When running version 4.0.1.1, the Check for Update opens "http://www.macros.com/upd/mepv4_0_1.htm" which indicates 4.0.1.1 is the most current. ...mepv4_0_0.htm needs to be edited to indicate 4.0.0.1 is out of date and direct the user to the downloads page to update their version.
  5. This one has been bothering me, too. Just been too lazy to report it yet. Thanks for taking care of it for me, Terry
  6. It really isn't that much of a problem to code this. If I understand what you're trying to do, you're saving the hours or minutes to an Integer variable that you are then using the Text Type command to type it out, and you want to avoid having code that types 0 before typing %N1% (or whichever integer variable you're using). Unfortunately, integer variables can't have leading zeroes, so you'll either need code that says, as you indicated: If %N1% <= 9 Text Type 0%N1% Else Text Type %N1%. End if As is, this should work fine and not be a problem; however, depending on what exactly you are trying to accomplish, or depending on the particular needs of your macro, you might want to convert the %N% variable into a %T% variable as I've done below (this is more complicated than the simple If/Then from up above, but it is also a little more versatile - and provides the same results): Variable Set Integer %N1% to 2 Variable Set Integer %N1% from Prompt Variable Modify Integer: Convert %N1% to text string %T1% If Variable %N1% <= 9 Variable Set String %T2% "0" Variable Modify String: Append %T1% to %T2% Variable Set String %T1% "%T2%" End If Text Box Display: T1 <IVAR2:01:01:2><IVAR2:01:02:FEnter ValueFFCenter:Center><NMVAR:05:01:0:0000001:0:0000000><IFVAR2:2:01:6:9><TVAR2:02:01:0><TMVAR2:08:02:01:000:000:><TVAR2:01:01:%T2%><ENDIF><TBOX4:T:1:CenterCenter000278000200:000:T1%T1%> Of course, in lieu of the Text Box Display that I used, you'll want to use Text Type %T1%
  7. Before upgrading at home, I had been checking through the "Check For Updates" menu selection under Help -> On the Web in the ME Explorer window. Even after the new update was released and posted about in this forum, the "Check for Updates" simply opened this window: So I ended up having to update through the link in the forum (not difficult, but ironic considering the forum isn't operated by ISS). Now that I'm upgrading at work, I checked again, same results as from home. After updating, the Check for Updates link displays: I don't think this is necessarily a bug with MEP, however it is confusing when the "CfU" option tells you your current build is the most up-to-date when, obviously, it is not. Just wanted to pass this along to Kevin, Stan, et al. who might know (or be) the person that could fix this little quirk.
  8. Wow... that would be some sledge-hammer. If I were a tad more organized, I'd just keep a running spreadsheet. Unfortunately, when we first got ME here at work, I wasn't the point-person (despite being the only person in the department with any experience with ME), so I only built macros for myself, and occasionally helped the actual point person when he asked for it. So I didn't bother keeping track of anything, since I thought he was (I was mistaken)... Now he's moved on to another job, leaving me on point but without any documentation... in fact, my work with ME is essentially pro bono. I don't get special time to build, filter, document, organize or anything. So, my macros continue to be built according to my personal needs when I can spare a minute or 20, and roll out very sporadically (if ever). They tell me my macros are important to the success of the team, but they don't really show it... Anyway that's a personal gripe. Bottom line: I don't have time to go through every macro and index them. There are some processes that need tweaking so I'm very slowly copying most of my macros from ME3 to MEP by hand, one line at a time, in order to streamline some of my older macros that were built inelegantly (plus this way I can make hefty use of the unlimited variables MEP offers). I'm using this opportunity to pay more attention to which macros are being called by which other macros... but it sure is tedious.
  9. Ahhhh, I'm slow, but I get there eventually. Thanks, Floyd!
  10. I can confirm that the Wait for Mouse Cursor command is located under the Timing category (by default). It is its very own command in Macro Express Pro and is located between Wait for Middle Mouse Click and Wait for Not Mouse Cursor - just a little past half way down the Timing category menu.
  11. I have a number of macros that I use as a base for making certain adjustments. One example: a prompt asks for a dollar amount. If the user inputs "25" for "25.00" my macro will know to add the ".00" automatically, additionally if the amount is "2500", the macro will convert it to "2,500.00", adding a comma as well as the .00. This basic function is required for a number of macros that I use at work, and so I just use a "Run Macro" command within all these various other macros. Occasionally I give a macro a name like "Test File Repair" so I know it's just a test macro while I work with it and "beta test" the functionality before I roll it out to other users. Once that's done, I need to change the macro name, otherwise I may end up several months later with "Test File Repair 2" etc. and it gets cumbersome and confusing. So when I have half a dozen macros or more calling "Test File Repair," it can sometimes get confusing or I just plain forget which macros or how many macros are actually calling this one. So occasionally, I change the name, change the Run Macro in as many of the other macros as I can remember, and then continue testing for a few more days to see if I get any "Macro 'File Repair' could not be found, Macro will be aborted" errors (indicating a macro whose "Macro Run" was not changed for the new, Final, macro name. Now that I've gotten that long-winded background out of the way, is there any function in ME Pro that I haven't found yet, that will list all the macros which call a specific macro? Like if I were to right-click on the macro in the Explorer window and select "Macros Calling This One" menu (I know that particular method won't work). If not, I know a feature I'm going to submit a request for. Anybody know anything about the possibility of this feature's existence?
  12. Hi Terry, I don't have access to FF at work, so I can't be a whole lot of help here, but 1 and 2 should be fairly simple to write a macro for (as Mozilla Firefox will be in the title bar if an active FF browser is running). However, I don't know of any way to detect which pages are open in tabs not currently active. If there is a way to do that, I would also be very interested in finding out how. I don't use FF as much as I used to, but if it's possible in FF then it probably is in IE, Opera, and Chrome, too. Could be a very useful tool.
  13. Very basically, you're going to want something that looks like this: Date/Time: Set %dtvar% to a user prompted date/time Variable Set Integer %N[1]%: Prompt If Variable %N[1]% Is Greater Than or Equal To "5" Variable Modify Integer: %N[2]% = %N[1]% / 5 Variable Modify Integer: %N[3]% = %N[2]% * 2 Variable Modify Integer: %N[1]% = %N[3]% + %N[1]% End If Variable Modify Date/Time: %dtvar% = %dtvar% - %N[1]% Days Text Box Display: Results <DATE/TIME Format="dddd, MMMM dd, yyyy" Flags="\x93" Date="1/21/2009 5:13:34 PM" Day_Offset="0" Month_Offset="0" Year_Offset="0" Hour_Offset="0" Minute_Offset="0" Second_Offset="0" Prompt="What date?" Left="Center" Top="Center" Monitor="0" Variable="%dtvar%" IsDateVar="TRUE"/> <VARIABLE SET INTEGER Option="\x01" Destination="%N[1]%" Prompt="How many days back?" Mask="FALSE" OnTop="FALSE" Left="Center" Top="Center" Monitor="0"/> <IF VARIABLE Variable="%N[1]%" Condition="\x04" Value="5" IgnoreCase="FALSE"/> <VARIABLE MODIFY INTEGER Option="\x03" Destination="%N[2]%" Value1="%N[1]%" Value2="5"/> <VARIABLE MODIFY INTEGER Option="\x02" Destination="%N[3]%" Value1="%N[2]%" Value2="2"/> <VARIABLE MODIFY INTEGER Option="\x00" Destination="%N[1]%" Value1="%N[3]%" Value2="%N[1]%"/> <END IF/> <VARIABLE MODIFY DATE/TIME DateVar="%dtvar%" Option="\x01" LeftVar="%dtvar%" RightVal="%N[1]%" UseInteger="FALSE" MathOpt="\x00"/> <TEXT BOX DISPLAY Title="Results" Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Tahoma;}{\\f1\\fnil Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs16 D/T = %dtvar%\\f1 \r\n\\par }\r\n" Left="Center" Top="Center" Width="278" Height="200" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x00" Delay="0"/> Of course, this assumes the date you're putting in at the prompt is a week-day. Basically what the macro is doing is taking the number of days you want to backtrack, and then adding 2 days for every 5 (since for every 5 weekdays, there are 2 weekend days, so if the day you start counting back is a Monday, and you count back 5 days, well, 5+2=7, so you end up with Monday as the day 5 weekdays earlier). This will also only really work 100% if you're counting back by multiples of 5. Other variations could land you on a weekend. It would take quite a bit more code to fix that... or code that I'm not familiar with right now. Or a trick... or better math, maybe? Anyway, at the very least I hope this code helps you (or somebody else in the forums) to get the ball rolling.
  14. To help us understand what might be going wrong, please provide the macro code inside [ codebox ] and [ /codebox ] tags (remove the spaces).
  15. Which is exactly what I was thinking... A cool back-door way to determine it would be interesting. Terry's suggestion seemed pretty good, though I honestly get nervous when dealing with registry keys. I don't understand them well enough to mess with them (if I broke something, I wouldn't know how to fix it). At the very least, a series of Get Pixel Colors that check the bottom-left then the top-left corners for the Windows Logo. Check for the red, green, blue, and yellow squares in their usual places. If any of them fail in the bottom-left, check the top-left, if any of them fail, then it stands to reason that the task bar is hidden. Maybe preempt the Get Pixel search with a mouse move to the center of the screen to make doubly sure the mouse isn't hovering in that area, causing the bar to pop up.
  16. The problem you're experiencing is that N1 will ALWAYS equal N1, even if N1 changes within the repeat, when the Macro checks to see if N1 equals N1, it will... because N1 = N1 What you want to do is something along these lines: Get Pixel: Screen Coords: 424,432 into %N1% Repeat Until %T1% <> %T1% Get Pixel: Screen Coords: 424,432 into %N2% If Variable %N1% <> variable %N2% Break End If Repeat End <GETPX:1:S:000424:000432><REP3:08:000002:000001:0001:1:01:T1><GETPX:2:S:000424:000432><IFVAR2:5:01:2:N2><BREAK><ENDIF><ENDREP> This way the macro will repeat until N1 does not equal N2, because N1 is set before the Repeat Loop begins, it will never change. N2, on the other hand, will only equal N1 until that pixel changes, at which point the Loop will break, and the rest of the macro can continue. Also, you can add a sound to the macro using the Sound Beep command or the Sound Wave File command (located under the Multimedia category by default).
  17. Hi Terry, I wonder if it's just a Time Zone issue. When I look at Kevin's post it says: "Posted Yesterday, 05:32 PM" (Yesterday being Monday the 19th) and when I look at your post wherein you quote that very post it says: "QUOTE (kevin @ Jan 20 2009, 12:32 AM) " So the date you see (and therefore the date that gets quoted) is based on your time zone (GMT). My time zone is GMT -7, so I see 5:32 PM. So Kevin posted his comment at 5:32 PM GMT -7 on Monday 19 January (which is 12:32 AM GMT on Tuesday 20 January). If a post is made at 12:30 AM it stands to reason that the post would be there 6 1/2 hours later (at 7 AM) as well as at 10:06 am. I wonder if you possibly have confused 12 AM and 12 PM?
  18. This information was part of a different thread. Couldn't hurt to move it into a thread more-or-less dedicated to the question:
  19. Like Terry I'm not 100% convinced I understand what you're trying to do, but I think I may be interpreting your needs differently than him. Here is my suggestion: Variable Set Integer %Minutes[1]%: Prompt Variable Modify Integer: %Minutes[2]% = %Minutes[1]% * 60 Date/Time: Set %T[1]% to an adjusted date/time using "h:mm AMPM" as the format Repeat Until %T[1]% Does not Equal "%T[1]%" // Macro Code Goes Here: The following is only a sample, yours doesn't have to look like this. Get Pixel Color from Beneath the Mouse into %N[1]% Text Box Display: Color Delay: .5 seconds Text Box Close: Color Date/Time: Set %T[2]% to the current date/time using "h:mm AMPM" as the format If Variable %T[1]% Equals "%T[2]%" Break End If End Repeat <VARIABLE SET INTEGER Option="\x01" Destination="%Minutes[1]%" Prompt="How long should this macro run? (In minutes)" Mask="FALSE" OnTop="FALSE" Left="Center" Top="Center" Monitor="0"/> <VARIABLE MODIFY INTEGER Option="\x02" Destination="%Minutes[2]%" Value1="%Minutes[1]%" Value2="60"/> <DATE/TIME Format="h:mm AMPM" Flags="\xB2" Date="1/19/2009 8:47:41 AM" Day_Offset="0" Month_Offset="0" Year_Offset="0" Hour_Offset="0" Minute_Offset="0" Second_Offset="%Minutes[2]%" Left="Center" Top="Center" Monitor="0" Variable="%T[1]%" IsDateVar="FALSE"/> <REPEAT UNTIL Variable="%T[1]%" Condition="\x01" Value="%T[1]%"/> <COMMENT Value="Macro Code Goes Here: The following is only a sample, yours doesn't have to look like this."/> <GET PIXEL COLOR Option="\x00" Rel_To_Screen="TRUE" Destination="%N[1]%"/> <TEXT BOX DISPLAY Title="Color" Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Tahoma;}{\\f1\\fnil Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs16 %N[1]%\\f1 \r\n\\par }\r\n" Left="Center" Top="Center" Width="278" Height="200" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x02" Delay="0"/> <DELAY Flags="\x01" Time=".5"/> <TEXT BOX CLOSE Header="Color"/> <DATE/TIME Format="h:mm AMPM" Flags="\xB0" Date="1/19/2009 9:30:40 AM" Day_Offset="0" Month_Offset="0" Year_Offset="0" Hour_Offset="0" Minute_Offset="0" Second_Offset="0" Left="Center" Top="Center" Monitor="0" Variable="%T[2]%" IsDateVar="FALSE"/> <IF VARIABLE Variable="%T[1]%" Condition="\x00" Value="%T[2]%" IgnoreCase="FALSE"/> <BREAK/> <END IF/> <END REPEAT/> Minutes[1] = the minutes you want the macro to run for Minutes[2] = the number of seconds Minutes[1] is equal to You could tweak the adjusted date/time however you see fit, I just went with what was simplest for me and my test macro.
  20. Basic of the basics, do this: Text Type: <CONTROL>a Clipboard Copy Variable Set String %T1% from Clipboard Variable Modify String: Delete Part of %T1% Text Type: %T1% <TEXTTYPE:<CONTROL>a><CLIPC><TVAR2:01:03:><TMVAR2:11:01:00:001:002:><TEXTTYPE:%T1%> Of course, depending on how the list is accessed (example in a program menu list vs. a list in a .txt or .doc file), you'll need to add various other commands to make sure you get each line separately, but essentially, this is what you're looking for. EDIT Here is a real-world example of a macro I built to rename the files of a book on CD that I ripped in order to listen to it on my SanDisk player. (Note: this macro is a lot shorter without all the Remarks) // First, I make sure the top file is highlighted (I do this manually rather than using the macro) // Repeat until all files have been renamed. Repeat Until %T1% <> %T1% // Alt+f opens the File menu. M opens the Rename window: Text Type: <ALT>fm<ENTER> Clipboard Empty Clipboard Copy Variable Set String %T1% from Clipboard // This book uses the - (hyphen) character to separate the Title, author, etc.from the track number. // If there is no hyphen, then I've reached the bottom of the list (an Icon file). // So if there is no hyphen, the macro can end. If Variable %T1% does not contain " -" Break End If // I want to keep the track information, but don't want all the rest of it. Variable Set Integer %N1% from Position of Text in Variable %T1% Variable Modify String: Delete Part of %T1% Variable Modify String: Trim %T1% // Now I'm going to compare this track to the last track processed (saved in %T2%) // If this is the first run, then %T2% is blank. However, if T1 = T2, I know I have // already done this track, so either the macro failed, or I'm at the end. If Variable %T1% = variable %T2% Break End If // Now I want to clear the track name, and put in my own track title that I'll be able to // read on the tiny Sansa screen. Text Type: <DELETE> Text Type: WS Disk 01 - %T1% // And finally, I <ENTER> to save the new track name, // and arrow down to the next item in the list. Text Type: <ENTER><ARROW DOWN> // Now I set T2 to T1 (as explained above). Variable Set String %T2% "%T1%" Repeat End <REM2:First, I make sure the top file is highlighted (I do this manually rather than using the macro)><REM2:Repeat until all files have been renamed.><REP3:08:000002:000001:0001:1:01:T1><REM2:Alt+f opens the File menu. M opens the Rename window:><TEXTTYPE:<ALT>fm<ENTER>><CLIPE><CLIPC><TVAR2:01:03:><REM2:This book uses the - (hyphen) character to separate the Title, author, etc.from the track number.><REM2:If there is no hyphen, then I've reached the bottom of the list (an Icon file).><REM2:So if there is no hyphen, the macro can end.><IFVAR2:1:01:8: -><BREAK><ENDIF><REM2:I want to keep the track information, but don't want all the rest of it.><IVAR2:01:13:1:-><TMVAR2:11:01:00:001:N01:><TMVAR2:01:01:00:000:000:><REM2:Now I'm going to compare this track to the last track processed (saved in %T2%)><REM2:If this is the first run, then %T2% is blank. However, if T1 = T2, I know I have ><REM2:already done this track, so either the macro failed, or I'm at the end.><IFVAR2:4:01:1:T2><BREAK><ENDIF><REM2:Now I want to clear the track name, and put in my own track title that I'll be able to ><REM2:read on the tiny Sansa screen.><TEXTTYPE:<DELETE>><TEXTTYPE:WS Disk 01 - %T1%><REM2:And finally, I <ENTER> to save the new track name, ><REM2:and arrow down to the next item in the list.><TEXTTYPE:<ENTER><ARROW DOWN>><REM2:Now I set T2 to T1 (as explained above).><TVAR2:02:01:%T1%><ENDREP> This macro may be a little buggy, I never actually used it (turns out the copy of the disk I have is faulty, so I wasn't ever able to listen to it (it's a manufactured original CD, not a burned copy), but you should be able to get a picture of how you can use this method to alter your own tracks or other lists. Without the Remarks it looks like this: Repeat Until %T1% <> %T1% Text Type: <ALT>fm<ENTER> Clipboard Empty Clipboard Copy Variable Set String %T1% from Clipboard If Variable %T1% does not contain " -" Break End If Variable Set Integer %N1% from Position of Text in Variable %T1% Variable Modify String: Delete Part of %T1% Variable Modify String: Trim %T1% If Variable %T1% = variable %T2% Break End If Text Type: <DELETE> Text Type: WS Disk 01 - %T1% Text Type: <ENTER><ARROW DOWN> Variable Set String %T2% "%T1%" Repeat End <REP3:08:000002:000001:0001:1:01:T1><TEXTTYPE:<ALT>fm<ENTER>><CLIPE><CLIPC><TVAR2:01:03:><IFVAR2:1:01:8: -><BREAK><ENDIF><IVAR2:01:13:1:-><TMVAR2:11:01:00:001:N01:><TMVAR2:01:01:00:000:000:><IFVAR2:4:01:1:T2><BREAK><ENDIF><TEXTTYPE:<DELETE>><TEXTTYPE:WS Disk 01 - %T1%><TEXTTYPE:<ENTER><ARROW DOWN>><TVAR2:02:01:%T1%><ENDREP>
  21. Well, when you put it that way... I just tested it and now I get it. Silly me. Now that I understand how it works, I think I'm going to have to start using it. Thanks yet again, Kevin!
  22. I've got a pretty simple way to make this work for you, Terry (though I admit I hadn't seen this thread till Gawwad brought it back to the top). This works FANTASTICALLY. I've used it for a number of macros. One in particular: I work with a Citrix-based program that requires the page to be refreshed every 4-6 minutes or I have to log back in. That, in and of itself, is tedious. I have macros that access that window from time to time, often no more than once every 8-10 minutes, so I built a macro that will auto- matically refresh my Citrix page every 4 minutes - unless I run one of my other macros in the mean-time that uses the page, in which case, I use this trick to refresh my timer. Anyway, here's my solution for you (I'm sure it will work in Pro, as well): First, set the macro Properties -> Schedule -> Other -> Every (however long). Text Box Display: Time for a Break Macro Disable: Break Reminder for Terry Macro Enable: Break Reminder for Terry <TBOX4:T:1:CenterCenter000278000200:000:Time for a BreakYou've been working too hard. Go get a drink, use the loo, whatever.><MACDEACT2:Break Reminder for Terry><MACACT2:Break Reminder for Terry> You just leave the text box open till you get back, then close it. The Disable/Enable sequence resets the macro's timer to 0. Easy peasy.
  23. I've had a problem with Timed floating text boxes for several builds of ME 3, and it still exists in ME Pro: When selecting an amount of time for a text box to stay on the screen, it generally stays up for MUCH less than the time defined. In fact, regardless of how many seconds I set the text box to display, it pops up and goes away almost instantly. Here's an example macro code set to display for 100 seconds (I would never need it up that long, but I wanted to make sure the "instant" speed was consistent): Text Box Display: Hello <TEXT BOX DISPLAY Title="Hello" Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs16 This is a timed test\r\n\\par }\r\n" Left="Center" Top="Center" Width="278" Height="200" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x01" Delay="100"/> I've always had to do a work-around like this: Text Box Display: Hello Delay: 5 seconds Text Box Close: Hello <TEXT BOX DISPLAY Title="Hello" Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs16 This is a timed test\r\n\\par }\r\n" Left="Center" Top="Center" Width="278" Height="200" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x02" Delay="100"/> <DELAY Flags="\x01" Time="5"/> <TEXT BOX CLOSE Header="Hello"/> The timer in the delay command works fine. The timer within the Text Box Display seems to be non-existent. Am I missing something? or is this a bug that has existed forever in ME and nobody's ever bothered reporting it, since the work- around is pretty simple?
×
×
  • Create New...