zenden2k / context-menu-launcher Goto Github PK
View Code? Open in Web Editor NEWSelect multiple files from Windows Explorer menu and launch just one instance of process
License: Apache License 2.0
Select multiple files from Windows Explorer menu and launch just one instance of process
License: Apache License 2.0
As the title says - nothing happens when more then 15 files are selected.
I was trying to pass multiple arguments to a powershell script and found this little program. The test script is simply like this:
"$args"
test-path "$args"
The path I use is G:\New [folder] (4)\Untitled-2.txt
, but it becomes G:\New [folder] 4 \Untitled-2.txt
in my powershell terminal thus the test-path command returns false.
How could I solve this problem?
I am having problems getting this to work when the path/filename of the file I right click and choose MyCustomAction - contains whitespaces. Nothing happens. If I remove the space from the path/filename - it works fine.
Thank you for your program.
Could you add one new feature.
Ability to use the program parameters.
singleinstance.exe "%1" {command} {parameters} $files [arguments]
To get result
myprogram.exe \parameters file1 file2 file3
Is there a way to make the invoked command execute faster? I have a custom context menu item that simply adds selected files to a new folder. But it takes about half a second for it to complete. Terracopy has an extension that does the same thing but it's nearly instant.
Sorry for being critical, you've done some amazing work.
The old way is: start singleinstance.exe , wait for a certain time, receive new parameters and start the program.
New method should be: start singleinstance.exe, wait, receive new parameters, wait again, receive again..., start the program.
In the new method, the wait time could be set to a small value.
Bug:
It is impossible to use this executable on any file containing a space in its filename. Normally each filename needs to be enclosed between quotes to avoid this bug and using "$files" (with the quotes) in the command line is not working because it's not enclosing each filenames individually.
Is it possible update the code so that it will add quotes around each filenames? It can be by default or maybe using an optional argument like "--si-timeout" ? Example: --quotes
This executable is still very useful for me but this bug is really a pain-in-the-ass since I am working with a lot of filenames containing spaces.
I am aware there have been no updates since like 2 years but I still hope the author is still alive and will be kind enough to fix this bug. If there is no fix, I will definitely need to learn C++ so I can fix this by myself... :(
Finally, a big thank you to the author for sharing this very useful program and it's source code!
Great job ! Really ! Do you kown if it is alway necessary to use your program ? I am facing to the same issue today and your job is cool but why we need to use an external program to do this simple things ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.