Comments (12)
Instead of putting the file path in there, you need to put (in your case) "BandicamPortable Protocol://" into the link box (so not the link to the file path, but to the URI scheme). However, "BandicamPortable Protocol" won't work because it contains a space (which should have been marked as an invalid scheme). So first of all you need to generate a new scheme that does not contain spaces, like myscheme (the standard name). Then in the "link(s)" box you need to put "myscheme://", and then it should launch your program.
from customrightclickmenu.
How to generate a new scheme like "myscheme://" ?
Any tutorial for that?
from customrightclickmenu.
The same way you generated the other one, by clicking the "generate" button after entering what you want into the inputs. Except this time entering "myscheme" (be sure to not include the :// in the name, only do that while using it as a link) instead of "BandicamPortable Protocol".
from customrightclickmenu.
Then I need to remove the former error .reg info.
from customrightclickmenu.
I think you should record some sample tutorials for using the plugin you created, and upload them to Youtube so that guys will handle the tips well.
from customrightclickmenu.
You don't really have to remove it, it won't get accidentally activated anyway and can't do any harm except launching your bandicam if someone decides to target you specifically.
If you really want to remove it though, you can go to "HKEY_CLASSES_ROOT\BandicamPortable\shell\open\command" in your regedit and remove the key
Regarding creating tutorials, i might do that eventually but i'm just a bit busy at the moment so it might take a while.
from customrightclickmenu.
BTW, can I use the same "myscheme://" to open other .exe applications?
like D:\greensoft\PDFBinderPortable\PDFBinder.exe
Should I manually add others into the reg?
from customrightclickmenu.
You'd have to choose a new name and generate a new regex file, otherwise it won't know which one to open, so for example use PDFBinder as a name instead of myscheme.
from customrightclickmenu.
I see, after I try to add another exe behind it opend the default bandicam exe.
from customrightclickmenu.
Thats because the url you're linking to in the address bar still starts with myscheme:// and not the new name (don't know what it is as I can't read chinese).
By the way what comes after the "://" does not matter, it opens a program/file based on what comes before it, so simply linking do myscheme:// does the same as linking to myscheme://D://Some/U/R/L.exe.
You are registering a url scheme (like http:// or https://) to open a certain programs, linking only those things, not what comes after it.
from customrightclickmenu.
Could this kind of running exe or bat or cmd get parameters passed?
If I want to right click on a Youtube page to pass the url to python.exe?
from customrightclickmenu.
Yes, if you read this page you can learn more about it https://msdn.microsoft.com/en-us/library/aa767914%28VS.85%29.aspx?f=255&MSPPError=-2147217396. However the extension can not generate this one for you, you have to edit the .reg file (with notepad or something) and behind the .exe" place this:
"%1"
So the last line of your earlier examples becomes:
@=""D:\greensoft\BandicamPortable\BandicamPortable.exe" "%1""
After that anything after the :// in the link is passed, so myscheme://abc launches:
BandicamPortable.exe abc
However you can not as you said click on a youtube page and pass that specific URL. You can only pass predefined data (so like the links). If you would want to do that you would have to open the URI with javascript which chrome forbids.
Basically if you want to learn more or don't understand, the page i linked explains this much better than i can.
from customrightclickmenu.
Related Issues (20)
- Execute when visiting specified sites HOT 1
- [wiki] please give an example how to pass link as an argument for search engine HOT 3
- [wiki]How to add Copy Tab URL HOT 8
- [Questions] Window title! + couple extras HOT 8
- CRX_SIGNATURE_VERIFICATION_FAILED - Cant add extension to edge HOT 3
- [wiki] Download Tutorial HOT 26
- An error occurred. The package is invalid:“CRX_SIGNATURE_VERIFICATION_FAILED” HOT 1
- Can't run the script on chrome-extension:// page. HOT 1
- Is it possible to add items straight to the context menu and not into the submenu? HOT 3
- Cannot rename main node (Custom Menu) to something else in EDGE (works in Google) HOT 3
- Manage permissions dialog is not working HOT 2
- Project abandoned or in development HOT 7
- Bug: Cannot view or edit submenu HOT 1
- Is it possible the use the current tab url in the link settings? HOT 2
- add text to the context menu that when you click on the text it adds it to the form text box HOT 5
- Get text from the CRM item clicked HOT 18
- True copy and paste operation vs determining which field I right clicked in HOT 5
- addon hijacks .js file links HOT 11
- image right click HOT 2
- How to use CRM Keyboard Shortcut in extension shortcuts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from customrightclickmenu.