OneNote:将屏幕/光标移动到笔记本中每一页的顶部



我有一系列OneNote 2010笔记本,每个笔记本都有数百页,分布在多个分区和分区组中,用作课堂参与者工作簿。编辑页面内容会使显示(光标/屏幕/插入点;不确定如何定义)集中在上次编辑上。

(这类似于Excel在重新打开电子表格时记住光标位置,而Word、PowerPoint等总是在最顶部打开文档。)

当参与者或主持人打开他们的笔记本时,由于OneNote在最后一个编辑位置打开了每个页面,因此每个页面都感觉是随机显示的。这应该显得干净、专业、有条理。

无论组织结构如何,我如何在OneNote笔记本中的每一页中进行迭代,并执行等效的CTRL-HOMECTRL-HOME操作?(第二个是为了好运。:-)

(奇怪的是,似乎没有其他人问过这个问题。我找不到任何UI方法来做到这一点。可能有手动编辑XML的方法,但这超出了我的能力。我熟悉VBA,但关键字和语法依赖于IDE,并且不懂OneNote对象模型。所以请最多把我当作一个脚本孩子。)

谢谢!

不知道4个月是否算是一个老问题,但Auto热键应该能够做到,如果不是全部,那么大部分都可以。我可以想出一种简单的方法,如果各部分的页数相似,这种方法效果最好。在一个新的.ahk脚本中:

; This script assumes you are starting at the first notebook you want to
; change, and the first loop is the number of notebooks to change
; (the notebooks are all in order)
; related to ahk internals.
#sendmode, input
; Trigger the script with ctrl + winkey + t
^#t::
; Loop enough times for each notebook
loop, 10
{
; loop enough times to get through all the sections in the book
loop, 20
{
send !{home} ; alt home, go to first page in section.
; internal loop, enough times to get through all the pages 
; in the biggest section
loop, 50
{
send ^{home} ; ctrl home. Cursor to start of page
send ^{pgdn} ; ctrl pgdown. Next page.
}
send ^{tab} ; ctrl tab. Next section.
}
;Shortcuts to open next notebook
send ^G
send {down}
send {return}
}
return

此脚本可能不会自动通过笔记本,因为onenote阻止外部向上/向下命令。不过,否则应该没问题。我还没有测试过。

最新更新