Der_Andi Posted November 3, 2006 Posted November 3, 2006 Hi, i use AutoGordianKnot for converting my DVDs into Xvid-Videos. When i am at work, i let AGK do its job... In the morning my computer starts automatically from suspend mode --> it makes me wake up. A script is also running in the background. This script checks the time, and when the correct time has come, it sends via ControlSend() a specific shortcut to the AGK-Window to start the job queue for encoding. Unfortunately, the real start button is strange. AutoIt Info doesn't give me any information about it. So i cannot use it with ControlSend(). It's a button, that only is being highlighted, when the mouse cursor is on it. So i choose another control, AutoIt can interact with. My script does this: Do sleep(20000) ;20sec-delay should ensure not to miss the spec. time Until @HOUR = 6 And @MIN = 30 ControlSend("len0x presents", "", "TJvRichEdit1", "^r") The problem is, sometimes it works, sometimes it does not. Any ideas what's wrong? Andi
Uten Posted November 26, 2006 Posted November 26, 2006 From the top of my head. The control is dynamic and not pressent when you try to click it? Solution: Make sure the window is active. Move the mouse to the correct location relative to the window. Send a ControlClick or just click. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now