Solved

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

Posted on 2004-10-13
4
171 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month6 days, 6 hours left to enroll

626 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