Here are the steps i am doing, how can i switch them to applescript:
1-Unzip a file then locate and install the package
2-Move the unzipped file to a designated location
3-Open a text file and search for a designated text, replace it by another one and then save.
Doable in AppleScript, but the devil’s in the details. How will you know the name of the package so you can refer to it? How will you know the name of the unzipped file (presumably not the package of part 1)? Is the text file to be opened in the unzipped stuff or somewhere else - are you updating a separate document with the name of the object you downloaded, unzipped, and installed?
In short, the operations you want to perform are straight-forward, but it’s not clear what you want to do.
well, the name of the packages are already known, and they wont change also when i unzip a file i will get a name and this name will be standard each time i unzip it. So suppose the name is “PhP Encoder” located on the Desktop, i can unzip this File and install the files that are created because i already know there names and where they are being unzipped. But how can i follow up with the whole installation procedure?
The Text file is in the Hidden part of the computer, in the etc folder → httpd folder. His name is httpd.conf… i need to change a line in this file and save it. So what i need is locate the file, search for the line, change it and then save.