[Relz/beta] Control Tab functionality for the TES4 CS

Post » Wed Sep 01, 2010 5:31 pm

http://www.gamesas.com/bgsforums/index.php?showtopic=1043222

Name: Control Tab functionality for the TES4 CS
Version: 0.9b (beta)
Date: 6/10/2009
Category: Modding Tools
Requirements: Oblivion Patch 1.2.0.214, CS 1.2.04 (tested with these on XP SP3 PRO, don't ask me about Vista ;)
Author(s): utumno aka Udun
Homepage: http://udunslabs.blogspot.com/
Sources: http://www.tesnexus.com/downloads/file.php?id=25031, http://planetelderscrolls.gamespy.com/View.php?view=OblivionUtilities.Detail&id=52


Description
===========
Adds control tab functionality (actually ALT TAB, but using Ctrl-Tab shortcut) in the Oblivion construction set, using the excellent Autohotkey program. Meaning when pressing and holding Ctrl then pressing Tab you cycle in an alt tab way through the CS windows you have open. Shift reverses order. It works like the alt tab shortcut in Windows Explorer. When releasing the shortcut the previously focused window comes on top of the stack. Control Tab would be much easier to implement but we want the real thing no ?
As an added bonus it adds a couple of shortcuts to max/minimize the main CS windows.


Install
=======
Download, unzip, save CtrlTab_CS_v0.9b.exe wherever in your drive. Open up the CS, load your data. Then run the CtrlTab_CS_v0.9b.exe (if no CS window is open it will immediately exit). A small green icon with an H on it will appear on system tray. By right clicking on it you can exit, pause the script or suspend the hotkeys. When having closed the CS the script should exit automatically. Voila !


Features
========
Adds control tab functionality (actually ALT TAB, but using Ctrl-Tab shortcut) in the Oblivion construction set. Meaning when pressing and holding Ctrl then pressing Tab you cycle in an alt tab way through the CS windows you have open. Shift reverses order. It works like the alt tab shortcut in Windows Explorer. When releasing the shortcut the initially focused window comes on top of the stack. Clicking on a window adds it to the stack (even if the script failed to auto-add it). Simple Control Tab would be much easier to implement but we want the real thing no ?
Additionally pressing Alt+m toggles the maximize/restore state of the window while Alt+n minimizes it out of your way. It is meant to be used with the object, cell, render, script and script\open windows (and a couple others maybe) which although not having maximize\restore\minimize button they can be maximized and minimized. With other windows might work but with windows like "Reference" will give a funky result :)
Finally, pressing Cntrl+Shift+r reloads the script. When cpu load is very high this can prove necessary.


Limitations
===========
When clicking too fast on an object in the object window the window that pops up fails to get detected by my script. By too fast I mean so fast that actually the object window is given focus again instantly so the object's properties loose focus (and that's not the reason for having been clicked in the first place, so it is not a fatal flaw:). Either double click on the object again (not so fast) or mouse click on the object's window properties if visible. It will be detected. Now this is what makes it a beta.


To Do
=====
Correct limitation above. Add "focus back to last used window". Add keyboard shortcuts for various actions.


Feedback needed
===============
The script relies on sleep times tested on my machine which is rather clean, cpu not under big load etc. Should work fine anyway but I need some feedback on that. And feedback on the workings of the CS from people that are into WinAPI programming would be great - if anyone would care explain to me what's going on with the WM messages being sent we could join forces. The CS is full of surprises :)


Contact
=======
My blog : http://udunslabs.blogspot.com/
Visit for some more info on the project and to post comments. Remember I need feedback !


Credits
=======
Thanks to Bethesda for creating Oblivion and the CS we love to patch
Thanks to TESNexus.com/PlanetElderScrolls for the a one-stop-shop resource for authors and players.
Thanks to LHammonds for the Readme Generator this file was based on.
Thanks to the great Autohotkey community that provided me with tons of useful functions/answers/remarks. Without them this would never see the light of day. Thumbs up guys :)


Licensing/Legal
===============
Donationware lol. Ah, yes I tested thoroughly and anyway it's a harmless script but still backup and blah blah
User avatar
Matt Fletcher
 
Posts: 3355
Joined: Mon Sep 24, 2007 3:48 am

Post » Wed Sep 01, 2010 9:38 pm

Download of the day, for this fellow :woot: Works like a charm in Vista and Windows 7 as well :D If I may be a little rude, is it possible for you to add an extra toggle option which lets the program walk through only with script windows ?

Thank you :thumbsup:
User avatar
Breautiful
 
Posts: 3539
Joined: Tue Jan 16, 2007 6:51 am

Post » Wed Sep 01, 2010 11:14 pm

Downloading. Oh yes, definitely.

I get really tired of digging thru windows, looking for the one I want...... and not finding it. (i like to make the render window rather large......)

Thank you.
User avatar
Marquis deVille
 
Posts: 3409
Joined: Thu Jul 26, 2007 8:24 am

Post » Wed Sep 01, 2010 11:53 pm

Just figured out that it can maximize windows as well :ahhh: Loving it !
User avatar
I’m my own
 
Posts: 3344
Joined: Tue Oct 10, 2006 2:55 am

Post » Wed Sep 01, 2010 4:50 pm

http://www.gamesas.com/bgsforums/index.php?showtopic=1043222
User avatar
Austin Suggs
 
Posts: 3358
Joined: Sun Oct 07, 2007 5:35 pm

Post » Wed Sep 01, 2010 8:17 pm

tiny bump
User avatar
Jay Baby
 
Posts: 3369
Joined: Sat Sep 15, 2007 12:43 pm


Return to IV - Oblivion