Jump to content
Macro Express Forums

tpiper

Members
  • Posts

    12
  • Joined

  • Last visited

tpiper's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Cory, thanks for the explanation. That helps. Tom
  2. Cory, I appreciate quick reply. The second option sounds good because I'm not real familiar with VBscript. Also could you expand a little more on changing controls? Thanks, Tom
  3. I'm looking for a way to detect if a program is in use, and if it hasn't been used for say, 15 minutes, then it would shut down. I'm able to time the program but can't seem to get my mind around how to detect user activity within the program (keystrokes, mouse movement, etc.), not just that it's focused are is running in the background. Any thoughts would be greatly appreciated! Thanks
  4. Kevin, yes except I also need the window to close if there is no user response at all. Tom
  5. I have a situation that requires that a window remains open if the user hits “yes” and closes either if they hit “no”, or if nothing is typed into the If Message dialog box within a certain length of time. I can make this work if the default button is “no”, but the user wants the default to be yes so that they don’t inadvertently close the program by hitting enter. I’ve also tried inserting an If Window on Top command to look for the IF Message dialog box still being open after "X" seconds but that didn't work either. I know there’s probably a simple solution but I’m fairly new at this and can’t seem to get my head around the logic. Also, is there possibly another way to go beside using the If Message dialog box? Thanks for any help! Tom
  6. Nevermind, I found out what was happening. I overlooked the fact that it was set up as a scheduled macro...duh! Works great now. Thanks again, Tom
  7. Steve, after looking at the code and trying to follow the logic of what you're doing I didn't see where the 5 minute timer was set up. What did I miss? Thanks, Tom
  8. Steve, that's pretty slick! I'll give it try. But does this require two macro's to be running at the same time? I thought this wasn't possible in the non-pro version. Thanks, Tom
  9. Thanks much...that did the trick. Your help is much appreciated! Tom
  10. Kevin, I tried it and I can time out the the message box, but I don't see how this will terminate the program that I'm trying to close without clicking on a button. I need the macro to run such that if no button at all is clicked then the program will terminate after a certain period of time. What am I missing? Thanks, Tom
  11. I have a timer set up that displays a reminder message for a user to close a program if they aren't using it. I have a repeat loop that contantly displays the reminder and a dialog box every few minutes. If they type yes in the dialog box then they are given more time. If they type no or hit cancel then the program closes, which is what I want. My problem is that I also want the program to automatically close if there is no response at all, such as if they are away from their computer for long periods of time and don't respond to the dialog box. I'm new to using Macro Express. I've tried using OR logic to terminate the program after a period of time but can't seem to get that to work. Also tried to control the cancel button in the dialog box with an automated click on the cancel button, but again didn't work. I'm sure there is a simple way to do this but can't seem to find the right way. Any help is appreciated! Tom
×
×
  • Create New...