Is there a way to create custom button with an icon in Google Spreadsheets? I know I can create custom menu items, but button is more user-friendly.
You cannot add a menu item where you are point out to, but you can add custom Drawings and Images that can trigger a script function. This may even be better as you can position these buttons closer to the data/point of action.
Related
In a google document, is there a way to make a piece of text (or a hyperlink or a button inside the text) calling a google app script?
The options are to create a custom menu or a sidebar panel. For further details see:
https://developers.google.com/apps-script/guides/docs
https://developers.google.com/apps-script/guides/menus
https://developers.google.com/apps-script/guides/dialogs
Related questions:
Is it possible to modify the Google Docs/Sheets right-click context menu?
Add custom menu to a Google Document
Is it possible to customize the right click popup menu of the tab of a sheet at the bottom? Specifically, I wish to add to that menu a new menu item, one of my macro names currently available at tools.macros.myMacroName.
If possible, how to accomplish this? Thank you very much!
Not possible sorry.
Your options are any of those features available in the Class Ui. https://developers.google.com/apps-script/reference/base/ui.html.
Your macro/script could be set to act on the active sheet.
I am creating custom menu items for Google Sheets.
On the picture from manual, "Custom Menu" is moved to the left of "Help" built in menu.
Whereas by default the custom menu is placed to the end (to the right).
I didn't find related methods in Menu class per se.
The reason is to call my scripts by keyboard shortcuts, moving through menu items.
So far the only customized shortcuts are available via useless inconvenient macro.
unfortunately, this is not possible in Google Sheet, yet.
if a macro is inconvenient you can perhaps use some 3rd party tools like AutoHotKey.com
I'm making an application in google script editor for google slides where when the user hovers over the image, the image enlarges. Q1: Right now I have a onOpen function which calls a hover image function that should for each image on the slide user is selected, adds a mouseover event to each image. I'm having trouble with how to add mouseover event for images? Also is there a more efficent way to do this?
In a google document, is there a way to make a piece of text (or a hyperlink or a button inside the text) calling a google app script?
The options are to create a custom menu or a sidebar panel. For further details see:
https://developers.google.com/apps-script/guides/docs
https://developers.google.com/apps-script/guides/menus
https://developers.google.com/apps-script/guides/dialogs
Related questions:
Is it possible to modify the Google Docs/Sheets right-click context menu?
Add custom menu to a Google Document