Sean Dennis wrote in a message to Jack Stein:
SD> Hello Jack.
SD> Saturday October 30 1999 17:08, you wrote to me:
SD>> For some weird reason, when I open my VIO windows, they all come
SD>> up minimized... I have to maximize them to be able to see
SD>> them completely. I've checked the properties of the 'main' window
SD>> object in the Command Prompts folder in OS/2 System and all looks
SD>> well. Any suggestions?
ET>> The only thing I can think of now is that you somehow made
ET>> the minimized state the default for all windowed sessions,
ET>> if that's the case then I think this should cure it: open
ET>> one windowed session, make sure it is not minimized, then
ET>> doubleclick on the titlebar. The doubleclick on the titlebar
ET>> saves the 'state' (='minimized' or 'normal' or 'maximized')
ET>> and the position of the upper left corner, which becomes the
ET>> new default for all windowed textmode sessions.
JS> I think you may need to hold down the ALT key when doing this. I
JS> prefer to set the MAXIMIZED=YES setting in the object itself. If you
JS> have my GETSET.cmd, this is not too hard. Just look up the ObjectID,
JS> have GetSet save it to a CMD file to recreate the object, and add the
JS> MAXIMIZED=YES to the settings, then run the command file. Works every
JS> time... I like to do things the hard way for some reason.:-)
SD> Could you netmail me that CMD file? I tried to do that
SD> click with the ALT key and it's not responding to it. I'm
SD> not completely sure HOW I did this of all things. :)
I'll send it to you, but be warned that all objects do not have an objectid.
If you copy an object or use a template, or something like that, an objectid
is not registered. The objectid also does not have anything to do with the
title or name of the object either, so you might have to search around a
little to find it, but usually, the objectid is similar to the name, or has
parts of the name in it. For example, if I wanted to find my INJOY object, I
could search for "injoy" and get this:
Search Target: injoy (4 Matches Found)
1 -
2 -
3 -
4 -
The first 3 are folder objectid's (obviously) but the 4th is the icon I
created with OS2Commander, and is an ICON that opens a program object on my
desktop that is named oINTERNET. If I select 4 from this list, and then
select L from the menu, it will list all the settings for that object,
including the location, prog name, title and so on. If I selected W)rite from
the menu, it would write out a REXX script that would create that exact same
object, overwriting the original. You would need to edit that script, and add
the MAXIMIZED=YES line to the settings, then run the script, and it would
overwrite the object with the new setting, and from then on, it would always
open maximized.
If anyone else would like to play with the script, send an email to me at
jbstein@bellatlantic.net. That way I won't have to look up your address.
The script though is mostly for hard core users, not gamers. You need to know
a little bit about OS/2, REXX, editing, and want to learn about objects, not
an easy subject with OS/2. It's "almost" like secret stuff no one tells you
about. The interface could be a tad better also, but, it works fine once you
use it a few times.
SD> --- tty1@afterhours/2 (GoldED/2)
I assume that is where you want it sent?
Jack
--- timEd/2-B11
278/111
* Origin: Jack's Free Lunch 4OS2 USR 56k Pgh Pa (412)492-0822 (1:129/171)
|