script help

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

paul2432

Thread Starter
Joined
Sep 27, 2004
Messages
44
Background:

I use the windows power toy Tweak UI (see the MS website for description). I use the tweak called "activation follows mouse (X-mouse)". What this does is that whenever you move the mouse pointer over a window it makes that window the active window. I play some games where I frequently switch between windows so that comes in handy.

However, during other activities, it can be a pain in the butt, because it is pretty easy to inadvertantly switch windows, especially if one window is small (say calculator) and the other is full screen. Of course, I can alway go under start to bring up the Tweak UI window and change back to the normal settings. As you might imagine even this simple task can be annoying because I'll bring up the Tweak UI window, but then as I move the mouse to the Tweak UI window focus is switched to another window that is full screen. I need to either minimize all windows or alt-tab to the Tweak UI window with the mouse in the proper position.

Question:

I would like to write a script that toggles between the two settings. Ideally, I would then assign a function key to the script so I could easily toggle between settings. If the function key was not possible, then I would put a shortcut to the script on the quick launch bar.

Can anyone here tell me if this is even possible, and if so give me a few pointers on how I might do this?

Thanks,
Paul
 
Joined
Jan 18, 2005
Messages
220
I had a similar problem with assigning a script or command to a function key. What you can do is create a shortcut on the desktop and make the target the script or command you want to use. Then you can assign a keyboard shortcut to the function key you want.

As far as the script to this, I know that Tweak UI is mostly registry settings. You might be able to find out what turns off the functionality you are using and then make a regedit command the shortcut key. There is a switch I think the -s or /s for regedit that makes the command run silent and you shouldn't see it.

Hope this helps,
Slart
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top