Everything_IncRunCountFromFileName

Plug-in and third party software discussion.
Post Reply
NotNull
Posts: 5517
Joined: Wed May 24, 2017 9:22 pm

Everything_IncRunCountFromFileName

Post by NotNull »

I just wrote a new version of "JumpToFolder" that implements all request and some other new features as well (currently in test).

Thinking ahead:
One of the features I would like to implement in a follow up version, is the possibility to increment the run count of the selcted file/folder.
One possibility would be to let ES.exe handle this, but there is also the Everything SDK.


The question:
Is it possible to do something like: Rundll32.exe "c:\path to\Everything64.dll", Everything_IncRunCountFromFileName,"c:\path to\this file.txt" to increment it's runcount so I can integrate that in my AutoHotKey script?

A simple Yes/No answer will suffice. Just exploring options. (will probably take another month before I get to this)
void
Developer
Posts: 17153
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything_IncRunCountFromFileName

Post by void »

ES.exe -inc-run-count "c:\path to\this file.txt"

rundll32 is not supported.
-instance does not work with -inc-run-count (I've added support for this in 1.1.0.19).
AutoHotkey DllCall should work. DllCall("c:\path to\Everything64.dll\Everything_IncRunCountFromFileName" , WStr, "c:\path to\this file.txt")
NotNull
Posts: 5517
Joined: Wed May 24, 2017 9:22 pm

Re: Everything_IncRunCountFromFileName

Post by NotNull »

DllCall() is what I had in mind with this.

Tested: works like a charm! Very nice. It even reports the new Run Count.

This saved me a couple of hours of experimenting. Thanks!!
Post Reply