How To Execute Google Scripts on Mobiles or Tabs

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • In this tutorial we would learn:
    1. How To Execute Google Scripts on Mobiles
    2. Google script OnEdit dunction

Комментарии • 76

  • @randywijaya6459
    @randywijaya6459 2 года назад +5

    Thank you for making this video. But I wanna ask you something, sir. If I want to put one cell as a trigger to run the script, are the script will be the same?

  • @jayantadn
    @jayantadn 3 года назад +1

    Good trick. Thanks a lot. It solved my age old problem with mobile devices.
    Just a small suggestion. If possible, try to squeeze the videos. The main content of this video is very less.

  • @RajaGiri_tvpm
    @RajaGiri_tvpm 2 года назад

    Please post More videos google apps script on mobile most of us not have system,
    I tried as per your this video
    My script , but it works when other sheets tap
    Thank you for you video

  • @krix823
    @krix823 8 месяцев назад +1

    Great straight forward solution! Thanks! But how do you have so many unread messages? 🥴 0:54

  • @anilkale7901
    @anilkale7901 Год назад

    Thank you for providing such a nice solution to run a script in a Google Sheet on the mobile handset 👌👍

  • @ANNUETAWAHCRPF
    @ANNUETAWAHCRPF 4 года назад +3

    Sir make a video on how to get table data from webpage using VBA

  • @unravelledfox1331
    @unravelledfox1331 Год назад +1

    How would I use google scripts on Mobile to just go to a specific Sheet? I've tried a few ways and it only works online and not in the app/mobile.

  • @TheOnlyEpsilonAlpha
    @TheOnlyEpsilonAlpha 3 месяца назад +1

    Long Story short summary:
    - Buttons are useless on mobile because Googles Implementation is dumb
    - You need to trigger a function that runs every time when anywhere something is changing
    "Thanks" Google ...

  • @ARIJITDass
    @ARIJITDass 2 года назад +3

    its helpful, but im wondering how can i call my custom function from onedit?
    function onEdit(e){
    customfunction()
    }

  • @zidnanhernandez1128
    @zidnanhernandez1128 2 года назад +1

    Thank you very much!, This video was very useful :)

  • @arjundealwis9596
    @arjundealwis9596 6 месяцев назад

    Hi, is it possible to keep the button image on the cell and allow the mobile operation to happen as you have shown. Just so that the script can be used both on laptop and mobile?

  • @adidsasmito555
    @adidsasmito555 2 года назад +1

    Great video sir. I have made such script and it runs good on mobile until I share it to another user. They cannot run it, eventhough I have made it 'anyone can edit'. Please help! Thanks you

  • @kofiamoako1811
    @kofiamoako1811 3 года назад +4

    Is it possible to assign the onEdit function to a specific cell?

    • @jonnybolton4659
      @jonnybolton4659 3 года назад +2

      You mean only run the code if a certain cell is edited? By default onEdit runs when anything is edited, but you can include if statements to change what onEdit actually does when different cells are edited

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 года назад +9

      function onEdit(e) {
      if (e.range.getA1Notation() == 'A2')
      //remaining code
      }
      }

    • @WungaBungaMC
      @WungaBungaMC Год назад +1

      @@AutomationMadeEasy Thank you!

  • @abuomardontadd2865
    @abuomardontadd2865 7 месяцев назад

    hi thanks i tried to add 2 buttons onEdit(e) and on onEdit (c) but it fail so how can i use more the one button for 2 actions

  • @Jonbontabas
    @Jonbontabas 3 года назад +1

    May I know how will I be able to use the button when I'm on mobile?
    Thanks!

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 года назад +1

      Button does not work on hand held devices becuse of which I have suggested the work around.

  • @anthadupulasuresh2539
    @anthadupulasuresh2539 2 года назад

    Thank you for making this video. But I wanna ask you something, sir. If I want delete the particular group of cell with the help of one cell as trigger to run the script, what i need to write. Please help in this regard.
    Thanks in advance

    • @valtbn
      @valtbn Год назад

      if you want to do based on a specific cell I would do this:
      function onEdit (e){
      var mySheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("name of the TAB were you want the script to act if the cell get changed");
      if(e.range.getA1Notation() == "A1" ) {
      NameOfTheScriptYouWantToRUNwhenTheCELLChanges();
      }}
      // A1 above is the cell that will triger the onEdit to work... You can even add a CheckBox just to have the ability to change it on your mobile app

  • @shubhamkonde7796
    @shubhamkonde7796 Год назад

    Hey, thanks for the tutorial but when I tried onEdit function just to enter hello in cell it works fine but when I'm trying to get data from a rest API it's not working. I don't understand what is happening.

  • @edsonsabino
    @edsonsabino 3 года назад +1

    Very very nice

  • @Evandermultimedia
    @Evandermultimedia 2 года назад +1

    please can you do me a video, i created a delete button. it run on a computer but is not running on a phone.
    i used drawing shape to create the delete button. but is not functioning on the phone

    • @AutomationMadeEasy
      @AutomationMadeEasy  2 года назад +1

      button wont work on mobile or tab hence i have provided a woraround

    • @Evandermultimedia
      @Evandermultimedia 2 года назад +1

      💔🤦‍♀️🤦‍♀️🤦‍♀️
      The company is asking me to develop a button that will work on the phone…..💔💔🤦‍♀️

  • @solartechdocument419
    @solartechdocument419 3 года назад +1

    Thank You. Could you tell me how to open a file using google apps script.

  • @truewisdomjunction
    @truewisdomjunction 3 месяца назад

    What If I want to use button on mobile device as well????

  • @universal-content
    @universal-content 3 года назад

    what's good in it?
    we don't need to trigger button on every edit.. is there any way to trigger this only on A2 cell ?

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 года назад +2

      function onEdit(e) {
      if (e.range.getA1Notation() == 'A2')
      //remaining code
      }
      }

    • @universal-content
      @universal-content 3 года назад

      @@AutomationMadeEasy yes thanks. I have found that.. ;)

    • @RA-zs1el
      @RA-zs1el 2 года назад

      @@AutomationMadeEasy Thank you this code is good for one function, but what if there are two functions that need to be run?

    • @apocalypticbean
      @apocalypticbean 2 года назад

      @@RA-zs1el enclose it in curly brackets { }

    • @rajiv6089
      @rajiv6089 Год назад

      @@apocalypticbean DUM DUM is A GENIUS ! .....These ... "curly baraces { } " .... saved my life, ....Thanks a Lot Dear, ................................ else(onEdit="fuckedme") ..........😀

  • @samueldeter9735
    @samueldeter9735 3 года назад +2

    What if you don't want it running every time you edit anything?

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 года назад +1

      we can restrict it execute only after you edit a specific cell.

    • @samueldeter9735
      @samueldeter9735 3 года назад

      @@AutomationMadeEasy perfect! What's the code for that?

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 года назад +3

      Assuming A1 is the cell:
      function onEdit(e) {
      if (e.range.getA1Notation() == 'A1')
      //remaining code
      }
      }

    • @databaseyho2105
      @databaseyho2105 3 года назад +3

      @@AutomationMadeEasy hey, i tried this but theres this error notivication : TypeError: Cannot read property 'range' of undefined, can you help me please

  • @sarapereiradonascimento258
    @sarapereiradonascimento258 3 года назад

    Thank you! How can i create a cycle? For example, when a function is to write a certain sentence, then it must be erased for a while, and later rewrite the same sentence again, and all this in a finite cycle. Help me please.

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 года назад

      need to understand the entire scenario to suggest a solution.

  • @RanjitKumar-xq6ks
    @RanjitKumar-xq6ks 4 года назад

    Thank u very much bro.

  • @yuyu2903
    @yuyu2903 3 года назад

    Hello and thanks for the tutorial
    Is this still working? I tested onEdit function and it works on desktop, but not on mobile when editing or switching cells

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 года назад +2

      yes, I still have the same sheet which is working

    • @yuyu2903
      @yuyu2903 3 года назад +2

      @@AutomationMadeEasy Oh thanks! I had a code error retrieving my active sheet. Now it is working

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 года назад

      great..

  • @gilmargilmar865
    @gilmargilmar865 9 месяцев назад

    Procuro algo para navegação entre abas (Menu) ?.

  • @sheesh772
    @sheesh772 Год назад

    how make it work in script that saves a pdf into specific folder (getfolderbyid? its says no permission

    • @AutomationMadeEasy
      @AutomationMadeEasy  Год назад

      refer below tutorial:
      ruclips.net/video/dknSPPg7LR0/видео.html

  • @yusbaculinarygourmet8272
    @yusbaculinarygourmet8272 3 года назад

    Can this script be running on iphone... I did and its runs good on android but not iphone

  • @isobutylformate8287
    @isobutylformate8287 Год назад

    I only have my mobile. How can I write and execute scripts using mobile?

  • @anakkantoran2928
    @anakkantoran2928 3 года назад

    so with image can not excute in android?

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 года назад

      not on hand held devices

    • @RA-zs1el
      @RA-zs1el 2 года назад

      @@AutomationMadeEasy what about Android tablets?

  • @dennisayoyi
    @dennisayoyi 3 года назад

    why did you delete the button??

    • @ConsulthinkProgrammer
      @ConsulthinkProgrammer 3 года назад

      Button can not be executed from mobile phone, but onEdit could.
      Hide Formula in Google Sheets - Part 4: Use More Than One onEdit(e)
      ruclips.net/video/_zWxWrrKT2Q/видео.html

    • @apocalypticbean
      @apocalypticbean 2 года назад

      No need for it because the script executes when the sheet is edited

  • @deepakdesai7093
    @deepakdesai7093 4 года назад

    Value True is run script

  • @apocalypticbean
    @apocalypticbean 2 года назад

    What is 'e'?

  • @mdpdme738
    @mdpdme738 4 года назад

    how to create geocode in mobile phone,

  • @andrebasson8442
    @andrebasson8442 2 года назад +1

    Im want to navigate from a index menu: So I copied this code from macro to navigate: the "test" works on mobile, but the "get sheet by name" works on pc but not mobile. Am I doing something wrong? Here is the code:
    function onEdit(e) {
    //SpreadsheetApp.getActiveSheet().getRange("B2").setValue("")
    //SpreadsheetApp.getActiveSheet().getRange("B2").setValue("testing")

    var spreadsheet = SpreadsheetApp.getActive();
    spreadsheet.getRange('D11').activate();
    spreadsheet.setActiveSheet(spreadsheet.getSheetByName('W_Jan'), true);

    }