Jump to content

aw202

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by aw202

  1. Thanks for the help so far everyone. You're definitely sending me in the right direction. I'm going to dig some more into the documentation and experiment a bit before coming back with more specific code I might need help with.
  2. Hi everyone, I'm experimenting with writing a new script and was hoping to get some direction. What I am trying to achieve is the following: 0. Script activates/deactivates script when user toggles it with CTRL+SHIFT+T 1. Every 10 minutes, switch to a window named "notepad.txt" 2. While the window is being switched over, I want to lock out all keyboard and mouse inputs, so user does not inadvertently interfere with the next step (I'm not sure if this feature is available to AutoIt.) 3. Enter some text, let's say "hello world" 4. Switch back to the last window that was in focus before Step 1 happened. 5. Unlock keyboard/mouse inputs 6. Repeat in a loop infinitely back to Step 1 until user hits CTRL+SHIFT+T 2. Alternatively, if keyboard/mouse input lockout (Step 2) is not available, perhaps display an alert box and play a sound file named "c:\ding.wav" until Step 4. The alert box will say "Please do not enter any inputs. Script is active." Thanks so much for your help. I know a little bit of Javascript programming but am completely new to syntax regarding Windows.
×
×
  • Create New...