Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2004-10-13
4
Medium Priority
?
172 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 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

705 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