|
lanux128
|
 |
« on: August 01, 2008, 12:38:00 AM » |
|
some back-story: sometimes i want to copy a window's titlebar text or edit the caption before taking a screenshot. so i started working on my 'middle-button-magic' tool. basically you middle-click on a windows titlebar and a menu pops-up where there are commands to copy the caption text (and the windows' class as well) into the clipboard. plus another option to modify the titlebar itself, though any change is temporal and lasts while the program is not refreshed or closed.  note: AVG inadvertently ate my script just a while ago so please bear with me until i retrieve a backup-copy.a bit anti-climatic since Skrommel had already whipped up a script in my absence but here is it anyway.  P.S. Ack: Deozaan came up with the name - 'CopyCap'. 
|
|
|
« Last Edit: August 03, 2008, 02:28:52 AM by lanux128 »
|
Logged
|
|
|
|
|
TucknDar
|
 |
« Reply #1 on: August 01, 2008, 02:23:53 AM » |
|
Sounds very cool!
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
lanux128
|
 |
« Reply #3 on: August 01, 2008, 09:42:04 AM » |
|
thanks justice, i'll take a look and see if i can learn something from your script. 
|
|
|
|
|
Logged
|
|
|
|
|
skrommel
|
 |
« Reply #4 on: August 01, 2008, 09:31:24 PM » |
|
 Try this one! Captain - Obtain or change a window's title. Features:- Middel click on the caption of the window you need the text of. - Rightclick the tray menu to change hotkey.  You'll find the downloads and more info at 1 Hour Software by Skrommel. Skrommel
|
|
|
|
« Last Edit: August 02, 2008, 06:48:18 AM by skrommel »
|
Logged
|
|
|
|
|
lanux128
|
 |
« Reply #5 on: August 01, 2008, 10:20:16 PM » |
|
hehe.. the more the merrier, Skrommel. btw the ' www.1hoursoftware.com' doesn't work this link here works, maybe it's just the PC i'm using. btw, i'm away from my PC so i can add my script only on Monday. 
|
|
|
|
|
Logged
|
|
|
|
|
tomos
|
 |
« Reply #6 on: August 02, 2008, 03:19:12 AM » |
|
both links working here (I'm usually the one with those sort of problems so that's a relief  )
|
|
|
|
|
Logged
|
|
|
|
|
skrommel
|
 |
« Reply #7 on: August 02, 2008, 03:57:28 AM » |
|
 I'm so sorry lanux128! I thought it was a coding snack request, I couldn't see any link in your post! I'll change the name immediately! Skrommel
|
|
|
|
|
Logged
|
|
|
|
|
lanux128
|
 |
« Reply #8 on: August 02, 2008, 04:04:45 AM » |
|
it's okay, Skrommel. let the name remain as it is, i'll change mine later since i haven't posted it yet. 
|
|
|
|
|
Logged
|
|
|
|
|
skrommel
|
 |
« Reply #9 on: August 02, 2008, 06:51:17 AM » |
|
 I've changed the name to Captain. Again, sorry lanux128. Skrommel
|
|
|
|
|
Logged
|
|
|
|
|
lanux128
|
 |
« Reply #10 on: August 03, 2008, 02:32:19 AM » |
|
nice play on the words, Caption -> Captain. btw, i've also posted mine as well. 
|
|
|
|
|
Logged
|
|
|
|
|
nogojoe
|
 |
« Reply #11 on: August 03, 2008, 03:39:53 AM » |
|
nice play on the words, Caption -> Captain. btw, i've also posted mine as well.  I've downloaded but it doesn't go. doesn't reside in the taskbar checked the script I see it uses the middle button it goes ok Just runs silently in the backgound .Used to having programs residing in the taskbar I was writing this up when I got the reply Thanks I had worked it out. nogojoe
|
|
|
|
« Last Edit: August 03, 2008, 03:52:41 AM by nogojoe »
|
Logged
|
Often the most convincing people are those who have lost the plot so much they don't recognize the difference between fact and fantasy
|
|
|
|
PhilB66
|
 |
« Reply #12 on: August 03, 2008, 03:46:38 AM » |
|
nice play on the words, Caption -> Captain. btw, i've also posted mine as well.  I've downloaded but it doesn't go. doesn't reside in the taskbar nogojoe Middle-click on the title bar of the active window to see the menu.
|
|
|
|
|
Logged
|
|
|
|
|
Armando
|
 |
« Reply #13 on: September 15, 2008, 04:18:00 PM » |
|
I wonder why captions tend to always return to their previous name with Word windows... And this is exactly ehere I'd need different names for my windows. Strange. Apart from that, nice scripts.
|
|
|
|
|
Logged
|
"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it." Glenn Gould
|
|
|
|
skrommel
|
 |
« Reply #14 on: October 09, 2008, 02:29:51 AM » |
|
 I've just uploaded Captain v1.2. Changes:- Updates changing captions Skrommel
|
|
|
|
« Last Edit: October 09, 2008, 02:31:24 AM by skrommel »
|
Logged
|
|
|
|
|
Armando
|
 |
« Reply #15 on: October 10, 2008, 10:38:49 AM » |
|
This is really cool skrommel. Now I can rename any window. I'll look at the code later and try to understand the magic behind it. 
|
|
|
|
|
Logged
|
"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it." Glenn Gould
|
|
|
|
ewemoa
|
 |
« Reply #16 on: November 01, 2008, 09:54:08 AM » |
|
Hmmm, neither Captain nor CopyCap seem to handle Japanese text in captions on one of my machines. Perhaps this is an AHK thing...
|
|
|
|
|
Logged
|
|
|
|
|
lanux128
|
 |
« Reply #17 on: November 01, 2008, 11:47:08 AM » |
|
AHK doesn't support Unicode internally though there are some workarounds in place currently, one of which is in this thread.
|
|
|
|
|
Logged
|
|
|
|
|
ewemoa
|
 |
« Reply #18 on: November 01, 2008, 10:38:25 PM » |
|
Thanks for a pointer to that thread -- I took a look and although I'm hoping for Unicode support in AHK, looking at the span of time that the thread covers I'm not hopeful for it any time soon...
|
|
|
|
|
Logged
|
|
|
|
|
lanux128
|
 |
« Reply #19 on: November 02, 2008, 07:47:59 PM » |
|
yes, as i understand apparently Unicode support warrants something like a complete rewrite therefore the delay.. 
|
|
|
|
|
Logged
|
|
|
|
|
ewemoa
|
 |
« Reply #20 on: November 02, 2008, 09:31:52 PM » |
|
Ewwwwwwwwww 
|
|
|
|
|
Logged
|
|
|
|
|
lanux128
|
 |
« Reply #21 on: May 12, 2009, 12:13:15 AM » |
|
a slight variation of this script can be found here, where there is a menu to open the folder of the current program. 
|
|
|
|
|
Logged
|
|
|
|
|
CrawlerBrinx
|
 |
« Reply #22 on: October 08, 2012, 06:36:04 AM » |
|
It would be mega-awesome to be able to create rules (with regexp support, plox!  ) for auto caption changing.
|
|
|
|
|
Logged
|
|
|
|
|