diff --git a/App.config b/App.config index 3b70a2d..08a5a6d 100644 --- a/App.config +++ b/App.config @@ -33,7 +33,7 @@ - + diff --git a/Constant/RunTimeStatus.cs b/Constant/RunTimeStatus.cs index ffb5b27..bbe5190 100644 --- a/Constant/RunTimeStatus.cs +++ b/Constant/RunTimeStatus.cs @@ -58,5 +58,7 @@ /// 控制每次刷新搜索结果 鼠标移动后显示popup /// public static int MOUSE_MOVE_COUNT = 0; + + } } diff --git a/Control/UserControls/Config/MotionControl.xaml b/Control/UserControls/Config/MotionControl.xaml index cd272b5..61c9085 100644 --- a/Control/UserControls/Config/MotionControl.xaml +++ b/Control/UserControls/Config/MotionControl.xaml @@ -27,7 +27,7 @@ - + @@ -37,7 +37,7 @@ - + @@ -47,7 +47,7 @@ - + @@ -57,7 +57,7 @@ - + @@ -67,7 +67,7 @@ - + @@ -77,7 +77,7 @@ - + @@ -128,13 +128,17 @@ KeyDown="HotKeyDown" KeyUp="HotKeyUp" InputMethod.IsInputMethodEnabled="False" - /> + > + + + + - + @@ -152,13 +156,17 @@ KeyDown="HotKeyDown" KeyUp="HotKeyUp" InputMethod.IsInputMethodEnabled="False" - /> + > + + + + - + @@ -177,13 +185,17 @@ KeyDown="HotKeyDown" KeyUp="HotKeyUp" InputMethod.IsInputMethodEnabled="False" - /> + > + + + + - + diff --git a/Control/UserControls/PannelCard/LeftCardControl.xaml b/Control/UserControls/PannelCard/LeftCardControl.xaml index a094440..ace84e8 100644 --- a/Control/UserControls/PannelCard/LeftCardControl.xaml +++ b/Control/UserControls/PannelCard/LeftCardControl.xaml @@ -199,7 +199,11 @@ Padding="2" BorderThickness="0" IsVisibleChanged="MenuEditWhenVisibilityChanged" - Visibility="{Binding MenuEdit}"/> + Visibility="{Binding MenuEdit}"> + + + + diff --git a/Control/UserControls/PannelCard/LeftCardControl.xaml.cs b/Control/UserControls/PannelCard/LeftCardControl.xaml.cs index 8899cae..f0d1abb 100644 --- a/Control/UserControls/PannelCard/LeftCardControl.xaml.cs +++ b/Control/UserControls/PannelCard/LeftCardControl.xaml.cs @@ -27,13 +27,14 @@ namespace GeekDesk.Control.UserControls.PannelCard { private int menuSelectIndexTemp = -1; private AppData appData = MainWindow.appData; - private SolidColorBrush bac = new SolidColorBrush(Color.FromRgb(236, 236, 236)); + private SolidColorBrush bac = new SolidColorBrush(Color.FromRgb(255, 255, 255)); + public LeftCardControl() { InitializeComponent(); - + bac.Opacity = 0.6; this.Loaded += (s, e) => { diff --git a/Control/UserControls/PannelCard/RightCardControl.xaml b/Control/UserControls/PannelCard/RightCardControl.xaml index 056bee2..a9140f7 100644 --- a/Control/UserControls/PannelCard/RightCardControl.xaml +++ b/Control/UserControls/PannelCard/RightCardControl.xaml @@ -148,6 +148,7 @@ diff --git a/GeekDesk.csproj b/GeekDesk.csproj index eadb3e3..708f81f 100644 --- a/GeekDesk.csproj +++ b/GeekDesk.csproj @@ -275,6 +275,10 @@ + + + + SecondsWindow.xaml @@ -290,6 +294,8 @@ + + @@ -481,6 +487,18 @@ + + Always + + + Always + + + Always + + + Always + @@ -552,6 +570,26 @@ + + + Always + + + Always + + + + + + + + Always + + + Always + + + @@ -578,7 +616,8 @@ ; Move all assemblies and related files to lib folder -ROBOCOPY "$(TargetDir) " "$(TargetDir)lib\ " /XF Data *.exe *.config *.manifest /XD lib logs bak /E /IS /MOVE +ROBOCOPY "$(TargetDir) " "$(TargetDir)lib\ " /XF Data *.exe *.config *.manifest /XD "$(TargetDir)lib" plugins logs bak /E /IS /MOVE +ROBOCOPY "$(TargetDir) " "$(TargetDir)lib\ " *.dll /XD "$(TargetDir)lib" /E /S /MOVE if %25errorlevel%25 leq 4 exit 0 else exit %25errorlevel%25 \ No newline at end of file diff --git a/MainWindow.xaml b/MainWindow.xaml index e5d0ba5..17e6f47 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -144,7 +144,11 @@ FontSize="16" BorderThickness="0" TextChanged="SearchBox_TextChanged" - /> + > + + + + /// 搜索快捷键按下 @@ -115,8 +123,26 @@ namespace GeekDesk string inputText = SearchBox.Text.ToLower(); RightCard.VerticalUFG.Visibility = Visibility.Collapsed; if (!string.IsNullOrEmpty(inputText)) + { + searchDelayHelper.DelayExecute(inputText); + } + else { SearchIconList.IconList.Clear(); + } + + } + + private void SearchDelay(object sender, EventArgs args) + { + this.Dispatcher.Invoke(() => + { + SearchIconList.IconList.Clear(); + + DelayHelper dh = sender as DelayHelper; + string inpuText = dh.Source as string; + + //GeekDesk数据搜索 ObservableCollection menuList = appData.MenuList; foreach (MenuInfo menu in menuList) { @@ -124,22 +150,83 @@ namespace GeekDesk foreach (IconInfo icon in iconList) { string pyName = Pinyin.GetInitials(icon.Name).ToLower(); - if (icon.Name.Contains(inputText) || pyName.Contains(inputText)) + if (icon.Name.Contains(inpuText) || pyName.Contains(inpuText)) { SearchIconList.IconList.Add(icon); } } } - } - else - { - SearchIconList.IconList.Clear(); - } - if (RightCard.SearchListBox.Items.Count > 0) - { - RightCard.SearchListBox.SelectedIndex = 0; - } - RightCard.VerticalUFG.Visibility = Visibility.Visible; + + + new Thread(() => + { + //EveryThing全盘搜索 + + + EveryThing64.Everything_SetSearchW(inpuText); + EveryThing64.Everything_SetRequestFlags( + EveryThingConst.EVERYTHING_REQUEST_FILE_NAME + | EveryThingConst.EVERYTHING_REQUEST_PATH + | EveryThingConst.EVERYTHING_REQUEST_DATE_MODIFIED + | EveryThingConst.EVERYTHING_REQUEST_SIZE); + EveryThing64.Everything_SetSort(13); + + EveryThing64.Everything_QueryW(true); + + UInt32 ui = 0; + string filePath; + const int bufsize = 260; + StringBuilder buf = new StringBuilder(bufsize); + for (int i = 0; ui < EveryThing64.Everything_GetNumResults() && i < 10; i++, ui++) + { + buf.Clear(); + EveryThing64.Everything_GetResultFullPathName(ui, buf, bufsize); + filePath = buf.ToString(); + + string tempPath = filePath; + + //string base64 = ImageUtil.FileImageToBase64(path, System.Drawing.Imaging.ImageFormat.Png); + string ext = ""; + if (!ImageUtil.IsSystemItem(filePath)) + { + ext = System.IO.Path.GetExtension(filePath).ToLower(); + } + + string iconPath = null; + if (".lnk".Equals(ext)) + { + + string targetPath = FileUtil.GetTargetPathByLnk(filePath); + iconPath = FileUtil.GetIconPathByLnk(filePath); + if (targetPath != null) + { + filePath = targetPath; + } + } + + IconInfo iconInfo = new IconInfo + { + Path_NoWrite = filePath, + LnkPath_NoWrite = tempPath, + BitmapImage_NoWrite = null, + StartArg_NoWrite = FileUtil.GetArgByLnk(tempPath), + Name_NoWrite = System.IO.Path.GetFileNameWithoutExtension(tempPath), + }; + //IconInfo iconInfo = CommonCode.GetIconInfoByPath_NoWrite(filePath); + this.Dispatcher.Invoke(() => + { + SearchIconList.IconList.Add(iconInfo); + }); + } + }).Start(); + + + if (RightCard.SearchListBox.Items.Count > 0) + { + RightCard.SearchListBox.SelectedIndex = 0; + } + RightCard.VerticalUFG.Visibility = Visibility.Visible; + }); } /// @@ -239,6 +326,13 @@ namespace GeekDesk //毛玻璃 暂时未解决阴影问题 //BlurGlassUtil.EnableBlur(this); + //开启延迟搜索 优化搜索功能 + searchDelayHelper.Idled += SearchDelay; + + //开启EveryThing插件 + EveryThingUtil.StartEveryThing(Constants.PLUGINS_PATH); + + MessageUtil.ChangeWindowMessageFilter(MessageUtil.WM_COPYDATA, 1); } diff --git a/Plugins/EveryThing/32/Everything.exe b/Plugins/EveryThing/32/Everything.exe new file mode 100644 index 0000000..41ef5a3 Binary files /dev/null and b/Plugins/EveryThing/32/Everything.exe differ diff --git a/Plugins/EveryThing/32/Everything.ini b/Plugins/EveryThing/32/Everything.ini new file mode 100644 index 0000000..b06380d --- /dev/null +++ b/Plugins/EveryThing/32/Everything.ini @@ -0,0 +1,740 @@ +; Please make sure Everything is not running before modifying this file. +[Everything] +run_as_admin=0 +allow_http_server=1 +allow_etp_server=1 +window_x=617 +window_y=182 +window_wide=794 +window_high=664 +maximized=0 +minimized=0 +fullscreen=0 +ontop=0 +bring_into_view=1 +alpha=255 +match_whole_word=0 +match_path=0 +match_case=0 +match_diacritics=0 +match_regex=0 +view=0 +thumbnail_size=64 +thumbnail_fill=0 +min_thumbnail_size=32 +max_thumbnail_size=256 +medium_thumbnail_size=64 +large_thumbnail_size=128 +extra_large_thumbnail_size=256 +thumbnail_load_size=0 +thumbnail_overlay_icon=1 +shell_max_path=0 +allow_multiple_windows=0 +allow_multiple_instances=0 +run_in_background=1 +show_in_taskbar=0 +show_tray_icon=0 +minimize_to_tray=0 +toggle_window_from_tray_icon=0 +alternate_row_color=0 +show_mouseover=0 +check_for_updates_on_startup=0 +beta_updates=0 +show_highlighted_search_terms=1 +text_size=0 +hide_empty_search_results=0 +clear_selection_on_search=1 +show_focus_on_search=0 +new_window_key=0 +show_window_key=0 +toggle_window_key=0 +language=0 +show_selected_item_in_statusbar=1 +statusbar_selected_item_format= +show_size_in_statusbar=0 +statusbar_size_format=0 +open_folder_command2= +open_file_command2= +open_path_command2= +explore_command2= +explore_path_command2= +window_title_format= +taskbar_notification_title_format= +instance_name=GeekDesk_EveryThing +translucent_selection_rectangle_alpha=70 +min_zoom=-6 +max_zoom=27 +context_menu_type=0 +context_menu_shell_extensions=1 +auto_include_fixed_volumes=1 +auto_include_removable_volumes=0 +auto_remove_offline_ntfs_volumes=1 +auto_remove_moved_ntfs_volumes=1 +auto_include_fixed_refs_volumes=1 +auto_include_removable_refs_volumes=0 +auto_remove_offline_refs_volumes=1 +auto_remove_moved_refs_volumes=1 +find_mount_points_on_removable_volumes=0 +scan_volume_drive_letters=1 +last_export_type=0 +max_threads=0 +reuse_threads=1 +find_subfolders_and_files_max_threads=0 +single_parent_context_menu=0 +auto_size_1=512 +auto_size_2=640 +auto_size_3=768 +auto_size_aspect_ratio_x=9 +auto_size_aspect_ratio_y=7 +auto_size_width_only=0 +auto_size_path_x=1 +auto_size_path_y=2 +sticky_vscroll_bottom=1 +last_options_page=2 +draw_focus_rect=1 +date_format= +time_format= +listview_item_high=0 +single_click_open=0 +underline_icon_titles=0 +icons_only=0 +icon_shell_extensions=1 +auto_scroll_repeat_delay=250 +auto_scroll_repeat_rate=50 +open_many_files_warning_threshold=16 +set_foreground_window_attach_thread_input=0 +debug=0 +debug_log=0 +verbose=0 +lvm=1 +ipc=1 +home_match_case=1 +home_match_whole_word=0 +home_match_path=0 +home_match_diacritics=0 +home_regex=0 +home_search=1 +home_filter=0 +home_sort=0 +home_view=0 +home_index=1 +allow_multiple_windows_from_tray=0 +single_click_tray=0 +close_on_execute=0 +double_click_path=0 +update_display_after_scroll=0 +update_display_after_mask=1 +auto_scroll_view=0 +double_quote_copy_as_path=0 +snap=0 +snaplen=10 +rename_select_filepart_only=1 +rename_move_caret_to_selection_end=0 +rename_nav=0 +search_edit_move_caret_to_selection_end=0 +search_edit_drag_accept_files=0 +select_search_on_mouse_click=1 +focus_search_on_activate=0 +reset_vscroll_on_search=1 +wrap_focus=0 +load_icon_priority=0 +load_thumbnail_priority=0 +load_fileinfo_priority=0 +always_request_all_fileinfo=0 +header_high=0 +hide_on_close=0 +max_hidden_windows=0 +winmm=0 +menu_escape_amp=1 +menu_folders=0 +menu_folder_separator= +menu_items_per_column=0 +new_inherit=1 +full_row_select=0 +tray_show_command_line= +dpi=96 +ctrl_mouse_wheel_action=1 +lvm_scroll=1 +allow_open=1 +allow_context_menu=1 +allow_delete=1 +allow_rename=1 +allow_cut=1 +allow_copy=1 +allow_paste=1 +allow_drag_drop=1 +allow_window_message_filter_dragdrop=0 +auto_column_widths=0 +hotkey_explorer_path_search=0 +hotkey_user_notification_state=0 +get_key_name_text=1 +paste_new_line_op=0 +esc_cancel_action=1 +fast_ascii_search=1 +match_path_when_search_contains_path_separator=1 +allow_literal_operators=0 +allow_round_bracket_parenthesis=0 +expand_environment_variables=0 +search_as_you_type=1 +always_update_query_on_search_parameter_change=0 +convert_forward_slash_to_backslash=0 +match_whole_filename_when_using_wildcards=1 +operator_precedence=0 +replace_exact_trailing_star_dot_star_with_star=1 +allow_exclamation_point_not=1 +search_command_prefix= +auto_complete_search_command=1 +double_buffer=1 +search= +show_number_of_results_with_selection=0 +date_descending_first=1 +size_descending_first=1 +size_format=2 +alpha_select=0 +tooltips=1 +listview_tooltips=1 +show_detailed_listview_tooltips=1 +rtl_listview_edit=0 +force_path_ltr_order=1 +force_path_left_align=1 +date_time_order=0 +date_time_align=1 +size_align=3 +invert_layout=0 +update_layout_on_input_language_change=0 +control_shift_action=3 +change_search_rtl_reading_action=3 +invert_layout_action=3 +bookmark_remember_case=1 +bookmark_remember_wholeword=1 +bookmark_remember_path=1 +bookmark_remember_diacritic=1 +bookmark_remember_regex=1 +bookmark_remember_sort=1 +bookmark_remember_view=1 +bookmark_remember_filter=1 +bookmark_remember_index=1 +bookmark_remember_search=1 +bookmark_organize_x=0 +bookmark_organize_y=0 +bookmark_organize_wide=0 +bookmark_organize_high=0 +exclude_list_enabled=1 +exclude_hidden_files_and_folders=0 +exclude_system_files_and_folders=0 +include_only_files= +exclude_files= +db_location= +db_multi_user_filename=0 +db_compress=0 +index_size=1 +fast_size_sort=1 +index_date_created=0 +fast_date_created_sort=0 +index_date_modified=1 +fast_date_modified_sort=1 +index_date_accessed=0 +fast_date_accessed_sort=0 +index_attributes=0 +fast_attributes_sort=0 +index_folder_size=0 +fast_path_sort=1 +fast_extension_sort=0 +extended_information_cache_monitor=1 +db_update_thread_priority=-15 +index_recent_changes=1 +refs_file_id_extd_directory_info_buffer_size=0 +folder_update_thread_mode_background=0 +folder_update_rescan_asap=1 +monitor_thread_mode_background=1 +monitor_retry_delay=30000 +monitor_update_delay=1000 +monitor_pause=0 +usn_record_filter=0xffffffff +cancel_delay=0x000003e8 +allow_ntfs_open_file_by_id=1 +always_update_folder_recent_change=0 +editor_x=0 +editor_y=0 +editor_wide=0 +editor_high=0 +editor_maximized=0 +file_list_relative_paths=0 +rename_x=0 +rename_y=0 +rename_wide=0 +rename_high=0 +rename_match_case=0 +rename_regex=0 +advanced_copy_to_x=0 +advanced_copy_to_y=0 +advanced_copy_to_wide=0 +advanced_copy_to_high=0 +advanced_copy_to_match_case=0 +advanced_copy_to_regex=0 +advanced_move_to_x=0 +advanced_move_to_y=0 +advanced_move_to_wide=0 +advanced_move_to_high=0 +advanced_move_to_match_case=0 +advanced_move_to_regex=0 +advanced_search_x=0 +advanced_search_y=0 +advanced_search_wide=0 +advanced_search_high=0 +advanced_search_page_y_offset=0 +advanced_search_focus_id=0 +advanced_search_warnings=1 +max_recv_size=8388608 +display_full_path_name=0 +size_tiny=10240 +size_small=102400 +size_medium=1048576 +size_large=16777216 +size_huge=134217728 +themed_toolbar=1 +show_copy_name=2 +show_copy_path=2 +show_copy_full_name=2 +show_open_path=2 +show_explore=2 +show_explore_path=2 +copy_path_folder_append_backslash=0 +custom_verb01= +custom_verb02= +custom_verb03= +custom_verb04= +custom_verb05= +custom_verb06= +custom_verb07= +custom_verb08= +custom_verb09= +custom_verb10= +custom_verb11= +custom_verb12= +filters_visible=0 +filters_wide=128 +filters_right_align=1 +filters_tab_stop=0 +filter= +filter_everything_name= +filter_organize_x=0 +filter_organize_y=0 +filter_organize_wide=0 +filter_organize_high=0 +preview_visible=0 +preview_x=640 +preview_tab_stop=0 +preview_mag_filter=0 +preview_min_filter=0 +preview_fill=0 +show_preview_handlers_in_preview_pane=0 +preview_load_size=0 +preview_context=0x00000000 +preview_release_handler_on_clear=0 +sort=Run Count +sort_ascending=0 +always_keep_sort=0 +index=0 +index_file_list= +index_etp_server= +index_link_type=1 +status_bar_visible=1 +select_search_on_focus_mode=1 +select_search_on_set_mode=2 +search_history_enabled=0 +run_history_enabled=0 +search_history_days_to_keep=90 +run_history_days_to_keep=90 +search_history_keep_forever=1 +run_history_keep_forever=1 +search_history_always_suggest=0 +search_history_always_suggest_extend_toolbar=0 +search_history_visible_count_max=12 +search_history_always_suggest_visible_count_max=1 +search_history_show_all_max=256 +search_history_suggestion_max=256 +search_history_show_all_sort=2 +search_history_suggestion_sort=1 +search_history_show_above=0 +search_history_sort=2 +search_history_sort_ascending=0 +search_history_x=0 +search_history_y=0 +search_history_wide=0 +search_history_high=0 +search_history_column_search_wide=208 +search_history_column_search_order=0 +search_history_column_count_wide=128 +search_history_column_count_order=1 +search_history_column_date_wide=128 +search_history_column_date_order=2 +etp_server_enabled=0 +etp_server_bindings= +etp_server_port=21 +etp_server_username= +etp_server_password= +etp_server_welcome_message= +etp_server_log_file_name= +etp_server_logging_enabled=0 +etp_server_log_max_size=4194304 +etp_server_log_delta_size=524288 +etp_server_allow_file_download=1 +ftp_allow_port=1 +ftp_check_data_connection_ip=1 +http_server_enabled=0 +http_server_bindings= +http_title_format= +http_server_port=80 +http_server_username= +http_server_password= +http_server_home= +http_server_default_page= +http_server_log_file_name= +http_server_logging_enabled=0 +http_server_log_max_size=4194304 +http_server_log_delta_size=524288 +http_server_allow_file_download=1 +http_server_items_per_page=32 +http_server_show_drive_labels=0 +http_server_strings= +http_server_header= +service_pipe_name= +name_column_pos=0 +name_column_width=256 +path_column_visible=1 +path_column_pos=1 +path_column_width=256 +size_column_visible=1 +size_column_pos=2 +size_column_width=96 +extension_column_visible=0 +extension_column_pos=3 +extension_column_width=96 +type_column_visible=0 +type_column_pos=4 +type_column_width=96 +last_write_time_column_visible=1 +last_write_time_column_pos=3 +last_write_time_column_width=153 +creation_time_column_visible=0 +creation_time_column_pos=6 +creation_time_column_width=153 +date_accessed_column_visible=0 +date_accessed_column_pos=7 +date_accessed_column_width=153 +attribute_column_visible=0 +attribute_column_pos=8 +attribute_column_width=70 +date_recently_changed_column_visible=0 +date_recently_changed_column_pos=9 +date_recently_changed_column_width=153 +run_count_column_visible=0 +run_count_column_pos=10 +run_count_column_width=96 +date_run_column_visible=0 +date_run_column_pos=11 +date_run_column_width=153 +file_list_filename_column_visible=0 +file_list_filename_column_pos=12 +file_list_filename_column_width=96 +translucent_selection_rectangle_background_color= +translucent_selection_rectangle_border_color= +thumbnail_mouseover_border_color= +preview_background_color= +ntfs_volume_guids="\\\\?\\Volume{6afe1915-0a0b-4e59-96bc-666ff914ea4f}","\\\\?\\Volume{71be44cf-e03a-462f-a9c8-b53c16e002a4}" +ntfs_volume_paths="C:","D:" +ntfs_volume_roots="","" +ntfs_volume_includes=1,1 +ntfs_volume_load_recent_changes=0,0 +ntfs_volume_include_onlys="","" +ntfs_volume_monitors=1,1 +refs_volume_guids= +refs_volume_paths= +refs_volume_roots= +refs_volume_includes= +refs_volume_load_recent_changes= +refs_volume_include_onlys= +refs_volume_monitors= +filelists= +filelist_monitor_changes= +folders= +folder_monitor_changes= +folder_buffer_size_list= +folder_rescan_if_full_list= +folder_update_types= +folder_update_days= +folder_update_ats= +folder_update_intervals= +folder_update_interval_types= +exclude_folders= +connect_history_hosts= +connect_history_ports= +connect_history_usernames= +connect_history_link_types= +etp_client_rewrite_patterns= +etp_client_rewrite_substitutions= +file_new_search_window_keys=334 +file_open_file_list_keys=335 +file_close_file_list_keys= +file_close_keys=343,27 +file_export_keys=339 +file_copy_full_name_to_clipboard_keys=9539 +file_copy_path_to_clipboard_keys= +file_set_run_count_keys= +file_create_shortcut_keys= +file_delete_keys=8238 +file_delete_permanently_keys=9262 +file_edit_keys= +file_open_keys=8205 +file_open_selection_and_close_everything_keys= +file_explore_path_keys= +file_open_new_keys= +file_open_path_keys=8461 +file_open_with_keys= +file_open_with_default_verb_keys= +file_play_keys= +file_preview_keys= +file_print_keys= +file_print_to_keys= +file_properties_keys=8717 +file_read_extended_information_keys=8517 +file_rename_keys=8305 +file_run_as_keys= +file_exit_keys=337 +file_copy_name_to_clipboard_keys= +file_open_selection_and_do_not_close_everything_keys= +file_open_most_run_keys= +file_open_last_run_keys= +file_custom_verb_1_keys= +file_custom_verb_2_keys= +file_custom_verb_3_keys= +file_custom_verb_4_keys= +file_custom_verb_5_keys= +file_custom_verb_6_keys= +file_custom_verb_7_keys= +file_custom_verb_8_keys= +file_custom_verb_9_keys= +file_custom_verb_10_keys= +file_custom_verb_11_keys= +file_custom_verb_12_keys= +indexes_folders_rescan_all_now_keys= +indexes_force_rebuild_keys= +edit_cut_keys=8536 +edit_copy_keys=8515,8493 +edit_paste_keys=8534,9261 +edit_select_all_keys=8513 +edit_invert_selection_keys= +edit_copy_to_folder_keys= +edit_move_to_folder_keys= +edit_advanced_advanced_copy_to_folder_keys= +edit_advanced_advanced_move_to_folder_keys= +view_filters_keys= +view_preview_keys=592 +view_status_bar_keys= +view_details_keys=1334 +view_medium_thumbnails_keys=1331 +view_large_thumbnails_keys=1330 +view_extra_large_thumbnails_keys=1329 +view_increase_thumbnail_size_keys=1467 +view_decrease_thumbnail_size_keys=1469 +view_window_size_small_keys=561 +view_window_size_medium_keys=562 +view_window_size_large_keys=563 +view_window_size_auto_fit_keys=564 +view_zoom_zoom_in_keys=443 +view_zoom_zoom_out_keys=445 +view_zoom_reset_keys=304,352 +view_go_to_back_keys=549,166 +view_go_to_forward_keys=551,167 +view_go_to_home_keys=548 +view_go_to_show_all_history_keys=1352,328 +view_sort_by_name_keys=305 +view_sort_by_path_keys=306 +view_sort_by_size_keys=307 +view_sort_by_extension_keys=308 +view_sort_by_type_keys=309 +view_sort_by_date_modified_keys=310 +view_sort_by_date_created_keys=311 +view_sort_by_attributes_keys=312 +view_sort_by_file_list_filename_keys= +view_sort_by_run_count_keys= +view_sort_by_date_run_keys= +view_sort_by_date_recently_changed_keys=313 +view_sort_by_date_accessed_keys= +view_sort_by_ascending_keys= +view_sort_by_descending_keys= +view_refresh_keys=116 +view_fullscreen_keys=122 +view_toggle_ltrrtl_direction_keys= +view_on_top_never_keys= +view_on_top_always_keys= +view_on_top_while_searching_keys= +search_match_case_keys=329 +search_match_whole_word_keys=322 +search_match_path_keys=341 +search_match_diacritics_keys=333 +search_enable_regex_keys=338 +search_advanced_search_keys= +search_add_to_filters_keys= +search_organize_filters_keys=1350 +bookmarks_add_to_bookmarks_keys=324 +bookmarks_organize_bookmarks_keys=1346 +tools_options_keys=336 +tools_console_keys=448 +tools_file_list_editor_keys= +tools_connect_to_etp_server_keys= +tools_disconnect_from_etp_server_keys= +help_everything_help_keys=112 +help_search_syntax_keys= +help_regex_syntax_keys= +help_command_line_options_keys= +help_everything_website_keys= +help_check_for_updates_keys= +help_about_everything_keys=368 +help_donate_keys= +search_edit_focus_search_edit_keys=326,114,580 +search_edit_delete_previous_word_keys=4360 +search_edit_auto_complete_search_keys=4384 +search_edit_show_search_history_keys= +search_edit_show_all_search_history_keys=4646,4648 +result_list_item_up_keys=8230,4134 +result_list_item_down_keys=8232,4136 +result_list_page_up_keys=8225,4129 +result_list_page_down_keys=8226,4130 +result_list_start_of_list_keys=8228 +result_list_end_of_list_keys=8227 +result_list_item_up_extend_keys=9254,5158 +result_list_item_down_extend_keys=9256,5160 +result_list_page_up_extend_keys=9249,5153 +result_list_page_down_extend_keys=9250,5154 +result_list_start_of_list_extend_keys=9252 +result_list_end_of_list_extend_keys=9251 +result_list_focus_up_keys=8486,4390 +result_list_focus_down_keys=8488,4392 +result_list_focus_page_up_keys=8481,4385 +result_list_focus_page_down_keys=8482,4386 +result_list_focus_start_of_list_keys=8484 +result_list_focus_end_of_list_keys=8483 +result_list_focus_up_extend_keys=9510,5414 +result_list_focus_down_extend_keys=9512,5416 +result_list_focus_page_up_extend_keys=9505,5409 +result_list_focus_page_down_extend_keys=9506,5410 +result_list_focus_start_of_list_extend_keys=9508 +result_list_focus_end_of_list_extend_keys=9507 +result_list_focus_result_list_keys= +result_list_focus_highest_run_count_result_keys= +result_list_focus_last_run_result_keys= +result_list_toggle_path_column_keys= +result_list_toggle_size_column_keys= +result_list_toggle_extension_column_keys= +result_list_toggle_type_column_keys= +result_list_toggle_date_modified_column_keys= +result_list_toggle_date_created_column_keys= +result_list_toggle_attributes_column_keys= +result_list_toggle_file_list_filename_column_keys= +result_list_toggle_run_count_column_keys= +result_list_toggle_date_recently_changed_column_keys= +result_list_toggle_date_accessed_column_keys= +result_list_toggle_date_run_column_keys= +result_list_size_all_columns_to_fit_keys=8555 +result_list_size_result_list_to_fit_keys= +result_list_context_menu_keys=9337 +result_list_scroll_left_or_thumbnail_left_keys=8229 +result_list_scroll_right_or_thumbnail_right_keys=8231 +result_list_scroll_page_left_or_thumbnail_focus_left_keys=8485 +result_list_scroll_page_right_or_thumbnail_focus_right_keys=8487 +result_list_left_extend_keys=9253 +result_list_right_extend_keys=9255 +result_list_focus_left_extend_keys=9509 +result_list_focus_right_extend_keys=9511 +result_list_select_focus_keys=8224 +result_list_toggle_focus_selection_keys=8480 +result_list_copy_as_csv_keys= +preview_focus_preview_keys= +result_list_font= +result_list_font_size= +search_edit_font= +search_edit_font_size= +status_bar_font= +status_bar_font_size= +header_font= +header_font_size= +normal_background_color= +normal_foreground_color= +normal_bold= +highlighted_background_color= +highlighted_foreground_color= +highlighted_bold= +current_sort_background_color= +current_sort_foreground_color= +current_sort_bold= +current_sort_highlighted_background_color= +current_sort_highlighted_foreground_color= +current_sort_highlighted_bold= +selected_background_color= +selected_foreground_color= +selected_bold= +selected_highlighted_background_color= +selected_highlighted_foreground_color= +selected_highlighted_bold= +selected_inactive_background_color= +selected_inactive_foreground_color= +selected_inactive_bold= +selected_inactive_highlighted_background_color= +selected_inactive_highlighted_foreground_color= +selected_inactive_highlighted_bold= +drop_target_background_color= +drop_target_foreground_color= +drop_target_bold= +drop_target_highlighted_background_color= +drop_target_highlighted_foreground_color= +drop_target_highlighted_bold= +mouseover_background_color= +mouseover_foreground_color= +mouseover_bold= +mouseover_highlighted_background_color= +mouseover_highlighted_foreground_color= +mouseover_highlighted_bold= +mouseover_current_sort_background_color= +mouseover_current_sort_foreground_color= +mouseover_current_sort_bold= +mouseover_current_sort_highlighted_background_color= +mouseover_current_sort_highlighted_foreground_color= +mouseover_current_sort_highlighted_bold= +alternate_row_background_color= +alternate_row_foreground_color= +alternate_row_bold= +alternate_row_highlighted_background_color= +alternate_row_highlighted_foreground_color= +alternate_row_highlighted_bold= +current_sort_alternate_row_background_color= +current_sort_alternate_row_foreground_color= +current_sort_alternate_row_bold= +current_sort_alternate_row_highlighted_background_color= +current_sort_alternate_row_highlighted_foreground_color= +current_sort_alternate_row_highlighted_bold= +hot_background_color= +hot_foreground_color= +hot_bold= +hot_highlighted_background_color= +hot_highlighted_foreground_color= +hot_highlighted_bold= +selected_hot_background_color= +selected_hot_foreground_color= +selected_hot_bold= +selected_hot_highlighted_background_color= +selected_hot_highlighted_foreground_color= +selected_hot_highlighted_bold= +selected_inactive_hot_background_color= +selected_inactive_hot_foreground_color= +selected_inactive_hot_bold= +selected_inactive_hot_highlighted_background_color= +selected_inactive_hot_highlighted_foreground_color= +selected_inactive_hot_highlighted_bold= +thumbnail_mouseover_background_color= +thumbnail_mouseover_foreground_color= +thumbnail_mouseover_bold= +thumbnail_mouseover_highlighted_background_color= +thumbnail_mouseover_highlighted_foreground_color= +thumbnail_mouseover_highlighted_bold= diff --git a/Plugins/EveryThing/32/Everything.lng b/Plugins/EveryThing/32/Everything.lng new file mode 100644 index 0000000..9b2504e Binary files /dev/null and b/Plugins/EveryThing/32/Everything.lng differ diff --git a/Plugins/EveryThing/64/Everything.exe b/Plugins/EveryThing/64/Everything.exe new file mode 100644 index 0000000..14d0940 Binary files /dev/null and b/Plugins/EveryThing/64/Everything.exe differ diff --git a/Plugins/EveryThing/64/Everything.ini b/Plugins/EveryThing/64/Everything.ini new file mode 100644 index 0000000..96261b6 --- /dev/null +++ b/Plugins/EveryThing/64/Everything.ini @@ -0,0 +1,740 @@ +; Please make sure Everything is not running before modifying this file. +[Everything] +run_as_admin=0 +allow_http_server=1 +allow_etp_server=1 +window_x=0 +window_y=0 +window_wide=0 +window_high=0 +maximized=0 +minimized=0 +fullscreen=0 +ontop=0 +bring_into_view=1 +alpha=255 +match_whole_word=0 +match_path=0 +match_case=0 +match_diacritics=0 +match_regex=0 +view=0 +thumbnail_size=64 +thumbnail_fill=0 +min_thumbnail_size=32 +max_thumbnail_size=256 +medium_thumbnail_size=64 +large_thumbnail_size=128 +extra_large_thumbnail_size=256 +thumbnail_load_size=0 +thumbnail_overlay_icon=1 +shell_max_path=0 +allow_multiple_windows=0 +allow_multiple_instances=0 +run_in_background=1 +show_in_taskbar=0 +show_tray_icon=0 +minimize_to_tray=0 +toggle_window_from_tray_icon=0 +alternate_row_color=0 +show_mouseover=0 +check_for_updates_on_startup=0 +beta_updates=0 +show_highlighted_search_terms=1 +text_size=0 +hide_empty_search_results=0 +clear_selection_on_search=1 +show_focus_on_search=0 +new_window_key=0 +show_window_key=0 +toggle_window_key=0 +language=0 +show_selected_item_in_statusbar=1 +statusbar_selected_item_format= +show_size_in_statusbar=0 +statusbar_size_format=0 +open_folder_command2= +open_file_command2= +open_path_command2= +explore_command2= +explore_path_command2= +window_title_format= +taskbar_notification_title_format= +instance_name=GeekDesk_EveryThing +translucent_selection_rectangle_alpha=70 +min_zoom=-6 +max_zoom=27 +context_menu_type=0 +context_menu_shell_extensions=1 +auto_include_fixed_volumes=1 +auto_include_removable_volumes=0 +auto_remove_offline_ntfs_volumes=1 +auto_remove_moved_ntfs_volumes=1 +auto_include_fixed_refs_volumes=1 +auto_include_removable_refs_volumes=0 +auto_remove_offline_refs_volumes=1 +auto_remove_moved_refs_volumes=1 +find_mount_points_on_removable_volumes=0 +scan_volume_drive_letters=1 +last_export_type=0 +max_threads=0 +reuse_threads=1 +find_subfolders_and_files_max_threads=0 +single_parent_context_menu=0 +auto_size_1=512 +auto_size_2=640 +auto_size_3=768 +auto_size_aspect_ratio_x=9 +auto_size_aspect_ratio_y=7 +auto_size_width_only=0 +auto_size_path_x=1 +auto_size_path_y=2 +sticky_vscroll_bottom=1 +last_options_page=2 +draw_focus_rect=1 +date_format= +time_format= +listview_item_high=0 +single_click_open=0 +underline_icon_titles=0 +icons_only=0 +icon_shell_extensions=1 +auto_scroll_repeat_delay=250 +auto_scroll_repeat_rate=50 +open_many_files_warning_threshold=16 +set_foreground_window_attach_thread_input=0 +debug=0 +debug_log=0 +verbose=0 +lvm=1 +ipc=1 +home_match_case=1 +home_match_whole_word=0 +home_match_path=0 +home_match_diacritics=0 +home_regex=0 +home_search=1 +home_filter=0 +home_sort=0 +home_view=0 +home_index=1 +allow_multiple_windows_from_tray=0 +single_click_tray=0 +close_on_execute=0 +double_click_path=0 +update_display_after_scroll=0 +update_display_after_mask=1 +auto_scroll_view=0 +double_quote_copy_as_path=0 +snap=0 +snaplen=10 +rename_select_filepart_only=1 +rename_move_caret_to_selection_end=0 +rename_nav=0 +search_edit_move_caret_to_selection_end=0 +search_edit_drag_accept_files=0 +select_search_on_mouse_click=1 +focus_search_on_activate=0 +reset_vscroll_on_search=1 +wrap_focus=0 +load_icon_priority=0 +load_thumbnail_priority=0 +load_fileinfo_priority=0 +always_request_all_fileinfo=0 +header_high=0 +hide_on_close=0 +max_hidden_windows=0 +winmm=0 +menu_escape_amp=1 +menu_folders=0 +menu_folder_separator= +menu_items_per_column=0 +new_inherit=1 +full_row_select=0 +tray_show_command_line= +dpi=96 +ctrl_mouse_wheel_action=1 +lvm_scroll=1 +allow_open=1 +allow_context_menu=1 +allow_delete=1 +allow_rename=1 +allow_cut=1 +allow_copy=1 +allow_paste=1 +allow_drag_drop=1 +allow_window_message_filter_dragdrop=0 +auto_column_widths=0 +hotkey_explorer_path_search=0 +hotkey_user_notification_state=0 +get_key_name_text=1 +paste_new_line_op=0 +esc_cancel_action=1 +fast_ascii_search=1 +match_path_when_search_contains_path_separator=1 +allow_literal_operators=0 +allow_round_bracket_parenthesis=0 +expand_environment_variables=0 +search_as_you_type=1 +always_update_query_on_search_parameter_change=0 +convert_forward_slash_to_backslash=0 +match_whole_filename_when_using_wildcards=1 +operator_precedence=0 +replace_exact_trailing_star_dot_star_with_star=1 +allow_exclamation_point_not=1 +search_command_prefix= +auto_complete_search_command=1 +double_buffer=1 +search= +show_number_of_results_with_selection=0 +date_descending_first=1 +size_descending_first=1 +size_format=2 +alpha_select=0 +tooltips=1 +listview_tooltips=1 +show_detailed_listview_tooltips=1 +rtl_listview_edit=0 +force_path_ltr_order=1 +force_path_left_align=1 +date_time_order=0 +date_time_align=1 +size_align=3 +invert_layout=0 +update_layout_on_input_language_change=0 +control_shift_action=3 +change_search_rtl_reading_action=3 +invert_layout_action=3 +bookmark_remember_case=1 +bookmark_remember_wholeword=1 +bookmark_remember_path=1 +bookmark_remember_diacritic=1 +bookmark_remember_regex=1 +bookmark_remember_sort=1 +bookmark_remember_view=1 +bookmark_remember_filter=1 +bookmark_remember_index=1 +bookmark_remember_search=1 +bookmark_organize_x=0 +bookmark_organize_y=0 +bookmark_organize_wide=0 +bookmark_organize_high=0 +exclude_list_enabled=1 +exclude_hidden_files_and_folders=0 +exclude_system_files_and_folders=0 +include_only_files= +exclude_files= +db_location= +db_multi_user_filename=0 +db_compress=0 +index_size=1 +fast_size_sort=1 +index_date_created=0 +fast_date_created_sort=0 +index_date_modified=1 +fast_date_modified_sort=1 +index_date_accessed=0 +fast_date_accessed_sort=0 +index_attributes=0 +fast_attributes_sort=0 +index_folder_size=0 +fast_path_sort=1 +fast_extension_sort=0 +extended_information_cache_monitor=1 +db_update_thread_priority=-15 +index_recent_changes=1 +refs_file_id_extd_directory_info_buffer_size=0 +folder_update_thread_mode_background=0 +folder_update_rescan_asap=1 +monitor_thread_mode_background=1 +monitor_retry_delay=30000 +monitor_update_delay=1000 +monitor_pause=0 +usn_record_filter=0xffffffff +cancel_delay=0x000003e8 +allow_ntfs_open_file_by_id=1 +always_update_folder_recent_change=0 +editor_x=0 +editor_y=0 +editor_wide=0 +editor_high=0 +editor_maximized=0 +file_list_relative_paths=0 +rename_x=0 +rename_y=0 +rename_wide=0 +rename_high=0 +rename_match_case=0 +rename_regex=0 +advanced_copy_to_x=0 +advanced_copy_to_y=0 +advanced_copy_to_wide=0 +advanced_copy_to_high=0 +advanced_copy_to_match_case=0 +advanced_copy_to_regex=0 +advanced_move_to_x=0 +advanced_move_to_y=0 +advanced_move_to_wide=0 +advanced_move_to_high=0 +advanced_move_to_match_case=0 +advanced_move_to_regex=0 +advanced_search_x=0 +advanced_search_y=0 +advanced_search_wide=0 +advanced_search_high=0 +advanced_search_page_y_offset=0 +advanced_search_focus_id=0 +advanced_search_warnings=1 +max_recv_size=8388608 +display_full_path_name=0 +size_tiny=10240 +size_small=102400 +size_medium=1048576 +size_large=16777216 +size_huge=134217728 +themed_toolbar=1 +show_copy_name=2 +show_copy_path=2 +show_copy_full_name=2 +show_open_path=2 +show_explore=2 +show_explore_path=2 +copy_path_folder_append_backslash=0 +custom_verb01= +custom_verb02= +custom_verb03= +custom_verb04= +custom_verb05= +custom_verb06= +custom_verb07= +custom_verb08= +custom_verb09= +custom_verb10= +custom_verb11= +custom_verb12= +filters_visible=0 +filters_wide=128 +filters_right_align=1 +filters_tab_stop=0 +filter= +filter_everything_name= +filter_organize_x=0 +filter_organize_y=0 +filter_organize_wide=0 +filter_organize_high=0 +preview_visible=0 +preview_x=640 +preview_tab_stop=0 +preview_mag_filter=0 +preview_min_filter=0 +preview_fill=0 +show_preview_handlers_in_preview_pane=0 +preview_load_size=0 +preview_context=0x00000000 +preview_release_handler_on_clear=0 +sort=Run Count +sort_ascending=0 +always_keep_sort=0 +index=0 +index_file_list= +index_etp_server= +index_link_type=1 +status_bar_visible=1 +select_search_on_focus_mode=1 +select_search_on_set_mode=2 +search_history_enabled=0 +run_history_enabled=0 +search_history_days_to_keep=90 +run_history_days_to_keep=90 +search_history_keep_forever=1 +run_history_keep_forever=1 +search_history_always_suggest=0 +search_history_always_suggest_extend_toolbar=0 +search_history_visible_count_max=12 +search_history_always_suggest_visible_count_max=1 +search_history_show_all_max=256 +search_history_suggestion_max=256 +search_history_show_all_sort=2 +search_history_suggestion_sort=1 +search_history_show_above=0 +search_history_sort=2 +search_history_sort_ascending=0 +search_history_x=0 +search_history_y=0 +search_history_wide=0 +search_history_high=0 +search_history_column_search_wide=208 +search_history_column_search_order=0 +search_history_column_count_wide=128 +search_history_column_count_order=1 +search_history_column_date_wide=128 +search_history_column_date_order=2 +etp_server_enabled=0 +etp_server_bindings= +etp_server_port=21 +etp_server_username= +etp_server_password= +etp_server_welcome_message= +etp_server_log_file_name= +etp_server_logging_enabled=0 +etp_server_log_max_size=4194304 +etp_server_log_delta_size=524288 +etp_server_allow_file_download=1 +ftp_allow_port=1 +ftp_check_data_connection_ip=1 +http_server_enabled=0 +http_server_bindings= +http_title_format= +http_server_port=80 +http_server_username= +http_server_password= +http_server_home= +http_server_default_page= +http_server_log_file_name= +http_server_logging_enabled=0 +http_server_log_max_size=4194304 +http_server_log_delta_size=524288 +http_server_allow_file_download=1 +http_server_items_per_page=32 +http_server_show_drive_labels=0 +http_server_strings= +http_server_header= +service_pipe_name= +name_column_pos=0 +name_column_width=256 +path_column_visible=1 +path_column_pos=1 +path_column_width=256 +size_column_visible=1 +size_column_pos=2 +size_column_width=96 +extension_column_visible=0 +extension_column_pos=3 +extension_column_width=96 +type_column_visible=0 +type_column_pos=4 +type_column_width=96 +last_write_time_column_visible=1 +last_write_time_column_pos=3 +last_write_time_column_width=153 +creation_time_column_visible=0 +creation_time_column_pos=6 +creation_time_column_width=153 +date_accessed_column_visible=0 +date_accessed_column_pos=7 +date_accessed_column_width=153 +attribute_column_visible=0 +attribute_column_pos=8 +attribute_column_width=70 +date_recently_changed_column_visible=0 +date_recently_changed_column_pos=9 +date_recently_changed_column_width=153 +run_count_column_visible=0 +run_count_column_pos=10 +run_count_column_width=96 +date_run_column_visible=0 +date_run_column_pos=11 +date_run_column_width=153 +file_list_filename_column_visible=0 +file_list_filename_column_pos=12 +file_list_filename_column_width=96 +translucent_selection_rectangle_background_color= +translucent_selection_rectangle_border_color= +thumbnail_mouseover_border_color= +preview_background_color= +ntfs_volume_guids="\\\\?\\Volume{6afe1915-0a0b-4e59-96bc-666ff914ea4f}","\\\\?\\Volume{71be44cf-e03a-462f-a9c8-b53c16e002a4}" +ntfs_volume_paths="C:","D:" +ntfs_volume_roots="","" +ntfs_volume_includes=1,1 +ntfs_volume_load_recent_changes=0,0 +ntfs_volume_include_onlys="","" +ntfs_volume_monitors=1,1 +refs_volume_guids= +refs_volume_paths= +refs_volume_roots= +refs_volume_includes= +refs_volume_load_recent_changes= +refs_volume_include_onlys= +refs_volume_monitors= +filelists= +filelist_monitor_changes= +folders= +folder_monitor_changes= +folder_buffer_size_list= +folder_rescan_if_full_list= +folder_update_types= +folder_update_days= +folder_update_ats= +folder_update_intervals= +folder_update_interval_types= +exclude_folders= +connect_history_hosts= +connect_history_ports= +connect_history_usernames= +connect_history_link_types= +etp_client_rewrite_patterns= +etp_client_rewrite_substitutions= +file_new_search_window_keys=334 +file_open_file_list_keys=335 +file_close_file_list_keys= +file_close_keys=343,27 +file_export_keys=339 +file_copy_full_name_to_clipboard_keys=9539 +file_copy_path_to_clipboard_keys= +file_set_run_count_keys= +file_create_shortcut_keys= +file_delete_keys=8238 +file_delete_permanently_keys=9262 +file_edit_keys= +file_open_keys=8205 +file_open_selection_and_close_everything_keys= +file_explore_path_keys= +file_open_new_keys= +file_open_path_keys=8461 +file_open_with_keys= +file_open_with_default_verb_keys= +file_play_keys= +file_preview_keys= +file_print_keys= +file_print_to_keys= +file_properties_keys=8717 +file_read_extended_information_keys=8517 +file_rename_keys=8305 +file_run_as_keys= +file_exit_keys=337 +file_copy_name_to_clipboard_keys= +file_open_selection_and_do_not_close_everything_keys= +file_open_most_run_keys= +file_open_last_run_keys= +file_custom_verb_1_keys= +file_custom_verb_2_keys= +file_custom_verb_3_keys= +file_custom_verb_4_keys= +file_custom_verb_5_keys= +file_custom_verb_6_keys= +file_custom_verb_7_keys= +file_custom_verb_8_keys= +file_custom_verb_9_keys= +file_custom_verb_10_keys= +file_custom_verb_11_keys= +file_custom_verb_12_keys= +indexes_folders_rescan_all_now_keys= +indexes_force_rebuild_keys= +edit_cut_keys=8536 +edit_copy_keys=8515,8493 +edit_paste_keys=8534,9261 +edit_select_all_keys=8513 +edit_invert_selection_keys= +edit_copy_to_folder_keys= +edit_move_to_folder_keys= +edit_advanced_advanced_copy_to_folder_keys= +edit_advanced_advanced_move_to_folder_keys= +view_filters_keys= +view_preview_keys=592 +view_status_bar_keys= +view_details_keys=1334 +view_medium_thumbnails_keys=1331 +view_large_thumbnails_keys=1330 +view_extra_large_thumbnails_keys=1329 +view_increase_thumbnail_size_keys=1467 +view_decrease_thumbnail_size_keys=1469 +view_window_size_small_keys=561 +view_window_size_medium_keys=562 +view_window_size_large_keys=563 +view_window_size_auto_fit_keys=564 +view_zoom_zoom_in_keys=443 +view_zoom_zoom_out_keys=445 +view_zoom_reset_keys=304,352 +view_go_to_back_keys=549,166 +view_go_to_forward_keys=551,167 +view_go_to_home_keys=548 +view_go_to_show_all_history_keys=1352,328 +view_sort_by_name_keys=305 +view_sort_by_path_keys=306 +view_sort_by_size_keys=307 +view_sort_by_extension_keys=308 +view_sort_by_type_keys=309 +view_sort_by_date_modified_keys=310 +view_sort_by_date_created_keys=311 +view_sort_by_attributes_keys=312 +view_sort_by_file_list_filename_keys= +view_sort_by_run_count_keys= +view_sort_by_date_run_keys= +view_sort_by_date_recently_changed_keys=313 +view_sort_by_date_accessed_keys= +view_sort_by_ascending_keys= +view_sort_by_descending_keys= +view_refresh_keys=116 +view_fullscreen_keys=122 +view_toggle_ltrrtl_direction_keys= +view_on_top_never_keys= +view_on_top_always_keys= +view_on_top_while_searching_keys= +search_match_case_keys=329 +search_match_whole_word_keys=322 +search_match_path_keys=341 +search_match_diacritics_keys=333 +search_enable_regex_keys=338 +search_advanced_search_keys= +search_add_to_filters_keys= +search_organize_filters_keys=1350 +bookmarks_add_to_bookmarks_keys=324 +bookmarks_organize_bookmarks_keys=1346 +tools_options_keys=336 +tools_console_keys=448 +tools_file_list_editor_keys= +tools_connect_to_etp_server_keys= +tools_disconnect_from_etp_server_keys= +help_everything_help_keys=112 +help_search_syntax_keys= +help_regex_syntax_keys= +help_command_line_options_keys= +help_everything_website_keys= +help_check_for_updates_keys= +help_about_everything_keys=368 +help_donate_keys= +search_edit_focus_search_edit_keys=326,114,580 +search_edit_delete_previous_word_keys=4360 +search_edit_auto_complete_search_keys=4384 +search_edit_show_search_history_keys= +search_edit_show_all_search_history_keys=4646,4648 +result_list_item_up_keys=8230,4134 +result_list_item_down_keys=8232,4136 +result_list_page_up_keys=8225,4129 +result_list_page_down_keys=8226,4130 +result_list_start_of_list_keys=8228 +result_list_end_of_list_keys=8227 +result_list_item_up_extend_keys=9254,5158 +result_list_item_down_extend_keys=9256,5160 +result_list_page_up_extend_keys=9249,5153 +result_list_page_down_extend_keys=9250,5154 +result_list_start_of_list_extend_keys=9252 +result_list_end_of_list_extend_keys=9251 +result_list_focus_up_keys=8486,4390 +result_list_focus_down_keys=8488,4392 +result_list_focus_page_up_keys=8481,4385 +result_list_focus_page_down_keys=8482,4386 +result_list_focus_start_of_list_keys=8484 +result_list_focus_end_of_list_keys=8483 +result_list_focus_up_extend_keys=9510,5414 +result_list_focus_down_extend_keys=9512,5416 +result_list_focus_page_up_extend_keys=9505,5409 +result_list_focus_page_down_extend_keys=9506,5410 +result_list_focus_start_of_list_extend_keys=9508 +result_list_focus_end_of_list_extend_keys=9507 +result_list_focus_result_list_keys= +result_list_focus_highest_run_count_result_keys= +result_list_focus_last_run_result_keys= +result_list_toggle_path_column_keys= +result_list_toggle_size_column_keys= +result_list_toggle_extension_column_keys= +result_list_toggle_type_column_keys= +result_list_toggle_date_modified_column_keys= +result_list_toggle_date_created_column_keys= +result_list_toggle_attributes_column_keys= +result_list_toggle_file_list_filename_column_keys= +result_list_toggle_run_count_column_keys= +result_list_toggle_date_recently_changed_column_keys= +result_list_toggle_date_accessed_column_keys= +result_list_toggle_date_run_column_keys= +result_list_size_all_columns_to_fit_keys=8555 +result_list_size_result_list_to_fit_keys= +result_list_context_menu_keys=9337 +result_list_scroll_left_or_thumbnail_left_keys=8229 +result_list_scroll_right_or_thumbnail_right_keys=8231 +result_list_scroll_page_left_or_thumbnail_focus_left_keys=8485 +result_list_scroll_page_right_or_thumbnail_focus_right_keys=8487 +result_list_left_extend_keys=9253 +result_list_right_extend_keys=9255 +result_list_focus_left_extend_keys=9509 +result_list_focus_right_extend_keys=9511 +result_list_select_focus_keys=8224 +result_list_toggle_focus_selection_keys=8480 +result_list_copy_as_csv_keys= +preview_focus_preview_keys= +result_list_font= +result_list_font_size= +search_edit_font= +search_edit_font_size= +status_bar_font= +status_bar_font_size= +header_font= +header_font_size= +normal_background_color= +normal_foreground_color= +normal_bold= +highlighted_background_color= +highlighted_foreground_color= +highlighted_bold= +current_sort_background_color= +current_sort_foreground_color= +current_sort_bold= +current_sort_highlighted_background_color= +current_sort_highlighted_foreground_color= +current_sort_highlighted_bold= +selected_background_color= +selected_foreground_color= +selected_bold= +selected_highlighted_background_color= +selected_highlighted_foreground_color= +selected_highlighted_bold= +selected_inactive_background_color= +selected_inactive_foreground_color= +selected_inactive_bold= +selected_inactive_highlighted_background_color= +selected_inactive_highlighted_foreground_color= +selected_inactive_highlighted_bold= +drop_target_background_color= +drop_target_foreground_color= +drop_target_bold= +drop_target_highlighted_background_color= +drop_target_highlighted_foreground_color= +drop_target_highlighted_bold= +mouseover_background_color= +mouseover_foreground_color= +mouseover_bold= +mouseover_highlighted_background_color= +mouseover_highlighted_foreground_color= +mouseover_highlighted_bold= +mouseover_current_sort_background_color= +mouseover_current_sort_foreground_color= +mouseover_current_sort_bold= +mouseover_current_sort_highlighted_background_color= +mouseover_current_sort_highlighted_foreground_color= +mouseover_current_sort_highlighted_bold= +alternate_row_background_color= +alternate_row_foreground_color= +alternate_row_bold= +alternate_row_highlighted_background_color= +alternate_row_highlighted_foreground_color= +alternate_row_highlighted_bold= +current_sort_alternate_row_background_color= +current_sort_alternate_row_foreground_color= +current_sort_alternate_row_bold= +current_sort_alternate_row_highlighted_background_color= +current_sort_alternate_row_highlighted_foreground_color= +current_sort_alternate_row_highlighted_bold= +hot_background_color= +hot_foreground_color= +hot_bold= +hot_highlighted_background_color= +hot_highlighted_foreground_color= +hot_highlighted_bold= +selected_hot_background_color= +selected_hot_foreground_color= +selected_hot_bold= +selected_hot_highlighted_background_color= +selected_hot_highlighted_foreground_color= +selected_hot_highlighted_bold= +selected_inactive_hot_background_color= +selected_inactive_hot_foreground_color= +selected_inactive_hot_bold= +selected_inactive_hot_highlighted_background_color= +selected_inactive_hot_highlighted_foreground_color= +selected_inactive_hot_highlighted_bold= +thumbnail_mouseover_background_color= +thumbnail_mouseover_foreground_color= +thumbnail_mouseover_bold= +thumbnail_mouseover_highlighted_background_color= +thumbnail_mouseover_highlighted_foreground_color= +thumbnail_mouseover_highlighted_bold= diff --git a/Plugins/EveryThing/64/Everything.lng b/Plugins/EveryThing/64/Everything.lng new file mode 100644 index 0000000..9b2504e Binary files /dev/null and b/Plugins/EveryThing/64/Everything.lng differ diff --git a/Plugins/EveryThing/Constant/EveryThingConst.cs b/Plugins/EveryThing/Constant/EveryThingConst.cs new file mode 100644 index 0000000..16fef75 --- /dev/null +++ b/Plugins/EveryThing/Constant/EveryThingConst.cs @@ -0,0 +1,66 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace GeekDesk.Plugins.EveryThing.Constant +{ + public class EveryThingConst + { + + public const int EVERYTHING_OK = 0; + public const int EVERYTHING_ERROR_MEMORY = 1; + public const int EVERYTHING_ERROR_IPC = 2; + public const int EVERYTHING_ERROR_REGISTERCLASSEX = 3; + public const int EVERYTHING_ERROR_CREATEWINDOW = 4; + public const int EVERYTHING_ERROR_CREATETHREAD = 5; + public const int EVERYTHING_ERROR_INVALIDINDEX = 6; + public const int EVERYTHING_ERROR_INVALIDCALL = 7; + public const int EVERYTHING_REQUEST_FILE_NAME = 0x00000001; + public const int EVERYTHING_REQUEST_PATH = 0x00000002; + public const int EVERYTHING_REQUEST_FULL_PATH_AND_FILE_NAME = 0x00000004; + public const int EVERYTHING_REQUEST_EXTENSION = 0x00000008; + public const int EVERYTHING_REQUEST_SIZE = 0x00000010; + public const int EVERYTHING_REQUEST_DATE_CREATED = 0x00000020; + public const int EVERYTHING_REQUEST_DATE_MODIFIED = 0x00000040; + public const int EVERYTHING_REQUEST_DATE_ACCESSED = 0x00000080; + public const int EVERYTHING_REQUEST_ATTRIBUTES = 0x00000100; + public const int EVERYTHING_REQUEST_FILE_LIST_FILE_NAME = 0x00000200; + public const int EVERYTHING_REQUEST_RUN_COUNT = 0x00000400; + public const int EVERYTHING_REQUEST_DATE_RUN = 0x00000800; + public const int EVERYTHING_REQUEST_DATE_RECENTLY_CHANGED = 0x00001000; + public const int EVERYTHING_REQUEST_HIGHLIGHTED_FILE_NAME = 0x00002000; + public const int EVERYTHING_REQUEST_HIGHLIGHTED_PATH = 0x00004000; + public const int EVERYTHING_REQUEST_HIGHLIGHTED_FULL_PATH_AND_FILE_NAME = 0x00008000; + public const int EVERYTHING_SORT_NAME_ASCENDING = 1; + public const int EVERYTHING_SORT_NAME_DESCENDING = 2; + public const int EVERYTHING_SORT_PATH_ASCENDING = 3; + public const int EVERYTHING_SORT_PATH_DESCENDING = 4; + public const int EVERYTHING_SORT_SIZE_ASCENDING = 5; + public const int EVERYTHING_SORT_SIZE_DESCENDING = 6; + public const int EVERYTHING_SORT_EXTENSION_ASCENDING = 7; + public const int EVERYTHING_SORT_EXTENSION_DESCENDING = 8; + public const int EVERYTHING_SORT_TYPE_NAME_ASCENDING = 9; + public const int EVERYTHING_SORT_TYPE_NAME_DESCENDING = 10; + public const int EVERYTHING_SORT_DATE_CREATED_ASCENDING = 11; + public const int EVERYTHING_SORT_DATE_CREATED_DESCENDING = 12; + public const int EVERYTHING_SORT_DATE_MODIFIED_ASCENDING = 13; + public const int EVERYTHING_SORT_DATE_MODIFIED_DESCENDING = 14; + public const int EVERYTHING_SORT_ATTRIBUTES_ASCENDING = 15; + public const int EVERYTHING_SORT_ATTRIBUTES_DESCENDING = 16; + public const int EVERYTHING_SORT_FILE_LIST_FILENAME_ASCENDING = 17; + public const int EVERYTHING_SORT_FILE_LIST_FILENAME_DESCENDING = 18; + public const int EVERYTHING_SORT_RUN_COUNT_ASCENDING = 19; + public const int EVERYTHING_SORT_RUN_COUNT_DESCENDING = 20; + public const int EVERYTHING_SORT_DATE_RECENTLY_CHANGED_ASCENDING = 21; + public const int EVERYTHING_SORT_DATE_RECENTLY_CHANGED_DESCENDING = 22; + public const int EVERYTHING_SORT_DATE_ACCESSED_ASCENDING = 23; + public const int EVERYTHING_SORT_DATE_ACCESSED_DESCENDING = 24; + public const int EVERYTHING_SORT_DATE_RUN_ASCENDING = 25; + public const int EVERYTHING_SORT_DATE_RUN_DESCENDING = 26; + public const int EVERYTHING_TARGET_MACHINE_X86 = 1; + public const int EVERYTHING_TARGET_MACHINE_X64 = 2; + public const int EVERYTHING_TARGET_MACHINE_ARM = 3; + } +} diff --git a/Plugins/EveryThing/EveryThing32.cs b/Plugins/EveryThing/EveryThing32.cs new file mode 100644 index 0000000..8035bbb --- /dev/null +++ b/Plugins/EveryThing/EveryThing32.cs @@ -0,0 +1,123 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; + +namespace GeekDesk.Plugins.EveryThing +{ + public class EveryThing32 + { + + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll", CharSet = CharSet.Unicode)] + public static extern UInt32 Everything_SetSearchW(string lpSearchString); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern void Everything_SetMatchPath(bool bEnable); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern void Everything_SetMatchCase(bool bEnable); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern void Everything_SetMatchWholeWord(bool bEnable); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern void Everything_SetRegex(bool bEnable); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern void Everything_SetMax(UInt32 dwMax); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern void Everything_SetOffset(UInt32 dwOffset); + + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_GetMatchPath(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_GetMatchCase(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_GetMatchWholeWord(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_GetRegex(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetMax(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetOffset(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern IntPtr Everything_GetSearchW(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetLastError(); + + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_QueryW(bool bWait); + + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern void Everything_SortResultsByPath(); + + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetNumFileResults(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetNumFolderResults(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetNumResults(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetTotFileResults(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetTotFolderResults(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetTotResults(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_IsVolumeResult(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_IsFolderResult(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_IsFileResult(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll", CharSet = CharSet.Unicode)] + public static extern void Everything_GetResultFullPathName(UInt32 nIndex, StringBuilder lpString, UInt32 nMaxCount); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern void Everything_Reset(); + + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll", CharSet = CharSet.Unicode)] + public static extern IntPtr Everything_GetResultFileName(UInt32 nIndex); + + // Everything 1.4 + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern void Everything_SetSort(UInt32 dwSortType); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetSort(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetResultListSort(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern void Everything_SetRequestFlags(UInt32 dwRequestFlags); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetRequestFlags(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetResultListRequestFlags(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll", CharSet = CharSet.Unicode)] + public static extern IntPtr Everything_GetResultExtension(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_GetResultSize(UInt32 nIndex, out long lpFileSize); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_GetResultDateCreated(UInt32 nIndex, out long lpFileTime); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_GetResultDateModified(UInt32 nIndex, out long lpFileTime); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_GetResultDateAccessed(UInt32 nIndex, out long lpFileTime); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetResultAttributes(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll", CharSet = CharSet.Unicode)] + public static extern IntPtr Everything_GetResultFileListFileName(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetResultRunCount(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_GetResultDateRun(UInt32 nIndex, out long lpFileTime); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_GetResultDateRecentlyChanged(UInt32 nIndex, out long lpFileTime); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll", CharSet = CharSet.Unicode)] + public static extern IntPtr Everything_GetResultHighlightedFileName(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll", CharSet = CharSet.Unicode)] + public static extern IntPtr Everything_GetResultHighlightedPath(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll", CharSet = CharSet.Unicode)] + public static extern IntPtr Everything_GetResultHighlightedFullPathAndFileName(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_GetRunCountFromFileName(string lpFileName); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern bool Everything_SetRunCountFromFileName(string lpFileName, UInt32 dwRunCount); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything32.dll")] + public static extern UInt32 Everything_IncRunCountFromFileName(string lpFileName); + } +} diff --git a/Plugins/EveryThing/EveryThing64.cs b/Plugins/EveryThing/EveryThing64.cs new file mode 100644 index 0000000..d867ede --- /dev/null +++ b/Plugins/EveryThing/EveryThing64.cs @@ -0,0 +1,123 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; + +namespace GeekDesk.Plugins.EveryThing +{ + public class EveryThing64 + { + + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll", CharSet = CharSet.Unicode)] + public static extern UInt32 Everything_SetSearchW(string lpSearchString); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern void Everything_SetMatchPath(bool bEnable); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern void Everything_SetMatchCase(bool bEnable); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern void Everything_SetMatchWholeWord(bool bEnable); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern void Everything_SetRegex(bool bEnable); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern void Everything_SetMax(UInt32 dwMax); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern void Everything_SetOffset(UInt32 dwOffset); + + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_GetMatchPath(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_GetMatchCase(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_GetMatchWholeWord(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_GetRegex(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetMax(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetOffset(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern IntPtr Everything_GetSearchW(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetLastError(); + + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_QueryW(bool bWait); + + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern void Everything_SortResultsByPath(); + + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetNumFileResults(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetNumFolderResults(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetNumResults(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetTotFileResults(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetTotFolderResults(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetTotResults(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_IsVolumeResult(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_IsFolderResult(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_IsFileResult(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll", CharSet = CharSet.Unicode)] + public static extern void Everything_GetResultFullPathName(UInt32 nIndex, StringBuilder lpString, UInt32 nMaxCount); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern void Everything_Reset(); + + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll", CharSet = CharSet.Unicode)] + public static extern IntPtr Everything_GetResultFileName(UInt32 nIndex); + + // Everything 1.4 + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern void Everything_SetSort(UInt32 dwSortType); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetSort(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetResultListSort(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern void Everything_SetRequestFlags(UInt32 dwRequestFlags); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetRequestFlags(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetResultListRequestFlags(); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll", CharSet = CharSet.Unicode)] + public static extern IntPtr Everything_GetResultExtension(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_GetResultSize(UInt32 nIndex, out long lpFileSize); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_GetResultDateCreated(UInt32 nIndex, out long lpFileTime); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_GetResultDateModified(UInt32 nIndex, out long lpFileTime); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_GetResultDateAccessed(UInt32 nIndex, out long lpFileTime); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetResultAttributes(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll", CharSet = CharSet.Unicode)] + public static extern IntPtr Everything_GetResultFileListFileName(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetResultRunCount(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_GetResultDateRun(UInt32 nIndex, out long lpFileTime); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_GetResultDateRecentlyChanged(UInt32 nIndex, out long lpFileTime); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll", CharSet = CharSet.Unicode)] + public static extern IntPtr Everything_GetResultHighlightedFileName(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll", CharSet = CharSet.Unicode)] + public static extern IntPtr Everything_GetResultHighlightedPath(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll", CharSet = CharSet.Unicode)] + public static extern IntPtr Everything_GetResultHighlightedFullPathAndFileName(UInt32 nIndex); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_GetRunCountFromFileName(string lpFileName); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern bool Everything_SetRunCountFromFileName(string lpFileName, UInt32 dwRunCount); + [DllImport(@"lib\Plugins\EveryThing\lib\Everything64.dll")] + public static extern UInt32 Everything_IncRunCountFromFileName(string lpFileName); + } +} diff --git a/Plugins/EveryThing/EveryThingUtil.cs b/Plugins/EveryThing/EveryThingUtil.cs new file mode 100644 index 0000000..9fd2eb5 --- /dev/null +++ b/Plugins/EveryThing/EveryThingUtil.cs @@ -0,0 +1,35 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace GeekDesk.Plugins.EveryThing +{ + public class EveryThingUtil + { + + + public static void StartEveryThing(String pluginsPath) + { + bool Is64Bit = Environment.Is64BitOperatingSystem; + string pluginPath = pluginsPath + "/EveryThing/" + (Is64Bit ? 64 : 32) + "/EveryThing.exe"; + + //启动服务 + using (Process p = new Process()) + { + p.StartInfo.FileName = pluginPath; + p.StartInfo.UseShellExecute = true; + p.StartInfo.Arguments = " -svc"; + p.Start(); + } + //启动程序 + using (Process p = new Process()) + { + p.StartInfo.FileName = pluginPath; + p.Start(); + } + } + } +} diff --git a/Plugins/EveryThing/lib/Everything32.dll b/Plugins/EveryThing/lib/Everything32.dll new file mode 100644 index 0000000..ff1a0d4 Binary files /dev/null and b/Plugins/EveryThing/lib/Everything32.dll differ diff --git a/Plugins/EveryThing/lib/Everything64.dll b/Plugins/EveryThing/lib/Everything64.dll new file mode 100644 index 0000000..c2646ad Binary files /dev/null and b/Plugins/EveryThing/lib/Everything64.dll differ diff --git a/Util/DelayHelper.cs b/Util/DelayHelper.cs new file mode 100644 index 0000000..125c35a --- /dev/null +++ b/Util/DelayHelper.cs @@ -0,0 +1,34 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace GeekDesk.Util +{ + public class DelayHelper + { + public event EventHandler Idled = delegate { }; + public int WaitingMilliSeconds { get; set; } + + public object Source { get; set; } + + readonly System.Threading.Timer waitingTimer; + + public DelayHelper(int waitingMilliSeconds = 600) + { + WaitingMilliSeconds = waitingMilliSeconds; + waitingTimer = new System.Threading.Timer(p => + { + Idled(this, EventArgs.Empty); + }); + } + + + public void DelayExecute(object source) + { + this.Source = source; + waitingTimer.Change(WaitingMilliSeconds, System.Threading.Timeout.Infinite); + } + } +} diff --git a/Util/DelayHelperFlyoutMenuItem.cs b/Util/DelayHelperFlyoutMenuItem.cs new file mode 100644 index 0000000..9250cd3 --- /dev/null +++ b/Util/DelayHelperFlyoutMenuItem.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace GeekDesk.Util +{ + public class DelayHelperFlyoutMenuItem + { + public DelayHelperFlyoutMenuItem() + { + TargetType = typeof(DelayHelperFlyoutMenuItem); + } + public int Id { get; set; } + public string Title { get; set; } + + public Type TargetType { get; set; } + } +} \ No newline at end of file diff --git a/Util/FileUtil.cs b/Util/FileUtil.cs index 0042ac9..3eb2996 100644 --- a/Util/FileUtil.cs +++ b/Util/FileUtil.cs @@ -53,7 +53,7 @@ namespace GeekDesk.Util } catch (Exception e) { - LogUtil.WriteErrorLog(e, "获取启动参数失败! filePath=" + filePath); + //LogUtil.WriteErrorLog(e, "获取启动参数失败! filePath=" + filePath); return ""; } } diff --git a/Util/ImageUtil.cs b/Util/ImageUtil.cs index 010f413..d2db7c9 100644 --- a/Util/ImageUtil.cs +++ b/Util/ImageUtil.cs @@ -20,6 +20,7 @@ namespace GeekDesk.Util /// public static BitmapImage ByteArrToImage(byte[] array) { + if (array == null) return null; using (var ms = new System.IO.MemoryStream(array)) { BitmapImage image = new BitmapImage(); @@ -39,6 +40,7 @@ namespace GeekDesk.Util /// public static byte[] BitmapImageToByte(BitmapImage bi) { + if (bi == null) return null; using (MemoryStream memStream = new MemoryStream()) { PngBitmapEncoder encoder = new PngBitmapEncoder();