Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Maximize (almost) All Windows vbscript

Featured Replies

-Copy-Paste this into notepad and save it as "MaximizeAll.vbs"

-Create a shortcut or copy the file to the quick launch folder (if you use quick launch).

As you will see it will ask how many windows to maximize... not realy fully automatic but I don't know how to count the number of open windows in vbs and I don't know if it's possible (without 3d party dll).

If you insert a value too high or too low, it won't cause any error. So let's say you have 9 windows open and don't want to bother counting them, dash "10" in the input box and click "ok".

Note:

Reduce or increase this value:

wscript.sleep 200

to fit better with the speed of your computer.

On my machine these values work perfectly until I got some crazy errors from the applications I want to maximize but I must say that my system is barely stable at the moment and is not a reference.

set WshShell=wscript.createobject("wscript.shell")
Title = "Maximize (almost) all"
n = InputBox("How many windows do you want to maximize?", Title, 2, 5120, 3840)
For i=1 To n
Tabs = Tabs & "{TAB}"
WshShell.SendKeys "%(" & Tabs & ")"
wscript.sleep 100
WshShell.SendKeys "% x"
wscript.sleep 200
Next
msgbox "ok"

HF


Thanks Fred it works great

I really appreciate your hard work and dedication thanks

One thing

If i open Freecell and use the VB script it Maximize it but

after i close it

it returns to it default settings is there a way to keep it Maximize.

Edited by PROBLEMCHYLD

  • Author

I don't know.

Can you spot an ini file or a reg key where the windows statu of freecell is stored?

If not, it's hardcoded in freecell.

What I can do is to write a VBS to launch freecell maximized. Then you create a shortcut to this VBS instead of the freecell exe.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.