Jump to content

Windows-tab script in Notepad?


xbrianx

Recommended Posts

Is it possible to set up a script in Notepad that when opened, it runs the windows-tab feature of Vista with Aero? I'm looking to set-up my Dell touchpad to where when I press both buttons, the 3D window switcher comes up, instead of pressing the Windows and tab keys.

 

Thanks.

Link to comment
Share on other sites

Really? how strnage.

 

In that case it would be just

 

		 set WshShell = WScript.CreateObject("WScript.Shell")
	 WshShell.SendKeys "%({TAB})" 
	 WScript.Sleep 100
etc

 

save as AltTab.vbscript

 

Im un aware of a way to keep focus of the switch though, dont think it works like that

 

You could also use

 

WshShell.AppActivate

 

if you know the app you want to get focus of

No fate but what we make

Link to comment
Share on other sites

Well, to clarify things up a bit, I have a laptop and within the mouse settings, there is an option to set-up what happens when you press both buttons. There's options like: do nothing, left click, double click, search, and run. The run option allows you to open up a file when you press both buttons. I was looking for a way to write a script in Notepad(to save as BAT or something else) that does the same action as pressing the Windows and Tab keys(with Aero)- 3D window switch. I'm just looking for a way to press both buttons of my mouse to switch weapons, instead of pressing keys.

Link to comment
Share on other sites

...If you were in a game and have the Left Mouse Button + Right Mouse Button set to the script above, it would swap you out of the game not swap weapons.

 

So why are you wanting to window switch while in game, and what has that to do with switching weapons?

fireryone

Link to comment
Share on other sites

So why are you wanting to window switch while in game, and what has that to do with switching weapons?

 

 

I don't think they understand that calling a script out side the game would take focus from the actual game it self.

 

Tbh if the game dont show the option of both mouse key press i dont no of a way it would be possible to force it.

 

It could be possible but your best bet would likely go to the game you are playing forum and ask them.

No fate but what we make

Link to comment
Share on other sites

...If you were in a game and have the Left Mouse Button + Right Mouse Button set to the script above, it would swap you out of the game not swap weapons.

 

So why are you wanting to window switch while in game, and what has that to do with switching weapons?

 

So much for clarification. I meant "windows", not "weapons." :blink:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.