1.

Solve : maximize/minimize window using VB?

Answer» HI guys,

How to maximize window for program that is running and minimize it using VBscript?

Actually I want to automate ALT+TAB function to switch display between few program that are running at taskbar.

Could somebody HELP me...

One of the shortcomings of VBScript is that it can't access the Windows API. There are 3rd party controls available (Google for them...specifically you're looking to use the User32.dll features in your code).

The AppActivate method can tell you if a specific application is running but I suspect you need more than that.

8-)If you can call to an exe to execute, you could create an ALT+TAB macro with Jit BIT Macro recorder/compiler.... I use this software for all my macro needs, just not sure if you can call your EXE Macro from within VB. I know in C++ you can call the SYSTEM command and place your command or file you want to execute following it and have it execute.

You can try Jit Bit at http://www.jitbit.com/macrorecorder.aspx

I use this tool to create macros that are referenced by C++ and Batch Files ... Hope this helps, the software is cheap if it works for you.

$35 and it has PAID for itself over and over again for redundant automated macro routines... 8-)Thank 4 your feedback guys.

Is there any other way instead of using VBscript PROBABLY C etc...Actually any high level language will do. Check out EnumWindows for an example in VB.

Good luck. 8-)


Discussion

No Comment Found