Ian Moote wrote in a message to Jack Stein:
JS> If you have my GETSET.cmd, this is not too hard.
IM> My turn! [:) I don't normally pay a lot of attention to .Cmd
IM> utilities, but this sounds very useful and interesting. Can
IM> I get a copy from you? Your choice: post publicly, NetMail
IM> works, or E-Mail to
IM> diogenes@nas.net.
I'll be happy to send it to you. Too long to post here. It is not totally
polished as far as the user interface goes, but, it is a very handy little
tool if you play around with objects at all. I do, or used to, so I wrote the
script to help myself out, and got kind of carried away. You can't hurt
anything with it, at least I never did, other than delete an object, but it
gives you lots of warning before that, other than that it's pretty neat, once
you get used to it. I have some simple, short docs to help you get it going.
It will create a REXX script that will re-create any object you have. I use
that a lot. You can edit the script and change things around, create other
objects with similar settings, stuff like that. Also I use it to find the
objectid of icons so I can start applications from a script, particualary nice
for DOS apps where you want to start apps from a script with all the DOS
settings. It has a Search or Find function where you can have it search for
partial strings of object names, and it will list all the matches, let you
pick one to view the settings, create a script to recreate it, start it,
delete it and so on. The settings it shows btw are all the settings that
differ from the default settings.
What prompted my post was a guy wanted a window to start maximized. I know
you can fool around with mouse clicks and easily do that, but for me, I can
never remember exactly how to do that crap, and find it easier to just edit a
script that will overwrite the OBJECT, and change the setting directly. It's
certainly not really easier, but it sure is more fun for me, and it works the
first time, every time.
Jack
--- timEd/2-B11
278/111
* Origin: Jack's Free Lunch 4OS2 USR 56k Pgh Pa (412)492-0822 (1:129/171)
|