Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试开发雷鸟扩展,我需要在文件夹窗格中创建一个消息文件夹来移动一些消息。任何人都可以帮助我如何创建该文件夹。
这个页面对我帮助很大。查看“创建文件夹”一章。 它是这样说的:
Components.utils.import("resource://gre/modules/FileUtils.jsm"); var folder = FileUtils.getDir("ProfD", ["FolderName"], true);
您可以替换"ProfD"为另一个字符串(更多字符串)。
"ProfD"