Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.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 Apps Script_Google Sheets_Google Calendar Api - Fatal编程技术网

Google apps script 谷歌日历是否有';或';搜索操作员?“我的工作表”脚本能否执行';或';日历搜索?

Google apps script 谷歌日历是否有';或';搜索操作员?“我的工作表”脚本能否执行';或';日历搜索?,google-apps-script,google-sheets,google-calendar-api,Google Apps Script,Google Sheets,Google Calendar Api,我的脚本从指定的工作表单元格中提取搜索词并搜索我的日历。我想对多个术语进行“非此即彼”日历搜索。我在谷歌日历中找不到相关的搜索运营商。我的脚本可以调整以完成吗?我可以为2d术语添加2d搜索变量,然后调整{search:以执行OR搜索吗 var search0 = sh1.getRange("A1").getValue(); var events = cal.getEvents(new Date("January 12, 1990 00:00:00

我的脚本从指定的工作表单元格中提取搜索词并搜索我的日历。我想对多个术语进行“非此即彼”日历搜索。我在谷歌日历中找不到相关的搜索运营商。我的脚本可以调整以完成吗?我可以为2d术语添加2d搜索变量,然后调整{search:以执行OR搜索吗

     var search0 = sh1.getRange("A1").getValue();
     var events = cal.getEvents(new Date("January 12, 1990 00:00:00 EST"), new Date("May 18, 
     2050 23:59:59 EST"), {search:(search0)});

`

不,它不是,查询参数是自由文本并使用提供的所有单词搜索事件。您必须进行两次调用。不,它不是,查询参数是自由文本并使用提供的所有单词搜索事件。您必须进行两次调用。