Can I automate a windows application running on Wine with Applescript?
If not, is there another way to script a windows app on Wine OSX?
Can I automate a windows application running on Wine with Applescript? If not, is
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve not tried it with Wine but with Parallels I just do GUI scripting and send keystrokes directly to the application. Here’s a blog post I wrote on it. (Although I use Python + Appscript for scripting primarily)
http://www.libertypages.com/clarktech/?p=1496
Note I send each character separately in that script. You can actually send full strings. I just like it abstracted out so I can add a delay if necessary. So I have a function for sending strings.
If you’re not familiar with GUI Scripting I’d look at the following tutorial:
http://www.macosxautomation.com/applescript/uiscripting/index.html