Is it possible to have a scheduled task click a button in Windows?
        Posted  
        
            by 
                Jeremy Lattimore
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Jeremy Lattimore
        
        
        
        Published on 2012-08-27T23:56:47Z
        Indexed on 
            2012/08/28
            9:40 UTC
        
        
        Read the original article
        Hit count: 306
        
scripting
|scheduled-task
One of my clients has an application that can not be run from command line or via API but needs to be run on an scheduled basis. It would require that I launch the application if it's not already running and then click a button. This task would exist on a server.
I had read about AutoHotKey but it doesn't sound like it can click buttons from a Scheduled Task.
Does anyone have ideas on how to do this?
NOTE: As I answered below... I know this is a hack. It would be better to have an app that can actually be scheduled to run. Unfortunately (for me) this application isn't going to be replaced as it is connected to the client's beloved inventory management system and the entire deal is proprietary. So I just need to find an option to attempt this (might not be completely reliable I know). Thanks.
© Server Fault or respective owner