在发布我们关于如何设置默认程序、关联文件类型和设置自动播放(AutoPlay)设置的系列文章后,显而易见的一件事是,Windows 7设置所有这些内容的能力有限。对我们来说幸运的是,有第三方程序,例如默认程序编辑器(Default Programs Editor),可以让您完成所有这些操作以及自定义上下文菜单。在本教程中,我将分享您可以从哪里获得这个很酷的程序以及它是如何工作的。
下载并打开默认程序编辑器(Default Programs Editor)
第一步是从这里下载(here)默认程序编辑器(Default Programs Editor)。二是解压刚刚下载的zip文件(zip file)。无需安装,打开“默认程序 Editor.exe”('Default programs Editor.exe')文件。这是您要在默认程序中进行的每个自定义的起点。
在主程序窗口(program window)中,您有几个选项:
-
文件类型设置(File Types Settings)- 允许您更改文件类型的默认程序(default program)、上下文菜单(context menu)、描述和图标;
-
自动播放设置(AutoPlay Settings)- 帮助添加、编辑或删除自动播放(AutoPlay)处理程序;
-
默认程序设置(Default Programs Settings)- 允许您添加或删除已注册的默认程序并更改其分配的类型。
如何编辑上下文菜单设置
上下文菜单(Context Menu)是您在右键单击文件或文件夹(file or folder)时看到的选项列表。默认程序编辑器(Default Programs Editor)允许您为每种文件类型自定义(file type)上下文菜单(context menu)。要更改这些设置,请单击主窗口中的“文件类型设置”('File Type Settings'),然后选择上下文菜单(Context Menu)。
在扩展列表中,向下滚动或使用搜索栏(search bar)找到要编辑的扩展,选择它并按下一步(Next)按钮。
每种文件类型(file type)都有一个或多个相关联的命令。对于每个命令,它都有一个程序集和一个范围。例如,“.jpg”文件可以预览、设置为桌面背景(desktop background)、编辑和打印。程序的范围可以是文件类型(file type)的扩展名- 仅特定扩展名或所有扩展名(例如所有图像)。单击(Click)“编辑选定命令...”('Edit Selected Command...')以对该命令进行进一步自定义。
在“编辑上下文菜单项”('Edit the context menu item')窗口中,您可以修改命令名称(command name)和将执行特定命令的应用程序。单击(Click)浏览(Browse)按钮以搜索所需的程序。要展开“高级设置”,('Advance Settings')请单击其名称附近的箭头。
在高级设置(Advance Settings)部分,您可以为某些文件类型设置命令范围(command scope)和命令类型(command type)。完成后按下一步(Next)按钮。
除了编辑命令外,您还可以添加(Add)或删除(Delete)命令。按添加(Add)按钮进入新的上下文菜单项(context menu item)详细信息。
例如,我希望有一个额外的选项,可以使用Google的Picasa Image Viewer打开任何(Picasa Image Viewer)JPEG 图像(JPEG image)。为此,我将命令名称(command name)设置为OpenPicasa并按下浏览(Browse)按钮在我的计算机上搜索程序路径。(program path)在“高级设置”('Advanced Settings')部分,我选择了命令范围'Only extensions of this file type(JPEG image) (recommended)'和命令类型,我设置了'Use Command line (recommended)'。然后我按下下一步按钮,现在我可以在(Next)“.jpg”的上下文菜单项列表中看到我的命令文件。
完成所有设置后,按“保存上下文菜单”('Save Context Menu')按钮。现在您将在上下文菜单(context menu)中看到新命令。对于我的示例,当我右键单击“.jpg”文件时,我可以看到我的命令包含在选项列表中。
当您在特定文件类型的(file type)“选择和更改上下文菜单项”('Select and change context menu items')窗口中时,您还可以删除现有命令。选择它们,按Delete按钮,然后按'Save Context Menu'。
如何编辑图标设置
对于每种文件类型,您可以更改为其显示的图标。在主窗口中选择“文件类型设置”('File Type Settings')后,单击图标(Icon)。通过滚动文件类型列表或使用搜索框(search box)找到它,选择您感兴趣的扩展名。
单击“浏览(Browse)”按钮以搜索要用于文件类型(file type)的图标。
默认情况下,启用“从图标预览推断资源路径”('Infer resource path from icon preview') 复选框(check box)。这允许程序从您选择的文件中提取图标。如果您想使用特定的“.ico”('.ico')文件,则需要取消选中此选项。
完成后,按保存图标(Save Icon)。
如何编辑文件类型描述(File Type Description)
描述是文件类型(file type)的名称。多个扩展名可以具有相同的描述,例如“JPEG image”是“.jpe,.jpeg,.jpg”扩展名的描述。要更改特定文件类型(file type)的说明,请单击主窗口中的“文件类型设置” ,然后单击('File Type Settings')说明(Description)。选择您感兴趣的扩展,然后按Next。
在指定的文本框中(text box and press) 写入新的描述,然后按“保存描述”('Save Description')。
所选文件类型(file type)现在将具有您设置的描述。
如何管理自动播放设置
在默认程序编辑器(Default Programs Editor)的主窗口中,选择“自动播放设置”('AutoPlay Settings')以添加、编辑或删除自动播放(AutoPlay)处理程序。对于每种媒体类型,您都会看到一个自动播放分配(AutoPlay assignment)。要更改一种媒体类型的自动播放(AutoPlay)设置,请双击它或选择它并按Next。
对于选定的媒体类型,您可以看到可用操作的列表和处理它的程序集。
要编辑一项操作,请选择它并按'Edit Selected Handler'。您可以编辑动作名称(action name),设置处理它的程序及其图标。完成后按下一步(Next)。
您还可以通过按添加(Add)按钮来添加新操作。您可以从现有处理程序中选择一个自动播放处理程序,也可以通过按(AutoPlay handler)“添加新处理程序”来创建一个新处理程序('Add a new handler')。
对于您创建的新处理程序,您必须设置名称和程序路径(program path)。动作的图标可以从您选择的程序中推断出来,或者您可以浏览并选择一个。例如,如果我希望使用Picasa打开每个图片媒体,我将执行以下操作:首先,我将从媒体类型列表中选择图片,然后按(Pictures)下一步(Next)按钮。
然后,我在“选择并更改图片媒体的自动播放选项”('Select and change autoplay choices for Pictures media')窗口中按添加(Add)按钮。
在“选择自动播放处理程序”('Choose autoplay handler')面板中,单击“添加新处理程序”('Add a new handler')。然后,我输入所有必要的处理程序详细信息:操作名称(action name)、程序路径(program path)、选择图标。完成后,我点击Next然后点击'Save Autoplay Settings'。
现在,每次我插入图片媒体设备时,都会打开Picasa 应用程序。(Picasa application)
要删除处理程序,请从可用操作列表中选择它,然后按Delete。完成自定义后,不要忘记单击保存自动播放设置。(Save AutoPlay Settings)
如何管理默认程序设置(Default Programs Settings)
要添加或删除注册的默认程序并更改其分配的类型,请单击主窗口中的“默认程序设置”('Default Programs Settings')。您将看到所有已注册程序的列表及其说明。
选择其中一个(Select one)已注册的程序,然后按下一步(Next)更改其关联。
从可用扩展列表中选择要与所选程序关联的扩展。完成后,单击“保存默认程序”('Save Default Programs'),将应用新设置。
结论
正如您从本教程中看到的那样,默认程序编辑(Default Programs Editor)器使用户可以从一个地方编辑与默认值(文件类型、程序、自动播放)相关的所有内容。(AutoPlay)此外,与Windows 7(Windows 7)提供的工具相比,它为您提供了更多的控制权。我们是这个小程序的忠实粉丝,我们真诚地向所有Windows 7用户推荐它。如果您对如何使用它有任何其他提示,请随时发表评论。
How to Customize File Types, AutoPlay & Default Programs Settings
One of the things that became obvious after publishing our serieѕ on how to set defaυlt programs, aѕsociate file types and set up AutoPlay settings, is that Windows 7 has limited capаbilitіes for settіng all these things. Fortunately for us, there are third party programs, such as the Default Programs Editor that allow you to do all this plus customize context menus. In this tutorial I will share where you can get this cool program from and how it works.
Download and Open the Default Programs Editor
First step is to download Default Programs Editor from here. The second is to unpack the zip file that you have just downloaded. With no installation required, open the 'Default programs Editor.exe' file. This is the starting point for every customization that you want to make in your default programs.
In the main program window you have several options:
-
File Types Settings - allows you to change the default program, context menu, description and the icon of file types;
-
AutoPlay Settings - helps add, edit or remove AutoPlay handlers;
-
Default Programs Settings - allows you to add or remove registered default programs and change their assigned types.
How to Edit Context Menu Settings
The Context Menu is the list of options that you see when you right-click on a file or folder. The Default Programs Editor allows you to customize the context menu for each file type. To change these settings, click on 'File Type Settings' in the main window and then choose Context Menu.
In the list of extensions, scroll down or use the search bar to find the one that you want to edit, select it and press the Next button.
Each file type has one or more commands associated. For each command it has a program set and a scope. For example, a '.jpg' file can be previewed, set as desktop background, edited and printed. The scope of the programs can be the extensions of the file type - only a specific extension or all the extensions (all images, for example). Click on 'Edit Selected Command...' to make further customizations on that command.
In the 'Edit the context menu item' window, you can modify the command name and the application that will execute the specific command. Click on the Browse button to search for your desired program. To expand 'Advance Settings' click on the arrow near its name.
In the Advance Settings section you can set, for some file types, the command scope and the command type. Press the Next button when you have finished.
Apart from editing a command, you can also Add or Delete one. Press the Add button to enter the new context menu item details.
For example, I wanted to have an extra option of opening any JPEG image with Google's Picasa Image Viewer. To achieve this, I have set the command name to OpenPicasa and pressed the Browse button to search for the program path on my computer. In the 'Advanced Settings' section I chose as command scope 'Only extensions of this file type(JPEG image) (recommended)' and as command type I've set 'Use Command line (recommended)'. Then I pressed the Next button and now I can see my command in the list of context menu items for '.jpg' files.
When finished making all settings, press the 'Save Context Menu' button. Now you will see the new command(s) in the context menu. For my example, when I right click a '.jpg' file I can see my command included on the list of options.
When you are in the 'Select and change context menu items' window of a specific file type, you can also delete existing commands. Select them, press the Delete button and then 'Save Context Menu'.
How to Edit Icon Settings
For each file type you can change the icon displayed for it. After choosing 'File Type Settings' in the main window, click on Icon. Select the extension you are interested in, by scrolling in the file types list or by finding it using the search box.
Click the Browse button to search the icon that you want to use for the file type.
By default, the 'Infer resource path from icon preview' check box is enabled. This allows the program to extract the icon from the file you have chosen. If you want to use a specific '.ico' file, then you need to uncheck this option.
When done, press Save Icon.
How to Edit The File Type Description
A description is the name of a file type. Several extensions can have the same description, such as 'JPEG image' is the description for the '.jpe,.jpeg,.jpg' extensions. To change the description for a specific file type, click on 'File Type Settings' in the main window and then on Description. Choose the extension you are interested in and press Next.
Write the new description in the designated text box and press 'Save Description'.
The selected file type will now have the description you've set.
How to Manage AutoPlay Settings
From the main window of Default Programs Editor, choose 'AutoPlay Settings' to add, edit or remove AutoPlay handlers. For each media type you will see an AutoPlay assignment. To change the AutoPlay settings for one media type, double click on it or select it and press Next.
For the selected media type you can see the list of available actions and the program set to handle it.
To edit one action, select it and press 'Edit Selected Handler'. You can edit the action name, set the program that handles it and its icon. Press Next when you have finished.
You can also add a new action by pressing the Add button. You can choose an AutoPlay handler from the existing ones or you can create a new one by pressing 'Add a new handler'.
For the new handler you create, you have to set a name and the program path. The action's icon can be inferred from the program you selected or you can browse and select one. For example, if I want each picture media to be opened with Picasa, I will do the following: first, I will choose Pictures from the list of media types and press the Next button.
Then, I press the Add button in the 'Select and change autoplay choices for Pictures media' window.
In the 'Choose autoplay handler' panel, I click on 'Add a new handler'. Then, I enter all the necessary handler details: action name, program path, choose an icon. When done, I click on Next and then on 'Save Autoplay Settings'.
Now, every time I plug in a picture media device, the Picasa application will open.
To delete a handler, select it from the list of available actions and press Delete. Don't forget to click Save AutoPlay Settings when you have finished your customization.
How to Manage Default Programs Settings
To add or remove registered default programs and change their assigned types, click on 'Default Programs Settings' in the main window. You will see the list of all the registered programs with their description.
Select one of the registered programs and press Next to change its associations.
From the list of available extensions choose the ones you want to associate with the selected program. When done, click 'Save Default Programs' and the new settings will be applied.
Conclusion
As you can see from this tutorial, Default Programs Editor gives users the possibility to edit everything related to defaults (file types, programs, AutoPlay) from one place. Plus, it gives you much more control compared to the tools offered by Windows 7. We are big fans of this little program and we honestly recommend it to all Windows 7 users. If you have any additional tips on how to use it, don't hesitate to leave a comment.