Computing.Net > Forums > Programming > Make a batch file always on top

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Make a batch file always on top

Reply to Message Icon

Name: pball
Date: November 11, 2008 at 19:03:29 Pacific
OS: XP Pro
CPU/Ram: 2.8 ghz / 2 gig
Product: home made
Comment:

I make reminders using a batch script that echos stuff and the scheduler thing in xp. The problem is the batch script doesn't show up when I'm watching videos. Is there a way to make the script window appear in front of a playing video?



Sponsored Link
Ads by Google

Response Number 1
Name: Holla
Date: November 11, 2008 at 23:23:01 Pacific
Reply:

How are you displaying the messages?
For similar requirement, I use vbscript.
For example, I have a wait.vbs, which displays a messagebox after N seconds.
This messagebox pops up even when I am watching video in fullscreen mode.
My wait.vbs has three lines:


WScript.Sleep WScript.Arguments.Item(0) * 1000
dim answer
answer=MsgBox(WScript.Arguments.Item(0) & " Seconds over!",vbSystemModal, "TimeOver" )

I launch it by typing "wait 120" which displays the message "120 seconds over" after 120 seconds.

--
Holla.


0

Response Number 2
Name: pball
Date: November 12, 2008 at 03:14:35 Pacific
Reply:

um sorry should of been more clear. I just have the scheduler run a batch script that just echos something like "go to work" then pauses. It doesn't do anything else.


EDIT:
Just played with that and that's neat, I just took out the first two lines and changed the text to something else and now to test when playing video.

Thanks


0

Response Number 3
Name: Holla
Date: November 12, 2008 at 04:38:00 Pacific
Reply:

pball,

Exactly!
What I intended by giving out my script is -

Instead of


echo "goto work",

Make it

vbecho "got work"

And you create a vbecho.vbs with


dim answer
answer=MsgBox(WScript.Arguments.Item(0),vbSystemModal, "pball Echo" )

EDIT:
I posted this message before your EDIT :-)
--
Holla.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Make a batch file always on top

need help making a batch file work www.computing.net/answers/programming/need-help-making-a-batch-file-work-/14441.html

How to make a batch file type text www.computing.net/answers/programming/how-to-make-a-batch-file-type-text-/11493.html

Making a batch file www.computing.net/answers/programming/making-a-batch-file/16102.html