I wrote a script that copies files to Google Drive. but I need to run it not from the script development page, I need to give it to the user, and I have to get from him a variable. How do I run the script remotely? If I add my script as a library to another script built into the table, then everything works, but I need the data to be passed from a google site or doGet() function.. Can I get string value and start a script from HTMLOutput?. Or any another solution of remotely starting of script(for example, pushing button on site) https://developers.google.com/apps-script/guides/web#deploying here is info about web apps, but I can't understand, how I can use it(
also i read this google apps script - web app doesn't seem to do anything . . but "The UI service was deprecated on December 11, 2014. To create user interfaces, use the HTML service instead." i can't understand what to do with this HTML service