Giter VIP home page Giter VIP logo

intag's Introduction

InTag

POLL📢Update Notification Feature

InTag is a tool that allows you to add tags to folders and files from the explorer context menu. It can also scan nearby files and use their tags for convenience. The tool is designed to be small and lightweight.

Features

  • Add tags to folders and files from the explorer context menu
  • Scan nearby files and use their tags for convenience
  • Small and lightweight design
  • NEW - added support of CLI usage

Usage (UI)

To use InTag, follow these steps:

  1. Right-click the folder (on Windows 11, you may need to press ' Show more options'), and select InTag.

Context Menu Example

  1. Assign the desired tags to a folder (or file, if it supports System.Keywords metadata). The neighboring tags will be included in the list of available tags.

Main Window Example

  1. Once you have assigned the tags, click back to the folder or press the enter key to apply the changes. The tags will be assigned, but it may take some time for explorer to detect the changes. To cancel press the esc key.

    NB. The tag input field should be focused and empty for the enter key worked.

Tagged Folders Example

Tagged Folders Example - 2

  1. Ensure that you have enabled grouping by tags by selecting "Context menu on the folder background > group by > More... > Select 'Tags' in the list".

Usage (CLI)

# Add tags:
.\intag.exe --add "test_tag" --path "C:\path\to\folder\or\file"
# Remove tags:
.\intag.exe --remove "test_tag" --list "C:\path\to\list\file"
# Add And Remove tags (will combine files in list file and argument of "--path")::
.\intag.exe  --add "test_tag" --remove "test_tag" --list "C:\path\to\list\file" --path "C:\path\to\folder\or\file"

Installation

There are three methods for installing InTag:

  1. Automagical: Start the application once, and it should install itself automatically.
  2. Almost automagical: Right-click the application icon in explorer, and run the application with administrator rights.

Run as admin

  1. Manually: Place the .exe file in a directory of your choice, or add a registry entry.

Registry Entry Snippets

To add the registry entry, use the following code snippets:

For (only) folders:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\InTag]
"Icon"="\"C:\\<PUT YOUR PATH HERE>\\intag.exe\""

[HKEY_CLASSES_ROOT\Folder\shell\InTag\command]
@="\"C:\\<PUT YOUR PATH HERE>\\intag.exe\" --ui --path \"%1\""

For all files:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\InTag]
"Icon"="\"C:\\<PUT YOUR PATH HERE>\\intag.exe\""

[HKEY_CLASSES_ROOT\*\shell\InTag\command]
@="\"C:\\<PUT YOUR PATH HERE>\\intag.exe\" --ui --path \"%1\""

Uninstall

There are two methods for uninstalling InTag:

  1. Via argument: Run the exe file with the --uninstall or -u argument.
  2. Manually: Remove the HKEY_CLASSES_ROOT\Folder\shell\InTag and(or) HKEY_CLASSES_ROOT\*\shell\InTag entries.

Contributions

montoner0 - great PR with bunch of improvements and fixes, also nice suggestions

Third-Party Notice

The code for individual file management was taken from the Windows API Code Pack.

Additional Tool

For even better organization, check out Multistack Launcher,

intag's People

Contributors

jamminroot avatar montoner0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

intag's Issues

Tagging does nothing on Windows 10

Not sure what is going wrong. I installed it and it shows on the context menu but when I add tags to folder, the tags don't show in explorer.

Prompts UAC every time when run

UAC is prompted every time I tag a file. I understand that administrator permissions are required on the initial run to set up the registry keys, but it should not be required simply to tag a folder/file. Could a separate install .exe be provided perhaps, so that UAC is only prompted during install?

Modern context menu

Add inTag to new context menu.
WIP - draft ready, but signing required (paid cert)

UPD: probs cert is not required. Need to run through documentation again.

For anyone motivated enough to implement: please, feel free, PRs are very welcome :)

Individual files support

Question ,is there any way to may intag work for individual files and not folders.I know ther eis a way to add tags by foing into properties and then add tag to details but I find htat too time consuming and was wondering if its possible to implement intagg feature to work for individual files also?

Too Slow

I need to wait like a minute or more so I can see the changes in the explorer in any view (group/sort, etc.)

Missing executable?

Maybe its just me, but the download seems to be missing the application executable file?

Where is .exe?

My understanding from the readme is that we need to run some xxx.exe --install. Is that correct?

Cloned the repo, then did a *.exe search, but can't find anything. Is it missing, or am I just making a newbie mistake?

Problem with UTF-16 LE encoding

Snipaste_2022-02-16_16-34-39

Thank you very much help me.

Before, i modify desktop.ini, and save as UTF16 LE,messy code is none.

please,help,thank you very much.

I like intag very much ,please fix it . please thank you very much.

Snipaste_2022-02-16_16-44-12

Possible to tag .lnk files?

I'm having no problem with File Folders, but with shortcuts I'm having issues. Let's say I want the "Music" shortcut.
Since it's not working via InTag, I manually go inside the shortcut folder, & I place my desktop.ini with the following parameters:

dfdfd

Save, and to my surprise- it's still unsuccessful.

adfgsdfgsdfg

Any ideas? Appreciate you 💖
EDIT: Might be worth checking this out: https://exiftool.org/TagNames/LNK.html

Fixes and improvements

Hi,

I've made a number of fixes and improvements to the app such as:

  1. Close the form on Enter if the tag input field is empty
  2. Throw exceptions if registering the extension fails
  3. Show a message to a user when the app fails (currently you can only guess if something went wrong)
  4. Add support for more than 15 selected items in Explorer
  5. Fix issues with an interprocess communication for multiselection (the current implementation is unreliable, sometime it works, sometime don't)
  6. Added a message when no valid files/folders are passed to a command line
  7. Automatically elevate a process during (un)installation if needed
  8. Tags sorting (tags are sorted in alphabetical order both in UI and when saved)

Please let me know if you're interested in these changes, I'll make a PR.

Really would love this to work.

But it's triggering Norton with a malicious file in my Google Chrome user data..? And the original .exe is greyed out, saying I need permission from myself to edit the file.

I really just needed this to organize my freelance project folders. Bit worried now. The interface in your screenshots were really perfect for what I need it for.

Suggestion: multiple folder tagging

Hello. Big fan of your app.
Do you think it could possible to add a regedit entry/make it so it can intake multiple folders at once ?
I'm trying to manage a huge clutter of these and I haven't found an option for that.
I tried to iterate on my selection, but logically even if I fed 70 folders to the soft, I will end up with 70 windows opened.

Cheers and keep up the good work 😃

Access denied on file write

System.UnauthorizedAccessException: Access to the path 'C:\DEV\uMMORPG2D\Desktop.ini' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
   at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
   at intag.FileUtils.AssignTagsToFolder(String folder, HashSet`1 tags) in C:\DEV\intag\intag\FileUtils.cs:line 58
   at intag.FileUtils.AssignTags(Dictionary`2 objectTags) in C:\DEV\intag\intag\FileUtils.cs:line 29
   at intag.MainForm.FormDeactivate(Object sender, EventArgs e) in C:\DEV\intag\intag\intag_form.cs:line 183
   at System.Windows.Forms.Form.OnDeactivate(EventArgs e)
   at System.Windows.Forms.Form.set_Active(Boolean value)
   at System.Windows.Forms.Form.WmActivate(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

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.