Jump to content

simonc8

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by simonc8

  1. Thanks. I hadn't made the connection between Autoit's use of Standby and Microsoft's use of Sleep.
  2. I have a script which currently shutsdown the computer when the process finishes. How can I add the option to send Windows to sleep when the process finishes? The only reference I can find in the documentation for Sleep is the command to pause Autoit. Grateful for assistance.
  3. Many thanks for the advice. That's what I hoped.
  4. I have a script which executes sleep for a couple of hours then carries out instructions. Does the running AutoIt script prevent the computer from entering sleep mode during this time? If not, is there something I can add to the AutoIt script to keep the computer awake? Grateful for advice.
  5. My optimism was misplaced. I want to stop a screen video recording session, but killing the process results in a corrupt video file. Here is my original AutoIt script: #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.14.5 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start Send("^W") I don't believe there is a problem with this script, because it works when I run it by double clicking the .au3 file. However, it doesn't work when I try to trigger it with Windows Task Scheduler. If anyone can suggest how to get this file to run on a schedule I would be very grateful.
  6. Thanks for this information. I have it working now.
  7. Seems you can't edit posts on this forum. Additional information: AutoIt version: 3.3.14.5 Operating system: Windows 7 Professional
  8. I set up a Windows scheduled task to run an AutoIt script at a specified time. The script simply sent a key combination which was a hot key to stop a process on the computer. This worked exactly as I wanted for a long time, but recently, possibly after some Windows updates, it stopped working. If I start the task manually in Task Manger it reports that it is Running, but the computer doesn't respond to the sent key combination, meanwhile, the task continues to run and needs to be stopped manually. If I run the AutoIt script, by double clicking the file, it immediately sends the correct key combination, so the problem is obviously with Task Manager. My Scheduled Task Action simply has the name and path of the .au3 file in quotes. Is there another way of doing this? Grateful for advice.
×
×
  • Create New...