Giter Club home page Giter Club logo

assoc-tool's Introduction

文件关联工具

本工具可以用来为你的便携程序添加文件关联,比如 nodepad2.exe 、 vscode 或其他图片处理程序,而不仅仅是 sublime text 。

使用方法

把要关联的程序比如 nodepad2.exe 拖入本工具的窗口即可进行操作。

  • 添加右键菜单
  • 关联扩展名
  • 关联图标
  • 取消关联扩展名
  • 取消添加右键菜单
  • 图标叠加

设置扩展名

按照以下格式录入 ext.txt 并与要关联的程序保存在同一个目录下即可。

  ; 每行前面的分号为注释标记
  ; 每行输入一个扩展名
  c
  css
  ;htm
  ;html
  json
  vue

选择图标大小

提供了三种大小选择 32 64 256 ,默认是 64 ,你可以修改代码中的 set ico_size=64 值来选择尺寸,尺寸较大的比较清晰也较占空间。

未完成功能

想实现图标叠加效果,类似下图。当一些文件关联某个软件以后,这些文件除了拥有本身类型的图标以外,还叠加一个小图标,也就是当前关联的程序。

谷歌了半天,好像没有可以直接使用的方法。叠加的图标要调用 shell 接口先进行注册……

鸣谢

  • Sublime-Text-Portable-Tool
  • vscode-icons
  • svgexport
  • png2ico

assoc-tool's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.