There are utilities and scripting languages that can send keystrokes to a window.
Only in a newsgroup like
alt.msdos.batch.ntwould this madness be the answer that everyone concentrates upon.There's a perfectly good window message,
WM_SYSCOMMANDwithSC_CLOSEas the parameter, that unambiguously means "close the window", without all of the mucking around trying to work out what keystrokes will invoke what on an application's menu to get it to think that the user has commanded a close. And there's no shortage of command-line tools for sending such a message (orWM_CLOSE), from NirCmd to theprocessutility from Beyond Logic. JP Software's TCC even has a built-in command for doing this:ACTIVATE, with theCLOSEoption.I guess it depends on what it means to gracefully exit the application.
M. Devin was looking for something that was "a better way" than
"forcibly kill[ing]" a "GUI application" using tools like pskill
or taskkill to terminate the process. As can be seen
from the plethora of tools that exist (The three mentioned are not the
only tools that can send these window messages. There are yet more of
them, including an unimaginitively named wm_close
utility, for example. I just stopped after three.), xe's far from
being the first person to want this sort of thing, and the rest of the
world isn't stuck with the DOS Think that poking keystrokes into Win32
applications is the only way that command-line tools can speak to them.
(I keep thinking of the Grateful Dead when I see this thread's Subject text.)
I had similar problems. (-:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>
usenet is an ASCII medium - HTML is *not* appreciated, and for many
people is unreadable.
--
T.E.D. (tda...@mst.edu)
>
> In answer to Mr "Ted Davis" -
>
> If you can't view or read this post because of which format it's in -
> don't worry about it! - feel free to ignore it, you were born free to do
> so, just as I was born free to post it whatever way I see fit!......
Ploink!
--
T.E.D. (tda...@mst.edu)
Yes, aint we all glad that you are free to behave as an
asocial nitwit!!! Freedom rules.
plonk
usenet is an ASCII medium
That's lack of understanding of Usenet on your part, kiddo. "Usenet is not an ASCII network." has been item #12 on Chip Salzenberg's Usenet FAQ for roughly a quarter of a century. Go and read it and learn. There's a big wide world out here; it isn't limited by such parochialism, and never has been.
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>
*and* setting Followup-To: news.newusers.questions
You must think I'm stupid. I think you are a troll.
Plonk!
--
T.E.D. (tda...@mst.edu)
I am "asocial" because I dare to defy some unwritten rule.
And some self-appointed enforcers decide that people who break said rule will be
insulted, mocked and otherwise treated as shamefully as possible, and to someone they
never even met...
I am glad I am "asocial" if to gain your praise I have to be a mindless follower of
nonsensical etiquette and stop thinking for myself altogether.
At least I don't call people I haven't met names or deride or insult them.
==
Cheers, Tim Meddick, Peckham, London. :-)
P.S. (for anyone else watching this idiotic banter I have lowered myself to
entertain, the "crime" I am being pilloried for is to create a post using html on
"their" newsgroup...)
"Sjouke Burry" <burrynu...@ppllaanneett.nnll> wrote in message
news:4b9977f5$0$14131$703f...@textnews.kpn.nl...
You have been directed to reasonable and sensible netiquette materials
several times and yet you have the audacity to clame it unwritten. But to go
the extra steps to defy it and claim it nonsensical is unconscionable. Had
this been a moderated group your account would have been
terminated long ago.
BTW, responding to a plonk is nonsensical because the plonker can no longer
see your responses.
PLONK!
>
>
>
> "Sjouke Burry" <burrynu...@ppllaanneett.nnll> wrote in message
> news:4b9977f5$0$14131$703f...@textnews.kpn.nl...
>> Tim Meddick wrote:
>>> In answer to Mr "Ted Davis" -
>> cut
>>>don't worry about it! - feel free to ignore it,
>>> you were born free to do so, just as I was born free
>>> to post it whatever way I see fit!......
>>
>> Yes, aint we all glad that you are free to behave as an
>> asocial nitwit!!! Freedom rules.
>>
>> plonk
>
--- news://freenews.netfront.net/ - complaints: ne...@netfront.net ---
I think what others might have been trying to get at is that if you post in
such a way that bothers people, well, what is the benefit to that?
/Al
"Tim Meddick" <timme...@gawab.com> wrote in message
news:OwSeCQiw...@TK2MSFTNGP05.phx.gbl...
LOL! Whatever THAT means! Do you any concept at all what HTML gives you
and when you're using it? Care to clarify?
HTH,
Twayne`
--
Newsgroups are great places to get assistance.
But always verify important information with
other sources to be certain you have a clear
understanding of it and that it is accurate.
They were less than courteous IMHO.
So I wrote ONE post, also in <html>, in support, and got all this for my trouble (at
least I got them off the original respondent's back).
It just gets me down, now and then, to see how acidulous people can be...
==
Cheers, Tim Meddick, Peckham, London. :-)
"Al Dunbar" <alan...@hotmail.com> wrote in message
news:EDE245C5-2D35-4C04...@microsoft.com...
"Tim Meddick" <timme...@gawab.com> wrote in message
news:eCRzYE8w...@TK2MSFTNGP05.phx.gbl...
> Well exactly! I certainly was not posting for the benefit of all those
> who decided to respond negatively, but it simply irked me the way in which
> [some] people jumped all over a respondent just because he used <html> to
> create his post!
For the reasons I gave, it is generally the case that html posts can expect
to receive negative feedback. Ted's response was terse and to the point, but
I did not find it particularly disrespectful.
> They were less than courteous IMHO.
They could have perhaps been *more* courteous. But then you could have too.
Perhaps you should have taken your own advice, as you were "free to ignore"
what they said that you didn't like, were you not?
> So I wrote ONE post, also in <html>, in support, and got all this for my
> trouble (at least I got them off the original respondent's back).
No you didn't. There has only been one reply to the original respondent. Had
nobody reacted to Ted's response, I suspect that nothing further would have
been said on the matter. Anyone agreeing with Ted (myself included) would
have just let his comment stand.
> It just gets me down, now and then, to see how acidulous people can be...
And fighting acidulousness with acidulousness is your way to correct this,
then? ;-)
/Al
I suspect you're already aware of all this, but for those who weren't, and
wish to adhere to proper netiquette, and since you seem to imply it's news
to you, I figured posting this couldn't hurt.
And one last note: Your cross-post contents are mostly irrelevant and would
only result in more of the HTML non-preferences if anyone should bother to
respond. I've set f'ups to the group I read your message on first. Such a
long list of crossposts is rather crude & rude, actually.
HTH,
Twayne`
In news:eCRzYE8w...@TK2MSFTNGP05.phx.gbl,
Tim Meddick <timme...@gawab.com> typed:
--
Well, there you go, just like I said, you're free to feel (and say) what you like...
God bless!
==
Cheers, Tim Meddick, Peckham, London. :-)
"Al Dunbar" <alan...@hotmail.com> wrote in message
news:D3C77BC2-BE06-43DB...@microsoft.com...
>
> < clipped >
> ....And fighting acidulousness with acidulousness is your way to correct this,
> then? ;-).....
>
> < clipped >
>
>
"Tim Meddick" <timme...@gawab.com> wrote in message
news:#6K5wDIx...@TK2MSFTNGP05.phx.gbl...
> So you class my language as [also] acidulous do you?
I felt that it tended to be more acidulous than conciliatory, which might
have been another approach one could have taken...
> Well, there you go, just like I said, you're free to feel (and say) what
> you like...
As we all are. And as we all do.
But, speaking of your claiming to have "got[ten] the complainers off the
original respondent's back", you apparently were not quick enough to get in
between Mr. de Boyne Pollard and Stefan Kanthak, who objected even more
strenuously to his use of HTML in a thread called "erase *.tmp also lists
*.tmpl files - how to avoid".
Fortunately for the rest of us, neither you, Ted, nor Sjouke seem able to
match Mr. Kanthak's acidulousness (or acidulocity).
/Al