Question on 'MSG>'

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Visitor

Question on 'MSG>'

Post by Visitor » Tue Sep 21, 2004 1:13 pm

Hi,
I was just wondering if it was possible to start the Msg box somewhere else on screen (as opposed to centered)?

I sometime use the Msg box as a way to display a counter (e.g. Number of time a macro has been looping), but having it in the center of the screen gets in the way.
Of course, I could just set Wait> with enough time for me to drag it elsewhere (thats what I do at the moment), but I was wondering if there wouldn't be a more elegant way to do so.

Thanks.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Tue Sep 21, 2004 3:56 pm

You could use Dialog to make a message box. That will allow you to designate the position. But it will be a Modal Message, will need a response to make it go away.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Tue Sep 21, 2004 4:13 pm

If using a non-modal message box you can reposition it like this:

Message>Hello World
MoveWindow>Macro Scheduler Message,10,10
..
.. bla bla
..
MJT Net Support
[email protected]

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Tue Sep 21, 2004 4:16 pm

AHA! That is nice. :shock:

Never thought of that :oops:
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Visitor

Post by Visitor » Tue Sep 21, 2004 11:41 pm

Nice! Thanks :)

I was thinking along those lines, but I am still unfamiliar with many commands. Namely MoveWindows :lol:

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts