Messages - Dirhael [ switch to compact view ]

Pages: prev1 ... 71 72 73 74 75 [76] 77next
376
Just thought I'd add a script that does what I need, in case there are other with similar problems. This script in particular makes a few changes to Total Commander. It will replace the standard window captioning (which by default shows "Total Commander 6.55 - Registration name") with a much more useful current work path. Much more accessible & useful if you ask me :)
 
 
;
 ; AutoHotkey Version: 1.x
 ; Language:       English
 ; Platform:       WinXX
 ; Author:         Dirhael (dirhael at gmail dot com)
 ;
 ; Script Function:
 ; Enables the display of the currently active work path in Total Commanders window captioning
 ;
 
 #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
 #SingleInstance ignore ; Only allow one running copy of this script
 #NoTrayIcon ; We don't need the tray icon for this script
 SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
 #MaxMem 1 ; While it's probably not needed, try to use as little memory as possible
 
 SetEnv,tcpp_exe,TCPowerPack.exe ; The name of the Total Commander Powerpack executable
 SetEnv,tc_exe,totalcmd.exe ; The name of the regular Total Commander executable
 SetWorkingDir %A_ScriptDir% ; Make sure that we're working in the same folder as the script's located in.
 
 IfWinNotExist ahk_class TTOTAL_CMD
 {
 
  Run, %A_WorkingDir%\%tcpp_exe%, , UseErrorLevel ; Check for TC Powerpack and run if found
 
  if ErrorLevel = ERROR ; Attempt to run the regular version of Total Commander if we can't find TC Powerpack
  {
  Run, %A_WorkingDir%\%tc_exe%, , UseErrorLevel ; Check for regular Total Commander and run if found
  }
 
  if ErrorLevel = ERROR ; Error message and exit if we can't start the application
  {
  Msgbox, 16, , ERROR: Unable to launch Total Commander.`n`n%A_WorkingDir%\%tcpp_exe% -> File Not Found!`n%A_WorkingDir%\%tc_exe% -> File Not Found!`n`nPlease make sure that you are running this application from the same directory as one (or both) of the above executables are located.
  ExitApp
  }
 
 }
 
 
 Loop
 {
  WinWaitActive ahk_class TTOTAL_CMD ; No point in continuing until the Total Commander window is active
  {
  ControlGetText, text, TMyPanel2 ; Get the current path from the "command prompt" toolbar (will work even if it's not displayed)
  StringTrimRight, text, text, 1 ; Get rid of the rightmost ">" character
  WinSetTitle %text% ; Set the title captioning
  }
 
  IfWinNotExist ahk_class TTOTAL_CMD ; If Total Commander isn't running, we'll just exit here
  ExitApp
 }
 

 It will first attempt to launch Total Commander, and keep running until you shut down TC. If you'd like to use it, keep in mind that you'll have to copy it to your TC folder. I've just compiled it, copied it to the correct folder, and changed my start menu shortcuts accordingly :)
 
 
 Here's a before and after screenshot:

Before:
 before.png

After:
 after.png

377
I've owned an Actual Tools license in the past, and I must drop a warning that you are only buying 3 months of support & future versions when you buy this product.  A very not-so-fair deal in my opinion. 
But still a well written & supported program, with good features.

I actually solved my own problem without the need to buy that application.. The lifesaver you ask? AutoHotKey of course ;)

378
I know Actual Windows Manager can change the Caption of a window on Startup.

http://www.actualtools.com/


Thanks, that's almost exactly what I was looking for! :) It does seem to be slightly overkill for my needs, but who knows, I may need the other features later on..

EDIT: I think I spoke to soon. While it's close to what I needed, it doesn't allow me to just strip out parts of the window titles. Let's take a example of what I mean, Notepad++ names its windows this way: "Notepad++ - C:\Path\To\File.txt"
The problem with renaming the entire window title is that I'll have no idea what files are open, so I'm pretty much not any closer to a solution than I was :( Thanks for the help anyway though!

379
Well.... I don't know any app that can do this. That doesn't mean it can't be done, though... ;)

hehe, yeah... I seem to recall a harmless trojan once upon a time that allowed you to rename the taskbar buttons & window titles to your liking. Was fun using that to mess with a flatmate, but I don't think I'd want to install a virus just to achieve what I'm looking for ;)

380
Thought I'd ask this question here as well, seeing as there are a lot of knowledgeable people here :) Ever encountered software that insists on putting their application title in front of any open files / folders you might have? I have, and it frustrates me to no end. I know what applications I'm using, so there is absolutely no reason to keep reminding me at the expense of usability. What happens is that when you're having several copies of the same software open, there is no good way to distinguish them from each other.

My question then becomes, are there any utilities that will let me rename those taskbar buttons and window titles? I would prefer if I could make changes in a more permanent way by associate the changes with the window class or filename, but a less advanced method would also be a good start.

Any help would be greatly appreciated! :)

Pages: prev1 ... 71 72 73 74 75 [76] 77next
Go to full version