Everything you wanted to know about Google Apps Script, but were afraid to ask

Well, not quite "everything", but enough to help create a script, deploy it, update it and approve permissions for it, to begin with. Of course, there is the official documentation: Google Apps Script

First two guides to deploy a google apps script, standalone and one that is bound to a spreadsheet:

Second a guide to update your google apps script to a new version after editing the script:

Third a guide to correctly reviewing permissions for a script (this is also covered in the second guide above):

2 Likes

Hi TIMAI2,
thank you for answer, but I dont know set script correctly. Please help me.
I want to set script for camera from phone and type of picture is jpg.
I dont know paramters in round brackets:
var data = Utilities.base64Decode( ? );

I dont know paramters in round brackets:
var blob = Utilities.newBlob( ? );

I dont know folder ID in round brackets:
var fileID = DriveApp.getFolderById(' ? ').createFile(blob).getId();

I dont know title and mimeType in curly brackets:
var resource = { ? , ? imageBlob.getContentType() };

Are you following this guide ?