Script for today: I am trying to make the script for myself so that I can learn. Some parts are still missing, some obviously incorrect. Code: #!/bin/sh # requires that the necessary files are in a directory "trados-installation" in home $ wineprefixcreate $ cp ~/trados-installation/SDLTrados2007_PRO_SP2_835.exe ~/.wine/drive_c/ $ cp ~/trados-installation/fusion.dll, msvcr70.dll,secur32.dll ~/.wine/drive_c/windows/system32 #If file already there -> skip $ cd ~/.wine/drive_c/windows/system32 wine regsvr32.exe msvcr70.dll wine regsvr32.exe fusion.dll wine regsvr32.exe secur32.dll $ cd ../../../ $ wget www.kegel.com/winetricks winetricks -q corefonts gecko wsh56js fakeie6 vcrun6 $ cd ~/.wine/drive_c $ wine SDLTrados2007_PRO_SP2_835.exe&>log.txt # Screenshot 1 if [ $button = "Next" ] then select "Next" # Screenshot 2a if [ $button = "No to all" ] then select "No to all" # Screenshot 4 if [ $link = "Installation Software" ] then select "Installation Software" # Screenshot 5 if [ $link = "Installation Software" ] and [ "$link" = "Install SDL FLEXlm License server" ] and [ $loop = 1] select "Installation Software" if [ $link = " Installation Software" ] and [ "$link" = "Install SDL FLEXlm License server" ] and [ $loop = 2] select "Install SDL FLEXlm License server" # Screenshot 6 if [ $button = "Install" ] then select "Install" # Screenshot 7 if [ $button = "No" ] then select "No" # Screenshot 8 if [ $button = "Annehmen" ] then select "Annehmen" # Screenshot 10 if read = "I accept the terms in the license agreement" and read = " I do not accept the terms in the license agreement" then select "I accept the terms in the license agreement" # Screenshot 11 if read = "User name" then echo = "test" if read = "Organisation" then echo = "test" and select [ $button = "Next" ] 1. I don't know yet to check if something is already there. 2. What I call loop is the second run of the same page, I have yet to look what is the variable for it 3. Screenshot 11, I may have the problem that "Next" gets clicked to early since I have already told to click on next. How to make the script understand that "next" is to be clicked only after these entries. Do I have to say to the other "next" that's only when no other command are pending?