It worked! Beautiful. Thank you so much!
If you would be so kind, there are just two related last works in this connection:
1) I would like to make a script for this command, so as to create an icon and place it in the dock. This computer is actually for my colleague, who is not tech savvy and it would be difficult for him to have to deal with the wine terminal window.
On the basis of the pathway which we've confirmed could you let me know how to update the below generic script for our current program EE7Search. In the below, we need to replace $PATH_TO_PROGRAM with the path from the Program Files directory to my program executable. This a bit confusing to me due to the "x86".
Code: Select all
tell application "Terminal"
do script "/usr/local/bin/wine ~/.wine/drive_c/Program\\ Files/$PATH_TO_PROGRAM.exe"
end tell
2) The search program actually consists of two sister programs, both of which are installed. We got the first one to open. The details on the second are as follows. If you could help by giving the wine terminal command for this sister program, and then the script to make an icon for it as above, this work will be all complete.
Name=Electronic Edition 7
Exec=env WINEPREFIX="/Users/baba/.wine" wine C:\\\\windows\\\\command\\\\start.exe \\"C:\\\\Program\\ Files\\ \\(x86\\)\\\\Electronic\\ Edition\\ 7\\\\HTML\\\\index.html\\"
Type=Application
StartupNotify=true
Icon=E428_EE7.0