OnScreenDisplay("Opening FireFox" -1 0 0 "Arial Black" 30 0xff 4 "FF_Start" 0x343434 )
So, this one has been floating around in the forums for a while and I thought I'd give my slants on it.
When I'm starting a program or a process that might take more than 1 second, I like to give a visual confirmation that it actually did start. For instance:
So, here's how the parameters break out:
- your text. you can also use a string variable instead.
- the time the display stay on screen. the default is 0 (5 seconds) or -1 for indefinite.
- the X Y coordinates of where to put the top left corner of the box. 0 0 is the middle of the screen.
- the font name (mine is "Arial Black"). I get mine from the font drop-down list in Word.
- font size (mine is 30).
- font colour in hex. I use Pixie but you can try http://www.free-webmaster-tools.com/colorpicker.htm to do it online but I don't know how safe the site is.
- flags. Note: you can add the numbers together to have it activate more than one state (i.e. 6 is number 2 and number 4).
- 1 - nontransparent. The background in transparent or not (not supported on Win98/Me).
- 2 - synchronous. The macro pauses till the text disappears (see #2 above).
- 4 - the user can click to hide the window.
Here is another format I use for a differ process.
OnScreenDisplay("Removing Dups...please wait" 0 0 0 "" 18 292929 4 "Rmv_Dps")
Ok, so now you have 5 days to put this into your code or I will mail you macros back to you in a box....one function at a time.