How to click a button using a batch file?

前端 未结 4 1172
天涯浪人
天涯浪人 2020-12-05 08:21

I need to click a button called \"save\" in a Adobe Air application called Arthropod. I can launch the app in the bat file with this:

cd C:\\Program Files\\A         


        
4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-05 08:57

    You cannot automate button clicks with a bat file. If it were possible, you would still need some kind of API for Adobe Air for access the control itself. But if there is a keyboard shortcut to this button, you can simulate a keystroke and send that to the application.

提交回复
热议问题