🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.misc
Article #17349

Re: OS/2 Wishlist (Another to add)

#17349
From: Joseph Skinner
Date: Tue, 01 Feb 1994 03:29
56 lines
3279 bytes
In article <1994Jan27.122417.8913@ericsson.se> Fredric.Lonngren@eos.ericsson.se (Fredric Lonngren) writes:
>In article <2i7jv0$aoj@panix2.panix.com>, wookie@panix.com (Steve Houle) writes:
>> Richard May <rpm@sys.uea.ac.uk> wrote about opening a settings notebook
>>         that affects common functions only of multiple selected objects:
>>
>> >I saw a very nice util on the Archimedies that could be configured with a
>> >particular set of file attributes, and then any files who's icons were dragged
>> >onto it, would have their attributes set to those off the utils. config..
>>
>> The WPS will do drag and drop.  I don't know of any utility that does
>> that, but there is no reason it couldn't be writen.  Hmmmmm.  Actually, I
>> like that idea a lot.
>>
>
>OK, time for some WPS/cmd trix:
>Drag a new program object from the program object template.
>In notebook:
>
>Program: *
>Parameters: /C ( attrib -r -h -a -s %* )
>
>Change '-' in command to '+' if you want to leave some attrib on,
> ie ( attrib -r -h +a -s %* )  or leave it out if it should remain
> ie ( attrib -r -h -s %* ).
>
>Check  OS/2 windowed session
>Check  Run minimized
>Check  Close on exit
>Check  Start another
>
>Give it a nice icon . Name your new program object ie 'Set attributes'.
>Done!
>Place the new 'Attribute object' where you want it.
>Drag the file(s) you want to change to the 'Set attributes' icon.
>
>Hope this was what you where looking for.

Sure this works but has problems.

For example if you have just copied 100 files from a CDRom and wish to
clear the readonly flag you can set up your porgram object and then drag
all these items to it and then watch as your system dies for about 5
minutes or so due to having to open a shell for each command and tehn
close it.

What is really needed is to have program objects which support multiple
objects as parameters. In this case you could simply have a script which
could read parameter from a queue for instance and execute the command
which would be faster more useful and wouldn't bring your system to a
grinding halt.

This would also allow for the building of useful little scripts which
accept a parameter [ie an unzip script which asked for a directory to
use].

Joe.
Technical Details
Message-ID: <760026590joe.joe@jsnode.equinox.gen.nz>
Path: arc1-ca.pugleaf.net!gmd.de!dearn!blekul11!news.cs.kuleuven.ac.be!ub4b!EU.net!howland.reston.ans.net! wupost!waikato!canterbury.ac.nz!equinox.gen.nz!equinox!jsnode.equinox.gen.nz!joe
References: <ARI.HUTTUNEN.94Jan2232750@gamma.hut.fi> <rpm.5.000B49CD@sys.uea.ac.uk> <2i7jv0$aoj@panix2.panix.com> <1994Jan27.122417.8913@ericsson.se>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1044c2,54b5a7eb8f6e0e7a
X-Google-Attributes: gid1044c2,public
X-Google-Thread: 10ca75,54b5a7eb8f6e0e7a
X-Google-Attributes: gid10ca75,public
X-Google-Thread: 10cd94,54b5a7eb8f6e0e7a
X-Google-Attributes: gid10cd94,public
X-Google-ArrivalTime: 1994-01-31 19:29:50 PST
Path: arc1-ca.pugleaf.net!gmd.de!dearn!blekul11!news.cs.kuleuven.ac.be!ub4b!EU.net!howland.reston.ans.net! wupost!waikato!canterbury.ac.nz!equinox.gen.nz!equinox!jsnode.equinox.gen.nz!joe
From: joe@jsnode.equinox.gen.nz (Joseph Skinner)
Newsgroups: comp.os.os2.misc,comp.os.os2.beta,bit.listserv.os2-l
Subject: Re: OS/2 Wishlist (Another to add)
Distribution: world
Message-ID: <760026590joe.joe@jsnode.equinox.gen.nz>
Sender: joe@jsnode.equinox.gen.nz
Date: Tue, 01 Feb 94 03:29:50 GMT
References: <ARI.HUTTUNEN.94Jan2232750@gamma.hut.fi> <rpm.5.000B49CD@sys.uea.ac.uk> <2i7jv0$aoj@panix2.panix.com> <1994Jan27.122417.8913@ericsson.se>
X-Newsreader: TRN for OS/2
Lines: 58