Putty Customization - Different Icons For Different Sessions? - putty

I'm looking to customize my putty sessions so I can change the icon depending on a "group" that the putty session is in. I essentially want my taskbar (windows 7) to have an icon for each group I define, but each of those icons to be different. Is there a good tool or way to do this? Thank you very much for any replies!

I did it manually.
Create a shortcut of putty on the desktop
Edit the "Target:" line in right-click properties (add -load <session name>)
press change Icon and choose your icon -

I use PuTTYTray: https://puttytray.goeswhere.com/
It allows you to choose the icon in the configuration:
Window - Behaviour - Adjust the icon.
Then just save the session.
As a small annoyance, you don't have many options for icons, since it uses the .ico format. Therefore, I keep a copy of the original program PUTTY.EXE, if only to capture the original icon from there.

I made a patch to PuTTy which allows you to specify a custom taskbar icon for a window/session (as opposed to an taskbar icon which is a shortcut to a session). i.e. If you have several active sessions, each one can be identified in the taskbar by it's own icon. The link below has the patch (which is pretty small) and a pre-build executable with the patch (which is against a pretty old version of PuTTy).
http://www.bradgoodman.com/puttypatch.html

Related

Custom key for multiple cursor in VSCode

In VS Code you need to use alt to set multiple cursors. Is there any way to change it to, maybe, ctrl? Using alt really annoys me as it's less comfortable to me and it always toggles menu bar which I hid on Windows:
photo
Or maybe is there any other solution, maybe to change key that toggles menu? I couldn't find any useful shortcut entries in shortcuts config of vs code.
It is not currently possible to customize mouse shortcuts, the feature request for that is here https://github.com/Microsoft/vscode/issues/3130
It's actually completely unusable on most Linux distributions as it's an OS-level shortcut.

Pinning an application shortcut to the Windows (7,8) taskbar

I would like to write a program that Pins an APPLICATION like Microsoft WORD, EXCEL, and POWERPOINT to the taskbar on windows 7 or 8. I found the directory that hosts the shortcuts (%APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar); however, when I create a shortcut and move it to that folder, the icon does not appear in the taskbar. Also, removing a file from that folder does not remove the icon from the taskbar, it just disassociates the icon from any shortcut. The next time you click on the icon it will display a message asking if you want to remove the pinned item. I would like to automate these processes as I use them a lot on multiple computers per day.
Found my answer elsewhere. VBScript is the way to go!
http://www.codeproject.com/Articles/185512/Programmatically-PIN-shortcut-onto-Taskbar-on-Win7
Old question but I was looking for a way to do this too, this way seem much simpler than using VB.
Create a new shortcut and set the target to: cmd.exe /c "path\to\script.bat". Then you can just right-click and pin it like other shortcuts.
Got the solution from here:
http://www.mysysadmintips.com/windows/clients/343-pin-bat-files-to-windows-8-start-screen

Did anyone manage to make katmouse work over vs 2010

As you might know katmouse enables scrolling over non active windows. Which would be especially great in vs 2010 because now you can take source code windows to other monitors. But of course it does not work. Is there a trick to make WPF receive the right message?
Try WizMouse, remember to set it to run with administrator privileges to make it work for admin level windows.
Yes, well, mostly.
Open the KatMouse dialog by right clicking and choosing settings. Go to the Classes tab, and drag the icon on the bottom of the dialog to an open vs2010 window. That'll add the new class to KatMouse. Now double click that new entry to bring up the settings for that class, and turn off the "Window has wheel scrolling support" checked box.
Unfortunately it seems like the class name changes for every source window, so I think you have tell KatMouse about every source window every time you launch vs. :(

Is it possible to launch an external image editor from Textmate?

Is it possible to launch an external image editor from the TextMate project drawer? I suppose the same concept would apply to launching any external editor from TextMate. Right now, if I right-click on the image file, I only have an option to open in Preview or Finder.
Thanks!
Yes. There is an (official) TM Bundle that does what you want--it's called "ImageBrowser." I installed recently and i have used it only once. It seems to work fine for the purpose you mentioned in your Question; in particular, it finds images in your current project and displays them in an image browser that runs inside TextMate.
You can get it from the Macromates SVN Repository.
TextMate respects the Finder's (well, LauchService's) "Open with" choice for each file. Whichever program would open when you double-click the file in Finder will appear in TextMate's contextual menu. Simply change this through the Finder's Get Info window for the file in question to the editor of your choice, and TextMate will respect it. It's dynamically populated, so you don't need to restart TextMate.
As far as I know, there's no method to specify a secondary program beyond the default.
I think no is the answer, but like Matt said, explore the usage of the Services menu.

Eclipse's tab double click on Visual Studio?

On Eclipse, whenever I double click a tab, it fills the workspace (by hiding all other views like project tree, console, etc).
Is there any way to do this on Visual Studio?
Note: i'm not looking for full screen, just want a way to declutter the workspace but still have access to menus.
Are you after this?
Set shortcuts for the Window.AutoHideAll function and for the Window.ResetWindowLayout function. In order for the ResetWindowLayout to work, you have to export your settings (make sure you select "All Settings") with all windows expanded and then import them again.
ResetWindowLayout will restore all windows to the way they were the last time you imported your settings.
Not with double click on tab, but you can do the same with Shift+Alt+Enter key combination.
This keyboard shorcut was changed to F11 from 1.9.1 vscode version.
All keyboard Shortcuts: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
I was looking for that, as well, and I now just got used to using full screen (Shift+Alt+Enter), which hides a little too much, which you seem to think, as well, but does in fact still show the menus.
Looks like drby got it on this one. Just FYI. I pinged the VS team to ask about this and here is the response:
"There is no way to reverse the command automatically. For it to work as a toggle we would need to save which toolwindows were auto hidden and which ones were not when the command was run, which we don’t do (it would cause lots of interesting persistence questions, across profiles and VS sessions)."
The idea of a "Unhide All" command is what I suggested. So if you hide all then you can unhide all as well. There might be some windows you don't want to unhide but the 1 or 2 extra windows is better than not having an unhide IMHO.

Resources