Right so I wanted to automate a process which I have to do quite often for a program that I run quite often and sometimes open up multiple of.
Normally I open up Terminal and type in the following commands in order:
cd ExoClient
mono ExoClient.exe
email@gmail.com
password
So I made an executable file for this called login.command on my mac. I typed in this is order:
cd ExoClient
mono ExoClient.exe
email@gmail.com
password
So the first two lines work but the last two don't do anything. I thought that this could be because the top 2 commands are actual mac commands and the last two lines are just inputs. But I don't know how to make sure the inputs are inputted.
Thanks for reading, would appreciate any help.
Normally I open up Terminal and type in the following commands in order:
cd ExoClient
mono ExoClient.exe
email@gmail.com
password
So I made an executable file for this called login.command on my mac. I typed in this is order:
cd ExoClient
mono ExoClient.exe
email@gmail.com
password
So the first two lines work but the last two don't do anything. I thought that this could be because the top 2 commands are actual mac commands and the last two lines are just inputs. But I don't know how to make sure the inputs are inputted.
Thanks for reading, would appreciate any help.