Google Apps Script Tutorial in Hindi

Google Apps Script Tutorial : Learn how to utilize Google Apps Script through this comprehensive English tutorial. With live searching option included, you’ll receive a step-by-step guide to help you automate your projects. Dive in now and streamline your workflows!

Google Apps Script का उपयोग कैसे करें सीखें यह एक सरल हिंदी ट्यूटोरियल के माध्यम से है। इसमें लाइव सर्चिंग का ऑप्शन भी है और आपको स्टेप-बाय-स्टेप गाइड मिलेगी। अभी पढ़ें और अपने प्रोजेक्ट्स को ऑटोमेट करें

Google Apps Script Search : आप निम्न bar से Code Search कर सकते हैं।

MethodsDescription
onOpenjab bhi hame Sheet open hone par koi script execute karna ho tabhttps://youtu.be/Pkzl_vhvUBM/&t=36
onSelectionChange jab Sheet ke kisi cell par Selection (Cursor) Move karne par Script Executehttps://youtu.be/Pkzl_vhvUBM/&t=133
onEditjab Sheet ke kisi cell par value change karne par Script Execute karna ho tabhttps://youtu.be/Pkzl_vhvUBM/&t=236
AlertUser ko Message Display karne ke liyehttps://youtu.be/q2zhykKaWvA
PromptUser se Input lene ke liye https://youtu.be/ZLlAFuE6Zrc
ToastBotton Right Corner par Message Display kar automatic use hide karne liyehttps://youtu.be/my7ddCQCEbk
ShowModalDialogExternal Dialog Box Open karne ke liyehttps://youtu.be/yOEClwgpSRc
ShowModelessDialogisme Dialog open bhi rahta hain or aap Sheet par working bhi kar sakte hainhttps://youtu.be/uc1dXDapM6A
showSidebarSidebar – Left side me box dikhane ke liye https://youtu.be/ifhTbXfVPwI
createMenuCustom Menu, SubMenu banane ke lilyehttps://youtu.be/J3u_Uvx6OkA
HTMLServiceHTML Content Kaise dikhayehttps://youtu.be/38nFyIV58l0
Clickable ImageImage Buttonhttps://youtu.be/Pjkq8BTIhv4
Image DisplayGoogle Drive to Google Sheet https://youtu.be/havAFnr3sUI
Product GalleryDisplay your Product Detail with Image, Name, Description, MRP, Price https://youtu.be/LXJSKe8fpTs
Google Sheet SearchSearch Sheet with name using Sidebarhttps://youtu.be/xQ11Wn0IuQs
HTML to SheetHTML Form (Localhost) Submit to Google Sheet https://youtu.be/lKeFN4JxRB8
Sheet to HTML TablePull Data From Sheet To HTML Table (Localhost)https://youtu.be/dc1z2QcPmDo
Sheet to HTML (Web)Google Sheet to HTML Table (Web)https://youtu.be/N9kgbSgRAPE
Dynamic SelectDynamic HTML Dropdown from Sheethttps://youtu.be/mPn7sGxbfOA
Get Next NumberNext Invoice Numberhttps://youtu.be/rLLGdnTyj44
Search InvoiceHTML Invoice Search From Google Sheethttps://youtu.be/BunOO__Ftk0
Update SheetModify Google Sheet from Htmlhttps://youtu.be/ErdUfo4YxIo
Display & OpenHow to Display Google Sheets Data in a Table and Show Details on an HTML Pagehttps://youtu.be/RjTZiMRUy2A
Upload Image to DriveHow to Upload Images from Local Host or Server to Google Drivehttps://youtu.be/Q5TKeqxcpCU
Upload Image to SheetHow to Upload Images from Local Host or Server to Google Sheet https://youtu.be/RJYDb__wLCI
Date FormatSending HTML Form Data to Google Sheets (DD-MM-YYYY Format) https://youtu.be/xJJHA345BNg
createHtmlOutputCustomizing Apps Script Outputhttps://youtu.be/J3abjSdPaj4
Get Item RateFetch Item Rates from Google Sheetshttps://youtu.be/kswAIttEdcM
Simple LoginSimple Login Systemhttps://youtu.be/Ls1JR8QUrbA
User RegistrationUser Registration Systemhttps://youtu.be/hG87WrXkDSk
Secure LoginSecure Login, Logout, and User Registration with Sessionhttps://youtu.be/90SQmafC1HU
Email OTPEmail OTP While User Registration in Googlehttps://youtu.be/ZfTGavM9D7w
Forgot PasswordHow to e-mail password when forgot passwordhttps://youtu.be/3EXteOuX_Js
NavigationDynamic Web App Navigation & Multiple Pages Tutorialhttps://youtu.be/jtHULVi0Ed4
Set TitleSet Title on HTML Pagehttps://youtu.be/qiQeDxcNg6E
User InfoDisplay User Information on the Home Pagehttps://youtu.be/i0J_xpruB1o
Unique DropdownUnique Data Dropdown | Eliminate Duplicateshttps://youtu.be/kq5-jPZUMN8
Dependent DropdownGoogle Sheets Dependent Dropdownshttps://youtu.be/wyAnzXmBGG8
Create Dynamic HTMLCreate Dynamic HTML Forms Using Google Apps Script – CRUDhttps://youtu.be/eyn15ND58OQ
Read Dynamic SheetDynamic Google Sheet Data to HTML Table – CRUDhttps://youtu.be/qKnM0CAfyuU
Update Dynamic FormUpdate – Google Sheet Data to HTML Table | Interactive Form – CRUDhttps://youtu.be/DD-VvIMYhOg
Delete Dynamic AppDelete Button Web API – CRUDhttps://youtu.be/NlLwrvGsp-Y
PaginationPagination: Infinite Scrollhttps://youtu.be/5KoJBAZOUGo

onOpen

जब भी हम चाहते हैं की Sheet open होते ही Code Execute हो तब हम onOpen Event या Method का उपयोग करते हैं ।

function onOpen(e) {
    let ui  = SpreadsheetApp.getUi();
    ui.alert("onOpen");
}

onSelectionChange

जब भी हम चाहते हैं की Sheet open होते ही Code Execute हो तब हम onOpen Event या Method का उपयोग करते हैं ।

function onSelectionChange(e) {
  let ui  = SpreadsheetApp.getUi();
  const range = e.range;
  range.setBackground('lightblue');
}

onEdit

जब भी आप Sheet पर कुछ Change करते हैं तब यह Event Execute करते हैं।

function onEdit(e) {
  let ui  = SpreadsheetApp.getUi();
  const range = e.range;
  range.setBackground('lightgreen');  
}

Alert

जब भी आपको कोई Message Box (Alert) दिखाना हो तो आप Alert का उपयोग कर सकते हैं।

function myOpen() 
{
  
  let ui  = SpreadsheetApp.getUi();

  //1. Simple Alert
  ui.alert("Welcome");

  //2. With Button Set
  ui.alert("Hello", ui.ButtonSet.YES_NO_CANCEL);

  //3. With Title & Button Set
  ui.alert("Delete", "Want to Delete?", ui.ButtonSet.YES_NO);


  //4. Response Handle
  let res = ui.alert("Delete", "Want to Delete?", ui.ButtonSet.YES_NO)

  if (res == ui.Button.YES) {
      ui.alert("Yes");
  }
  else if (res == ui.Button.NO) {
      ui.alert("No");
  }

  
}

Prompt

जब हमने Message Box मे User से कुछ Input लेना हो तब हम prompt का उपयोग करते हैं।

function onOpen() {
  let ui  = SpreadsheetApp.getUi();

  //1
let res1 = ui.prompt("Enter Your Name");
let txt1 = res1.getResponseText();
ui.alert(txt1);


  //2
 let res2 = ui.prompt("Enter Your Name", ui.ButtonSet.YES_NO);
 let txt2 = res2.getResponseText();
 let btn2 = res2.getSelectedButton();
 if (btn2 == ui.Button.YES)  {
    ui.alert(txt2);
 }
 
 
  //3
  let res3 = ui.prompt("Name", "Enter Your Name", ui.ButtonSet.YES_NO);
  let txt3 = res3.getResponseText();
  let btn3 = res3.getSelectedButton();
  if (btn3 == ui.Button.YES)  {
      ui.alert(txt3);
  }


}

Toast

जब हमने Bottom Right Corner पर एक ऐसा box दिखाना हो जो दिखाई दे और कुछ समय बाद Hide हो जाए।

function myFunction() {

  let sheet = SpreadsheetApp.getActive();
  
  sheet.toast("Write Message ");
  sheet.toast("Write Message", "Title Here");
  sheet.toast("Write Message", "Title Here", 3);
  sheet.toast("Write Message", "Title Here", 100);
  
}

इस Article मे हमने Apps Script की Basic से Advance बहुत से Topic को Cover किया हैं। आशा हैं की आपको यह Google Apps Script Tutorial in Hidi बहुत अच्छे से समझ मे आ गया होगा।

आपको यह Google Apps Script Tutorial कैसा लगा ? बताना न भूले मिलते हैं Next Article मे Thanks for Reading ।

हमारे अन्य आर्टिकल

Add a Comment

Your email address will not be published. Required fields are marked *