在moi中怎样设置快捷键打开在MOI安装目录中的word文档?(How to set a shortcut key in MOI to open a Word document located in the MOI installation directory?)

Next
 From:  大道刀 (SUIYAN)
11795.1 
Hello Everyone

如标题所提问的问题,我想在MOI中通过快捷键打开指定的word文档,图片或者其他的文件,可以将文件放入MOI的根目录中如同EULA文件一样。这样我在使用moi时就不需要来回切换MOI和所需要看的文件,而是随时关闭和打开它们。(As the title asks, I would like to open a specified Word document, image, or other file in MOI using shortcut keys. The file can be placed in the root directory of MOI like an EULA file. This way, when using MOI, I don't need to switch back and forth between MOI and the files I need to view, but can always close and open them.)

EDITED: 10 Sep 2025 by SUIYAN

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
11795.2 In reply to 11795.1 
Hi SUIYAN, try putting this in for the "Command" part of the shortcut key:

script: moi.filesystem.shellExecute( moi.filesystem.getProcessDir() + 'filename.docx' );

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All