Solved

Need a basic script file that will flash an image on the desktop until canceled or timeout

Posted on 2004-10-13
4
165 Views
Last Modified: 2010-05-02
I am needing to flash an image on a computer desktop to alert someone when new email arrives.  The standard Outlook notifications are not good enough and we cannot use audio.  So I thought I would just use a script or batch file that causes an image to flash on the desktop for a predetermined amount of time (say 30 seconds).  I can create a rule in outlook to lauch the script or batch file when new email arrives. (not a problem)  I just do not know how to write a script or batch that can flash an image and have it continue to flash that image for the set amount of time.  Also, it would be good to have it also include a prompt that would allow for the user to kill the batch file if they are already near the computer.  I guess I could use any image type for this batch file.
0
Comment
Question by:murryc
  • 2
  • 2
4 Comments
 
LVL 26

Accepted Solution

by:
EDDYKT earned 250 total points
Comment Utility
set oShell = CreateObject("WScript.Shell")
oShell.AppActivate "Program"
oShell.SendKeys"{F5}"

0
 

Author Comment

by:murryc
Comment Utility
eddykt

could you elaborate on that for me.  I forgot to mention that I need complete coding if possible since I am do not have VB experience.  Thanks
0
 
LVL 26

Expert Comment

by:EDDYKT
Comment Utility
there is several way you can do, the code post is just to refresh the desktop

i.e. create shortcut and change icon every 5 seconds, refresh the desktop
0
 

Author Comment

by:murryc
Comment Utility
desktop refresh did not exactly fit my needs.  I posted this question in another topic area and recieved a VB solutio that works perfect.  I will award these points since the desktop refresh is a neat little script to have on hand for other needs.  Thanks....
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now