Solved

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

Posted on 2004-10-13
4
167 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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 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…

803 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