Jump to content

Recommended Posts

Guest Steven Sinclair
Posted

Is there any way, from a command prompt, to pop up a message in Windows that

will simply display a message, then disappear after a set period of time?

Thanx.

  • Replies 8
  • Created
  • Last Reply
Guest Terry R.
Posted

The date and time was Monday, June 29, 2009 11:27:01 AM, and on a whim,

Steven Sinclair pounded out on the keyboard:

> Is there any way, from a command prompt, to pop up a message in Windows that

> will simply display a message, then disappear after a set period of time?

> Thanx.

 

Hi Steven,

 

Something like this?

http://3d2f.com/programs/4-192-msgbox-download.shtml

 

Doesn't say it works on XP, but if it works on w2k, chances are good.

 

 

Terry R.

--

Anti-spam measures are included in my email address.

Delete NOSPAM from the email address after clicking Reply.

Guest Steven Sinclair
Posted

So, there's no "built-in" functionality that can handle this?

 

 

 

"Terry R." wrote:

> The date and time was Monday, June 29, 2009 11:27:01 AM, and on a whim,

> Steven Sinclair pounded out on the keyboard:

>

> > Is there any way, from a command prompt, to pop up a message in Windows that

> > will simply display a message, then disappear after a set period of time?

> > Thanx.

>

> Hi Steven,

>

> Something like this?

> http://3d2f.com/programs/4-192-msgbox-download.shtml

>

> Doesn't say it works on XP, but if it works on w2k, chances are good.

>

>

> Terry R.

> --

> Anti-spam measures are included in my email address.

> Delete NOSPAM from the email address after clicking Reply.

>

Guest Steven Sinclair
Posted

Also, I need a solution that does not require user interaction. I need to

simply display a message that will automatically time out and disappear.

Thanx again.

 

"Steven Sinclair" wrote:

> So, there's no "built-in" functionality that can handle this?

>

>

>

> "Terry R." wrote:

>

> > The date and time was Monday, June 29, 2009 11:27:01 AM, and on a whim,

> > Steven Sinclair pounded out on the keyboard:

> >

> > > Is there any way, from a command prompt, to pop up a message in Windows that

> > > will simply display a message, then disappear after a set period of time?

> > > Thanx.

> >

> > Hi Steven,

> >

> > Something like this?

> > http://3d2f.com/programs/4-192-msgbox-download.shtml

> >

> > Doesn't say it works on XP, but if it works on w2k, chances are good.

> >

> >

> > Terry R.

> > --

> > Anti-spam measures are included in my email address.

> > Delete NOSPAM from the email address after clicking Reply.

> >

Posted

Steven Sinclair wrote:

> Also, I need a solution that does not require user interaction. I need to

> simply display a message that will automatically time out and disappear.

> Thanx again.

>

> "Steven Sinclair" wrote:

>

>> So, there's no "built-in" functionality that can handle this?

>>

>>

>>

>> "Terry R." wrote:

>>

>>> The date and time was Monday, June 29, 2009 11:27:01 AM, and on a whim,

>>> Steven Sinclair pounded out on the keyboard:

>>>

>>>> Is there any way, from a command prompt, to pop up a message in Windows that

>>>> will simply display a message, then disappear after a set period of time?

>>>> Thanx.

>>> Hi Steven,

>>>

>>> Something like this?

>>> http://3d2f.com/programs/4-192-msgbox-download.shtml

>>>

>>> Doesn't say it works on XP, but if it works on w2k, chances are good.

>>>

>>>

>>> Terry R.

 

You could write a script or batch file and add it to scheduled tasks..

You'd have it display a window, run a timer, then close afterwards, I

suspect. Try a VB group or a search on writing batch files.

 

--

Joe =o)

Guest Terry R.
Posted

The date and time was Monday, June 29, 2009 1:28:01 PM, and on a whim,

Steven Sinclair pounded out on the keyboard:

> Also, I need a solution that does not require user interaction. I need to

> simply display a message that will automatically time out and disappear.

> Thanx again.

>

> "Steven Sinclair" wrote:

>

>> So, there's no "built-in" functionality that can handle this?

>>

>>

>>

>> "Terry R." wrote:

>>

>>> The date and time was Monday, June 29, 2009 11:27:01 AM, and on a whim,

>>> Steven Sinclair pounded out on the keyboard:

>>>

>>>> Is there any way, from a command prompt, to pop up a message in Windows that

>>>> will simply display a message, then disappear after a set period of time?

>>>> Thanx.

>>> Hi Steven,

>>>

>>> Something like this?

>>> http://3d2f.com/programs/4-192-msgbox-download.shtml

>>>

>>> Doesn't say it works on XP, but if it works on w2k, chances are good.

>>>

>>>

>>> Terry R.

 

You weren't very specific so I just gave you what it sounded like you

wanted.

 

Then write a script to launch a program and a file you created to

display the message you want, then use the ping command to set an amount

of time to wait, then use taskkill to kill the process.

 

 

Terry R.

--

Anti-spam measures are included in my email address.

Delete NOSPAM from the email address after clicking Reply.

Guest Tim Meddick
Posted

Steven,

Copy and paste the following into a text file using Notepad

and save or rename it with a .vbs extension.

 

 

(*Tip - to save a file as some other extension than .txt when using

'Notepad - in the 'Save as...' dialogue box, for the filename type :

"Myfile.vbs" - within quotes and it will then save as "Myfile.vbs"

and NOT "Myfile.vbs.txt" )

 

 

-------------------- copy between lines --------------------

 

 

strTitle="TITLE"

 

Dim WSHShell

Set WSHShell = WScript.CreateObject("WScript.Shell")

 

WSHShell.Popup "Display test message here!" , 3, strTitle

 

 

-------------------- copy between lines --------------------

 

 

 

Change "TITLE" to define your message window's title.

 

Change "Display test message here!" to define the text of your

message.

 

Change the number "3" to whatever number of seconds you want the

message displayed for before it is automatically dismissed.

 

 

 

Hope this helps you out.

 

 

==

 

Cheers, Tim Meddick, Peckham, London. :-)

 

 

 

 

"Steven Sinclair" wrote in

message news:DE1A799D-F78F-4957-8E84-7BC5CE424D67@microsoft.com...

> Also, I need a solution that does not require user interaction. I need

> to

> simply display a message that will automatically time out and

> disappear.

> Thanx again.

>

> "Steven Sinclair" wrote:

>

>> So, there's no "built-in" functionality that can handle this?

>>

>>

>>

>> "Terry R." wrote:

>>

>> > The date and time was Monday, June 29, 2009 11:27:01 AM, and on a

>> > whim,

>> > Steven Sinclair pounded out on the keyboard:

>> >

>> > > Is there any way, from a command prompt, to pop up a message in

>> > > Windows that

>> > > will simply display a message, then disappear after a set period

>> > > of time?

>> > > Thanx.

>> >

>> > Hi Steven,

>> >

>> > Something like this?

>> > http://3d2f.com/programs/4-192-msgbox-download.shtml

>> >

>> > Doesn't say it works on XP, but if it works on w2k, chances are

>> > good.

>> >

>> >

>> > Terry R.

>> > --

>> > Anti-spam measures are included in my email address.

>> > Delete NOSPAM from the email address after clicking Reply.

>> >

Guest Steven Sinclair
Posted

Tim,

 

This solution is nearly perfect! Thank you. My last question would be how to

display this window without any "user-interaction" buttons?

 

Thanx again!!!

 

"Tim Meddick" wrote:

> Steven,

> Copy and paste the following into a text file using Notepad

> and save or rename it with a .vbs extension.

>

>

> (*Tip - to save a file as some other extension than .txt when using

> 'Notepad - in the 'Save as...' dialogue box, for the filename type :

> "Myfile.vbs" - within quotes and it will then save as "Myfile.vbs"

> and NOT "Myfile.vbs.txt" )

>

>

> -------------------- copy between lines --------------------

>

>

> strTitle="TITLE"

>

> Dim WSHShell

> Set WSHShell = WScript.CreateObject("WScript.Shell")

>

> WSHShell.Popup "Display test message here!" , 3, strTitle

>

>

> -------------------- copy between lines --------------------

>

>

>

> Change "TITLE" to define your message window's title.

>

> Change "Display test message here!" to define the text of your

> message.

>

> Change the number "3" to whatever number of seconds you want the

> message displayed for before it is automatically dismissed.

>

>

>

> Hope this helps you out.

>

>

> ==

>

> Cheers, Tim Meddick, Peckham, London. :-)

>

>

>

>

> "Steven Sinclair" wrote in

> message news:DE1A799D-F78F-4957-8E84-7BC5CE424D67@microsoft.com...

> > Also, I need a solution that does not require user interaction. I need

> > to

> > simply display a message that will automatically time out and

> > disappear.

> > Thanx again.

> >

> > "Steven Sinclair" wrote:

> >

> >> So, there's no "built-in" functionality that can handle this?

> >>

> >>

> >>

> >> "Terry R." wrote:

> >>

> >> > The date and time was Monday, June 29, 2009 11:27:01 AM, and on a

> >> > whim,

> >> > Steven Sinclair pounded out on the keyboard:

> >> >

> >> > > Is there any way, from a command prompt, to pop up a message in

> >> > > Windows that

> >> > > will simply display a message, then disappear after a set period

> >> > > of time?

> >> > > Thanx.

> >> >

> >> > Hi Steven,

> >> >

> >> > Something like this?

> >> > http://3d2f.com/programs/4-192-msgbox-download.shtml

> >> >

> >> > Doesn't say it works on XP, but if it works on w2k, chances are

> >> > good.

> >> >

> >> >

> >> > Terry R.

> >> > --

> >> > Anti-spam measures are included in my email address.

> >> > Delete NOSPAM from the email address after clicking Reply.

> >> >

>

>

>

Guest Tim Meddick
Posted

Sorry, I don't know how to display without *any* buttons.

 

The [ok] button is just there to dismiss the message box before the

timeout.

 

==

 

Cheers, Tim Meddick, Peckham, London. :-)

 

 

 

 

"Steven Sinclair" wrote in

message news:935547C2-29B9-45BD-92B8-41B0738D2F5D@microsoft.com...

> Tim,

>

> This solution is nearly perfect! Thank you. My last question would be

> how to

> display this window without any "user-interaction" buttons?

>

> Thanx again!!!

>

> "Tim Meddick" wrote:

>

>> Steven,

>> Copy and paste the following into a text file using

>> Notepad

>> and save or rename it with a .vbs extension.

>>

>>

>> (*Tip - to save a file as some other extension than .txt when using

>> 'Notepad - in the 'Save as...' dialogue box, for the filename type :

>> "Myfile.vbs" - within quotes and it will then save as "Myfile.vbs"

>> and NOT "Myfile.vbs.txt" )

>>

>>

>> -------------------- copy between lines --------------------

>>

>>

>> strTitle="TITLE"

>>

>> Dim WSHShell

>> Set WSHShell = WScript.CreateObject("WScript.Shell")

>>

>> WSHShell.Popup "Display test message here!" , 3, strTitle

>>

>>

>> -------------------- copy between lines --------------------

>>

>>

>>

>> Change "TITLE" to define your message window's title.

>>

>> Change "Display test message here!" to define the text of your

>> message.

>>

>> Change the number "3" to whatever number of seconds you want the

>> message displayed for before it is automatically dismissed.

>>

>>

>>

>> Hope this helps you out.

>>

>>

>> ==

>>

>> Cheers, Tim Meddick, Peckham, London. :-)

>>

>>

>>

>>

>> "Steven Sinclair" wrote in

>> message news:DE1A799D-F78F-4957-8E84-7BC5CE424D67@microsoft.com...

>> > Also, I need a solution that does not require user interaction. I

>> > need

>> > to

>> > simply display a message that will automatically time out and

>> > disappear.

>> > Thanx again.

>> >

>> > "Steven Sinclair" wrote:

>> >

>> >> So, there's no "built-in" functionality that can handle this?

>> >>

>> >>

>> >>

>> >> "Terry R." wrote:

>> >>

>> >> > The date and time was Monday, June 29, 2009 11:27:01 AM, and on

>> >> > a

>> >> > whim,

>> >> > Steven Sinclair pounded out on the keyboard:

>> >> >

>> >> > > Is there any way, from a command prompt, to pop up a message

>> >> > > in

>> >> > > Windows that

>> >> > > will simply display a message, then disappear after a set

>> >> > > period

>> >> > > of time?

>> >> > > Thanx.

>> >> >

>> >> > Hi Steven,

>> >> >

>> >> > Something like this?

>> >> > http://3d2f.com/programs/4-192-msgbox-download.shtml

>> >> >

>> >> > Doesn't say it works on XP, but if it works on w2k, chances are

>> >> > good.

>> >> >

>> >> >

>> >> > Terry R.

>> >> > --

>> >> > Anti-spam measures are included in my email address.

>> >> > Delete NOSPAM from the email address after clicking Reply.

>> >> >

>>

>>

>>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...