|27 Nov 2009||#1|
| || |
Context Menu with Custom Args.
Not sure if this is the best forum to post in but here is what I want to do.
I use a program called "ForceBindIP" to bind a specific network adapter to the program I am running. I would like to add an additional context list item to all shortcuts (or specific ones if I can't do that) that allows me to easily choose which IP should be bound. The problem with this is that the command run by the context list item needs to be morphing, or rather, interpretive of what shortcut its on. Example:
shortcut to halo.exe:
Right Click > Open
Right Click > Bind to IP2
'C:\forcebindip.exe 192.168.3.4 "C:\Program Files\Halo\Halo.exe"'
The problem with doing this is that I need the context item to get the final command ("C:\Program Files\Halo\Halo.exe") from the shortcut that you are currently clicking on. Any Ideas? I am currently using custom extensions for each shortcut with two seperate commands each, but the main problem with this is that it must be done for every new shortcut. For example my halo shortcut is Halo.sh2 with the .sh2 extension given two separate handlers for the item, one runs normally, and one binds the IP to that program.
Sorry for the really crazy thought organization in this post. Hope it makes sense.
Thank You all in advance. I will keep up to date on this as I progress with this matter.
|My System Specs|
|Similar help and support threads for2: Context Menu with Custom Args.|
|Context Menu - Create Cascading Menu of Multiple Layers||Tutorials|
|Custom context menu items not showing||Customization|
|How do I move context menu items into a cascading context menu?||Customization|
|Relocate WinRAR Context Menu (Context Menu Handlers)||Customization|
|Add open with custom application to context menu||Customization|
|Editing and Adding Custom Context Menu Options||Customization|
|Custom Items on Start Menu Context Menu||Customization|
|Our Sites ||Site Links ||About Us ||Find Us |
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
All times are GMT -5. The time now is 05:06 AM.