Solved

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

Posted on 2004-10-13
4
168 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
ID: 12299282
set oShell = CreateObject("WScript.Shell")
oShell.AppActivate "Program"
oShell.SendKeys"{F5}"

0
 

Author Comment

by:murryc
ID: 12299339
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
ID: 12299411
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
ID: 12325924
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

840 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