简体   繁体   English

从 Google 表格单元格的工具提示中复制/粘贴文本

[英]Copy/Paste Text From The Tool-tip Of Google Sheets Cell

I want to capture the tooltip text of the URLs that Google sheet shows.我想捕获 Google 工作表显示的 URL 的工具提示文本。

I've this link in the Google sheet: https://www.vingle.net/我在谷歌表中有这个链接: https://www.vingle.net/

When I hover over this URL, this text is shown: Create an account or log in - Vingle is an interest-based community platform available via mobile and web, where users can connect with people who love what they love!当我在这个 URL 上 hover 时,会显示以下文字: 创建帐户或登录 - Vingle 是一个基于兴趣的社区平台,可通过移动设备访问,web

Like this:像这样:

在此处输入图像描述

This is what I want to do: Copy whatever text is shown in the popup/tooltip of the URL and paste it in the cell next to it.这就是我想要做的:复制 URL 的弹出/工具提示中显示的任何文本,并将其粘贴到它旁边的单元格中。 From this:由此:

在此处输入图像描述

To this:对此:

在此处输入图像描述

FYI, this is actually the meta tag.仅供参考,这实际上是元标记。 Most of you might offer IMPORT functions but the I don't want to use import function for some reason.你们中的大多数人可能会提供 IMPORT 功能,但出于某种原因我不想使用 import function。 I just want the text that Google sheet is already capturing.我只想要谷歌表已经捕获的文本。 Is it possible?可能吗?

Copy whatever text is shown in the popup/tooltip of the URL and paste it in the cell next to it.复制 URL 的弹出/工具提示中显示的任何文本,并将其粘贴到它旁边的单元格中。

I do not think that can be done in Google Sheets.我认为这不能在 Google 表格中完成。 There are no methods in the Sheets API nor in SpreadsheetApp to capture contents of a pop-up info panel. Sheets API 和 SpreadsheetApp 中没有方法来捕获弹出信息面板的内容。 You would have to retrieve the meta tag through an importdata() formula or a script that uses UrlFetchApp() .您必须通过importdata()公式或使用UrlFetchApp()的脚本来检索元标记。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM