Skip to content

Commit

Permalink
v2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
iKineticate committed Nov 19, 2023
1 parent 969ca0e commit 45d724b
Show file tree
Hide file tree
Showing 6 changed files with 255 additions and 273 deletions.
31 changes: 28 additions & 3 deletions AHK_Base64PNG.ahk

Large diffs are not rendered by default.

256 changes: 157 additions & 99 deletions AHK_ChangIcon.ahk

Large diffs are not rendered by default.

48 changes: 30 additions & 18 deletions AHK_Language.ahk
Original file line number Diff line number Diff line change
@@ -1,22 +1,37 @@
Navigation_zh := {Label: ["主页", "其他", "日志", "帮助", "关于"]}
Navigation_en := {Label: ["Home", "Others", "Log", "Help", "About"]}
Navigation_en := {Label: ["Home", "Other","Log", "Help", "About"]}

Add_Desktop_Text_zh := "刷新/添加桌面的快捷方式至列表中"
Add_Desktop_Text_en := "Add Desktop shortcut to the list"

Add_Link_Desktop_Text_zh := "添加其至桌面"
Add_Link_Desktop_Text_en := "Add to the desktop"

Add_Link_Error_Text_zh := "已存在相同名称的快捷方式"
Add_Link_Error_Text_en := "A shortcut with the same name already exists"

Add_Desktop_Title_Text_zh := "是否刷新/添加桌面的快捷方式至列表中"
Add_Desktop_Title_Text_en := "Do you want to Refresh/Add desktop shortcuts to the list"

Add_Menu_Text_zh := "已添加开始(菜单)的快捷方式至列表中"
Add_Menu_Text_en := "The Shortcuts from Start(menu) has been added to the list"

Add_Menu_Title_Text_zh := "添加开始(菜单)的快捷方式至列表中"
Add_Menu_Title_Text_en := "Add shortcuts from Start to the list"
Add_Menu_Title_Text_en := "Add Start shortcuts to the list"

Add_Other_Text_zh := "已添加指定文件夹的快捷方式至列表中"
Add_Other_Text_en := "The shortcut(s) from the specified folder has been added to the list"

Add_Other_Title_Text_zh := "添加其他文件夹的快捷方式至列表中"
Add_Other_Title_Text_en := "Add shortcuts from folders to the list"
Add_Other_Title_Text_en := "Add Folder shortcuts to the list"

Add_Other_Msgbox_Text_zh := "是否清空列表并添加其他文件夹的快捷方式至列表中?"
Add_Other_Msgbox_Text_en := "Do you want to empty the list and add shortcuts from other folder to the list?"

All_Default_Text_zh := "`s是否确定全部快捷方式图标恢复为默认图标?`n`s注意:UWP和WSA的快捷方式无法恢复默认图标"
Add_UWP_APP_Text_zh := "添加UWP/APP的快捷方式至桌面"
Add_UWP_APP_Text_en := "Add UWP/APP shortcuts to desktops"

All_Default_Text_zh := "`s是否确定全部快捷方式图标恢复为默认图标?`n`s注意:UWP和APP的快捷方式无法恢复默认图标"
All_Default_Text_en := "`sAre you sure to restore all shortcut icons to the default icons?`n`sNote: UWP or APP icon cannot be restored to default icons"

All_Text_zh := "总共"
Expand All @@ -34,12 +49,6 @@ Backup_LV_Title_Text_en := "Backup shortcuts to a desktop folder"
Changing_Text_zh := "更换图标中......"
Changing_Text_en := "Changing......"

Clean_Text_zh := "是否清空列表中的快捷方式?"
Clean_Text_en := "Empty the shortcuts from the list?"

Clean_Title_Text_zh := "清空列表中的快捷方式"
Clean_Title_Text_en := "Clear shortcuts in the list"

Clean_Yes_Text_zh := "已清空列表"
Clean_Yes_Text_en := "The list has been cleaned up"

Expand All @@ -64,8 +73,8 @@ Copy_LIL_Text_en := "Copy icon path for shortcut:"
Default_Title_Text_zh := "恢复所有快捷方式为默认图标"
Default_Title_Text_en := "Restore all shortcuts to default icons"

How_Restore_Text_zh := "如何恢复UWP和WSA快捷方式的图标"
How_Restore_Text_en := "How to restore icons for UWP and WSA shortcuts?"
How_Restore_Text_zh := "如何恢复UWP和APP快捷方式的图标"
How_Restore_Text_en := "How to restore icons for UWP and APP shortcuts?"

Icon_Name_Text_zh := "文件图标的名称:"
Icon_Name_Text_en := "The name of icon: "
Expand Down Expand Up @@ -127,8 +136,8 @@ Safe_Changed_Text_en := "`n`nIt is not recommended to use this feature to replac
Safe_Text_zh := "————出于安全,无法查看—————"
Safe_Text_en := "————Unable to view for security reasons—————"

Safe_TrayTip_Text_zh := "注意: 出于安全,UWP和WSA应用无法恢复默认图标"
Safe_TrayTip_Text_en := "Notice: For security reasons, UWP and WSA applications cannot restore default icons"
Safe_TrayTip_Text_zh := "注意: 出于安全,UWP和APP应用无法恢复默认图标"
Safe_TrayTip_Text_en := "Notice: For security reasons, UWP and APP applications cannot restore default icons"

Search_Text_zh := "搜索......"
Search_Text_en := "Search......"
Expand All @@ -142,8 +151,8 @@ Select_Other_Text_en := "Please select a different folder with shortcuts"
Startup_Screen_Text_zh := "`s`s启动图:"
Startup_Screen_Text_en := "`s`sStartup Screen:"

Sart_Menu_Text_zh := "是否清空列表并添加菜单栏中的快捷方式至列表中?`n`n提醒:若需要更换菜单快捷方式的图标,建议添加后备份它们"
Sart_Menu_Text_en := "Do you want to empty the list and add shortcuts from the Start(menu) to the list?`n`nNote:If you need to replace the shortcut icons from Start, It is recommended to backup them after adding them"
Sart_Menu_Text_zh := "是否清空列表并添加菜单栏中的快捷方式至列表中?`n`n提醒:谨慎更换菜单快捷方式的图标"
Sart_Menu_Text_en := "Do you want to empty the list and add Start(menu) shortcuts to the list?`n`nNote:Be cautious when changing the icon for Start(menu) shortcuts"

Solve_Restore_Text_zh := "出于安全,不能直接恢复它们的图标,需要删除并重新创建它们的快捷方式,操作:菜单--所有应用,找到它们并拖拽至桌面"
Solve_Restore_Text_en := "For security reasons, their icons cannot be directly restored. You need to delete and recreate their shortcuts. Action: Menu - All Applications, locate them and drag them onto the desktop"
Expand Down Expand Up @@ -187,6 +196,7 @@ Add_Menu_Title_Text := Yes_zh = True ? Add_Menu_Title_Text_zh:Add_Menu_Title_Tex
Add_Other_Text := Yes_zh = True ? Add_Other_Text_zh:Add_Other_Text_en
Add_Other_Title_Text:= Yes_zh = True ? Add_Other_Title_Text_zh:Add_Other_Title_Text_en
Add_Other_Msgbox_Text:=Yes_zh = True ? Add_Other_Msgbox_Text_zh:Add_Other_Msgbox_Text_en
Add_UWP_APP_Text := Yes_zh = True ? Add_UWP_APP_Text_zh:Add_UWP_APP_Text_en
All_Default_Text := Yes_zh = True ? All_Default_Text_zh:All_Default_Text_en
All_Text := Yes_zh = True ? All_Text_zh:All_Text_en
A_Row_Text := Yes_zh = True ? A_Row_Text_zh:A_Row_Text_en
Expand All @@ -195,8 +205,10 @@ An_Icon_Text := Yes_zh = True ? An_Icon_Text_zh:An_Icon_Text_en
Backup_LV_Title_Text:= Yes_zh = True ? Backup_LV_Title_Text_zh:Backup_LV_Title_Text_en

Changing_Text := Yes_zh = True ? Changing_Text_zh:Changing_Text_en
Clean_Text := Yes_zh = True ? Clean_Text_zh:Clean_Text_en
Clean_Title_Text := Yes_zh = True ? Clean_Title_Text_zh:Clean_Title_Text_en
Add_Desktop_Text := Yes_zh = True ? Add_Desktop_Text_zh:Add_Desktop_Text_en
Add_Link_Desktop_Text:=Yes_zh = True ? Add_Link_Desktop_Text_zh:Add_Link_Desktop_Text_en
Add_Link_Error_Text := Yes_zh = True ? Add_Link_Error_Text_zh:Add_Link_Error_Text_en
Add_Desktop_Title_Text := Yes_zh = True ? Add_Desktop_Title_Text_zh:Add_Desktop_Title_Text_en
Clean_Yes_Text := Yes_zh = True ? Clean_Yes_Text_zh:Clean_Yes_Text_en
Completed_Text := Yes_zh = True ? Completed_Text_zh:Completed_Text_en
Copy_LTP_Text := Yes_zh = True ? Copy_LTP_Text_zh:Copy_LTP_Text_en
Expand Down
Binary file modified Introduction/AHK_ChangeIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Introduction/Auto_Change.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
193 changes: 40 additions & 153 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,75 +1,69 @@
## AHK ChangeIcon 简介

这是一款用 AHK 编写的软件,它可以快速地**更换大量**桌面快捷方式图标来帮你**减少操作****节约时间**
这是一款用 AHK 编写的软件,它可以快速地**批量更换**桌面快捷方式图标

This is a software written with AHK, which can quickly **replace a large number of** desktop shortcut icons to help you **reduce operations** and **save time**
This is a software written in AHK, which can quickly change the icons of shortcuts in **batches**

![image](https://github.com/iKineticate/AHK-ChangeIcon/blob/main/Introduction/AHK_ChangeIcon.png)

## AHK ChangIcon 的使用

为了更好的更换图标,使用前请授予软件管理员权限
1.为了实现功能,使用前请授予软件管理员权限

Please grant software administrator permission to complete the operation of changing icons before use
In order to realize the function, please grant the software administrator permission before use

1.一键更换(恢复默认)图标按钮:
2.一键更换/一键恢复所有快捷方式图标(One-Click Change/Restore all shortcut icons)

One-click Change(restore) all shortcut icon buttons
(1)一键更换所有快捷方式图标为红色按钮
Replace all shortcut icon functions with purple buttons

(1)一键更换所有快捷方式的图标:
(2)一键恢复所有快捷方式图标为紫色按钮
Restore all shortcut icon functions with red button

存在于“主页”的右上角的按钮,它可快速地自动更换快捷方式的图标为选中文件夹中名字匹配的ICON图标

The button located in the upper right corner of the homepage,it can quickly and automatically change the icon of the shortcut to the ICON that matches the name in the selected folder

(2)一键恢复所有快捷方式的默认图标

存在于标签页中的“其他”的右上角的按钮,它可快速地自动恢复快捷方式的默认图标

The button located in the top right corner of the "Other" tab can quickly and automatically restore the default icon for shortcuts

(3)注意:该功能要保证快捷方式的名称包含在图标名称中,或者图标名称包含在快捷方式名称中,如Excel.lnk和Microsoft Excel.ico;腾讯QQ.lnk和QQ.ico

Note: This feature should ensure that the name of the shortcut is included in the icon name, or the icon name is included in the shortcut name, such as Excel.lnk and Microsoft Excel.ico; 腾讯QQ.lnk and QQ.ico.
(3)更换要求(Change Requirements):
①图标的名称包含于快捷方式的名称(例如图标名称为"Visual",快捷方式名称为"Visual Studio")
The name of the icon is included in the name of the shortcut

②快捷方式的名称包含于图标的名称(例如图标名称为"QQ音乐",快捷方式名称为"QQ")
The name of the shortcut is included in the name of the icon

![image](https://github.com/iKineticate/AHK-ChangeIcon/blob/main/Introduction/Auto_Change.gif)

2.打开ICON文件夹后,使用**鼠标滚轮键/F2键**更换图标
3.按下鼠标滚轮键/F2键更换图标

After Opening a Folder With Icons, click the mouse wheel button or F2 key to change the icon:
Press the mouse scroll button or F2 key to change the shortcut icon:

(1)打开存放ICO的文件夹

Open A Folder With Icons

(2)在AHK_ChangIco中选中需要更换图标的项目,然后在文件夹中鼠标滚轮键/F2键点击更换的图标
(2)在AHK_ChangIco中选中需要更换图标的项目,然后在文件夹中使用鼠标滚轮键/F2键点击更换的图标

Select the item in the AHK_ChangIco that needs to be changed with an icon, and then click on the icon with the mouse scroll wheel or F2 key in the folder
Select the item in AHK_ChangIco that needs to be changed with an icon, and then use the mouse scroll wheel or F2 key to click on the replacement icon in the folder

![image](https://github.com/iKineticate/AHK-ChangeIcon/blob/main/Introduction/MButtom&F2.gif)

3.**左键双击**需要修改的项目,并选择图片修改
3.左键双击需要修改的项目,并选择图片修改

**Double left click** the item to be modified, and select the image replacement icon
Double left click the item to be modified, and select the image replacement icon

4.**右键点击**需要修改的项目,根据右键菜单栏内容选择需要的功能
4.右键点击需要修改的项目,根据右键菜单栏内容选择需要的功能

**Right click** the item to be modified, and select the required function according to the context of the right-click menu bar
Right click the item to be modified, and select the required function according to the context of the right-click menu bar

![image](https://github.com/iKineticate/AHK-ChangeIcon/blob/main/Introduction/LButtom&Menu.gif)

5.添加开始(菜单)的快捷方式至列表中
5.添加桌面、开始(菜单)、其他文件夹的快捷方式至列表中

Add shortcuts from Start to the list
Add shortcuts from Desktop/Start/Other Folder to the list

6.添加其他文件夹中的快捷方式至列表中
6.添加UWP/APP等快捷方式至当前用户的桌面

Add shortcuts from folders to the list
Add shortcuts such as UWP/APP to the the current user's desktop

7.备份列表中的快捷方式至桌面文件夹

Backup shortcuts to a desktop folder
Backup shortcuts from the list to a desktop folder

## AHK_ChangIcon 的右键菜单功能

Expand Down Expand Up @@ -99,13 +93,13 @@ Supports **viewing** and **copying** attributes of shortcuts

## 已知问题 (ISSUES):

1.仅支持更换快捷方式图标,暂不支持更换`我的电脑``回收站``.url``.exe``.pdf`等文件图标
1.仅支持更换快捷方式图标,暂不支持更换非.lnk文件图标(如系统图标、exe等图标)

Only supports replacing shortcut icons,replacing icons such as' My Computer ',' Recycle Bin ','. URL ','. exe ', and'. pdf 'is currently not supported
Only supports changeing shortcuts icons,temporarily not supporting the replacement of non .lnk icons(Icons such as system, exe, etc)

2.UWP应用和WSA应用的快捷方式不支持直接恢复默认图标和打开目标目录
2.UWP和APP应用的快捷方式不支持直接恢复默认图标和打开目标目录

Shortcuts for UWP and WSA applications do not support restoring default icon and opening target directories
Shortcuts for UWP and APP applications do not support restoring default icon and opening target directories

3.部分快捷方式的原图标源于应用目录的.ico,导致错误判断为已更换

Expand All @@ -117,124 +111,17 @@ Recommend a software that facilitates converting other photos into ICO icons(The

https://github.com/genesistoxical/drop-icons

## 更新内容

v2.2
(1)缓解了切换标签时闪烁问题

Alleviated flickering issues when switching labels

(2)其他标签页添加了新功能(①清空列表;②添加其他文件夹的快捷方式至列表中;③添加开始(菜单)快捷方式至列表中);④备份快捷方式(暂无点击动画)

New features have been added to other tabs(① Clear list; ② Add shortcuts to other folders to the list; ③ Add Start (Menu) Shortcut to List;④Backup shortcuts to a desktop folder)(There are currently no click animations available)

(3)添加了启动界面

Added startup screen

(4)优化了部分细节

Optimized some details

(5)修复了若干问题

Fixed several issues

v2.1

(1)扁平风格

Flat Style

(2)部分按钮添加了动画

Some buttons have been animated

(3)添加了标签页(主页、其他、日志、主题、语言、关于)

Added tabs (Home, Other, Log, About)

(4)支持中文、英文语言(机器翻译的英文)

Support for Chinese and English languages (English translated by machine)

(5)去除原窗口标题栏,重新自绘标题栏

Remove the original window title bar and redraw the title bar yourself

(6)优化了部分细节

Optimized some details

(7)修复了若干问题

Fixed several issues

v2.0

(1)修改了软件UI

Software UI modified

(2)支持一键更换所有图标

Supports One-Click Change of all shorcut icons

(3)搜索栏添加了搜索按钮

A search button has been added to the right side of the search bar

(4)在菜单中添加了可被复制快捷方式的属性

Added shortcut attributes to the menu, and this attributes can be copied

(5)列表删除了快捷方式的目标路径的一列

The listview has removed a column of the target path for the shortcut

(6)优化了部分细节

Optimized some details

(7)修复了若干问题

Fixed several issues

v1.4

(1)在项目左侧添加了图标显示

Added icon display on the left side of the list item

(2)优化了部分细节

ptimized some details


v1.3

(1)添加了鼠标右键/F2键在文件夹中将对应的快捷方式图标替换为鼠标所在的图标

Added replacing the corresponding shortcut icon in the folder with the icon selected by the MButton/F2
## 更新内容(UPDATE):
v2.3

(2)优化了部分细节

Optimized some details

v1.2:
(1)添加了新功能(New Functions)

(1)添加了搜索功能

Added search function
①刷新/添加桌面的快捷方式至列表中
Refresh/Add Desktop shortcut to the list

(2)更换软件图标

Replace software icon
②添加UWP/APP等快捷方式至桌面
Add shortcuts such as UWP/APP to the desktop

(3)更改图标显示区域

Change icon display area
(2)优化了部分细节(Optimized some details)

(4)优化了部分细节

Optimized some details
(3)修复了若干问题(Fixed several issues)

0 comments on commit 45d724b

Please sign in to comment.