Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-apps-script/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google apps script 如何在Google电子表格中获取键盘事件?_Google Apps Script_Google Sheets_Spreadsheet - Fatal编程技术网

Google apps script 如何在Google电子表格中获取键盘事件?

Google apps script 如何在Google电子表格中获取键盘事件?,google-apps-script,google-sheets,spreadsheet,Google Apps Script,Google Sheets,Spreadsheet,如何在Google电子表格中获取键盘事件? 我想在脚本中使用此事件格式化非相邻单元格。无法从应用程序脚本处理单元格的键盘事件。您只能在提交单元格更改后检测它(例如,用户键入并按下enter键),这不是键盘事件(它是范围编辑事件)

如何在Google电子表格中获取键盘事件?
我想在脚本中使用此事件格式化非相邻单元格。

无法从应用程序脚本处理单元格的键盘事件。您只能在提交单元格更改后检测它(例如,用户键入并按下enter键),这不是键盘事件(它是范围编辑事件)